WARNING: CPU: 31 PID: 15473 at lib/iov_iter.c:1109 iov_iter_pipe+0xe0/0xe8

From: Qian Cai
Date: Tue Nov 13 2018 - 11:38:15 EST


Running the trinity fuzzer with a non-root user on an aarch64 server with the
latest mainline (rc2) generated this,

[ÂÂ378.743211] WARNING: CPU: 31 PID: 15473 at lib/iov_iter.c:1109
iov_iter_pipe+0xe0/0xe8
[ÂÂ378.751590] Modules linked in: bridge 8021q garp mrp stp llc dlci tcp_diag
inet_diag af_key pptp gre l2tp_ppp l2tp_netlink l2tp_core ip6_udp_tunnel
udp_tunnel pppoe pppox ppp_generic slhc crypto_user ib_core nfnetlink
scsi_transport_iscsi atm sctp vfat fat ghash_ce sha2_ce sha256_arm64 sha1_ce ses
enclosure ipmi_ssif sg ipmi_si ipmi_devintf sbsa_gwdt ipmi_msghandler
sch_fq_codel xfs libcrc32c marvell mpt3sas mlx5_core raid_class hibmc_drm
drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm ixgbe
hisi_sas_v2_hw igb hisi_sas_main libsas hns_dsaf mlxfw devlink hns_enet_drv mdio
i2c_designware_platform i2c_algo_bit i2c_designware_core ehci_platform
scsi_transport_sas hns_mdio hnae dm_mirror dm_region_hash dm_log dm_mod
[ÂÂ378.816574] CPU: 31 PID: 15473 Comm: trinity-c168 Kdump: loaded Tainted:
GÂÂÂÂÂÂÂÂWÂÂÂÂÂÂÂÂÂ4.20.0-rc2+ #16
[ÂÂ378.826317] Hardware name: Huawei TaiShan 2280 /BC11SPCD, BIOS 1.50
06/01/2018
[ÂÂ378.833542] pstate: 60000005 (nZCv daif -PAN -UAO)
[ÂÂ378.838344] pc : iov_iter_pipe+0xe0/0xe8
[ÂÂ378.842268] lr : iov_iter_pipe+0x40/0xe8
[ÂÂ378.846191] sp : ffff801e101a78e0
[ÂÂ378.849506] x29: ffff801e101a78e0 x28: ffff801e101a7c48Â
[ÂÂ378.854823] x27: 0000000000000004 x26: ffff801668e511c0Â
[ÂÂ378.860139] x25: 0000000000000003 x24: ffff801e0f989148Â
[ÂÂ378.865456] x23: ffff801e0f989150 x22: 0000000000000010Â
[ÂÂ378.870778] x21: 000000005ffffffd x20: ffff801e0f989080Â
[ÂÂ378.876098] x19: ffff801e101a79b0 x18: 0000000000000000Â
[ÂÂ378.881415] x17: 0000000000000001 x16: 0000000000000000Â
[ÂÂ378.886732] x15: 0000000000000000 x14: 0000000000000000Â
[ÂÂ378.892047] x13: 0000000000000000 x12: ffff1003c2034f38Â
[ÂÂ378.897363] x11: 1ffff003c2034f37 x10: ffff1003c2034f37Â
[ÂÂ378.902678] x9 : 0000000000000000 x8 : 00000000f1f1f1f1Â
[ÂÂ378.907994] x7 : dfff200000000000 x6 : 00000000f2f2f2f2Â
[ÂÂ378.913309] x5 : 00000000f2f2f200 x4 : dfff200000000000Â
[ÂÂ378.918625] x3 : 000000005ffffffd x2 : 0000000000000003Â
[ÂÂ378.923942] x1 : ffff801e0f989150 x0 : 0000000000000010Â
[ÂÂ378.929259] Call trace:
[ÂÂ378.931712]ÂÂiov_iter_pipe+0xe0/0xe8
[ÂÂ378.935294]ÂÂgeneric_file_splice_read+0xb0/0x308
[ÂÂ378.939914]ÂÂdo_splice_to+0xa4/0xd8
[ÂÂ378.943406]ÂÂsplice_direct_to_actor+0x164/0x3b8
[ÂÂ378.947942]ÂÂdo_splice_direct+0x148/0x1c8
[ÂÂ378.951959]ÂÂdo_sendfile+0x2e4/0x568
[ÂÂ378.955539]ÂÂ__arm64_sys_sendfile64+0x14c/0x268
[ÂÂ378.960076]ÂÂel0_svc_handler+0xd4/0x198
[ÂÂ378.963914]ÂÂel0_svc+0x8/0xc
[ÂÂ378.966796] irq event stamp: 56628
[ÂÂ378.970202] hardirqs lastÂÂenabled at (56627): [<ffff2000084cf7c4>]
quarantine_put+0xbc/0x170
[ÂÂ378.978729] hardirqs last disabled at (56628): [<ffff200008081490>]
do_debug_exception+0xd8/0x190
[ÂÂ378.987605] softirqs lastÂÂenabled at (56380): [<ffff200008082210>]
__do_softirq+0x7c8/0x9c8
[ÂÂ378.996048] softirqs last disabled at (56373): [<ffff20000812dbe4>]
irq_exit+0x25c/0x2f0
[ÂÂ379.004139] ---[ end trace 598902d30712b79d ]---