mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium sg_write: data in/out 2424792/251 bytes for SCSI command 0x1c-- guessing data in; program syz-executor.6 not setting count and/or reply_len properly ------------[ cut here ]------------ WARNING: CPU: 1 PID: 19403 at lib/iov_iter.c:385 _copy_from_iter+0x2f1/0x1320 Modules linked in: CPU: 1 PID: 19403 Comm: syz-executor.6 Not tainted 6.5.0-rc5-next-20230808 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:_copy_from_iter+0x2f1/0x1320 Code: b2 ff ff 89 c3 e9 1f ff ff ff e8 7a 0d 34 ff be 85 01 00 00 48 c7 c7 20 61 9f 84 e8 99 a4 58 ff e9 13 fe ff ff e8 5f 0d 34 ff <0f> 0b 45 31 f6 e9 67 ff ff ff e8 50 0d 34 ff 31 ff 89 ee e8 87 08 RSP: 0018:ffff88803da1f608 EFLAGS: 00010216 RAX: 000000000000a049 RBX: 0000000000000000 RCX: ffffc9000e258000 RDX: 0000000000040000 RSI: ffffffff82199da1 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff81832335 R12: 0000000000001000 R13: ffffea0000fc6200 R14: 0000000000001000 R15: ffff88803da1f838 FS: 00007f17fdc41700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0ac69c83a4 CR3: 00000000405d0000 CR4: 0000000000350ee0 Call Trace: copy_page_from_iter+0xe3/0x180 blk_rq_map_user_iov+0xb39/0x16c0 blk_rq_map_user_io+0x1d1/0x200 mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium sg_common_write.constprop.0+0xd8d/0x15f0 sg_write.part.0+0x69e/0xac0 sg_write+0x8d/0xe0 vfs_write+0x2b9/0xda0 ksys_write+0x122/0x250 mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7f18006cbb19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f17fdc41188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f18007def60 RCX: 00007f18006cbb19 RDX: 0000000000000125 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f1800725f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd79f3a44f R14: 00007f17fdc41300 R15: 0000000000022000 irq event stamp: 1505 hardirqs last enabled at (1515): [] console_unlock+0x2a8/0x2e0 hardirqs last disabled at (1526): [] console_unlock+0x28d/0x2e0 softirqs last enabled at (1476): [] irq_exit_rcu+0x93/0xc0 softirqs last disabled at (1435): [] irq_exit_rcu+0x93/0xc0 ---[ end trace 0000000000000000 ]--- mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 19408 Comm: syz-executor.2 Tainted: G W 6.5.0-rc5-next-20230808 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xc1/0xf0 should_fail_ex+0x4b4/0x5b0 should_failslab+0x9/0x20 kmem_cache_alloc+0x61/0x390 dst_alloc+0xa1/0x620 rt_dst_alloc+0x55/0x3d0 ip_route_output_key_hash_rcu+0x867/0x29c0 ip_route_output_key_hash+0x18f/0x350 ip_route_output_flow+0x27/0x150 ip_tunnel_xmit+0x772/0x3180 sit_tunnel_xmit+0xd2a/0x2920 dev_hard_start_xmit+0x173/0x6b0 __dev_queue_xmit+0x2117/0x38b0 neigh_connected_output+0x382/0x4d0 ip_finish_output2+0x6d7/0x20f0 __ip_finish_output.part.0+0x566/0xd20 ip_output+0x2e5/0x8e0 ip_push_pending_frames+0x30b/0x5c0 raw_sendmsg+0x1b9d/0x2d90 inet_sendmsg+0x121/0x150 sock_sendmsg+0x19b/0x200 ____sys_sendmsg+0x76a/0x9a0 ___sys_sendmsg+0x110/0x1b0 __sys_sendmsg+0xf7/0x1d0 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 RIP: 0033:0x7f13e4112b19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f13e1688188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f13e4225f60 RCX: 00007f13e4112b19 RDX: 0000000000000000 RSI: 0000000020000780 RDI: 0000000000000004 RBP: 00007f13e16881d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffcbe51828f R14: 00007f13e1688300 R15: 0000000000022000 sg_write: data in/out 2424792/251 bytes for SCSI command 0x1c-- guessing data in; program syz-executor.6 not setting count and/or reply_len properly mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium