sg_write: data in/out 917468/251 bytes for SCSI command 0x0-- guessing data in; program syz-executor.2 not setting count and/or reply_len properly ------------[ cut here ]------------ WARNING: CPU: 0 PID: 16620 at lib/iov_iter.c:629 _copy_from_iter+0x2b2/0x1140 Modules linked in: CPU: 0 PID: 16620 Comm: syz-executor.2 Not tainted 6.2.0-rc6-next-20230203 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:_copy_from_iter+0x2b2/0x1140 Code: 5d 41 5e 41 5f e9 92 f4 32 02 e8 89 38 36 ff be 79 02 00 00 48 c7 c7 40 c5 9e 84 e8 68 f0 59 ff e9 51 fe ff ff e8 6e 38 36 ff <0f> 0b 45 31 f6 eb 87 e8 62 38 36 ff 31 ff 89 ee e8 c9 33 36 ff 40 RSP: 0018:ffff888038a0f608 EFLAGS: 00010216 RAX: 0000000000007cab RBX: 0000000000000000 RCX: ffffc90008c09000 RDX: 0000000000040000 RSI: ffffffff82152652 RDI: 0000000000000001 RBP: 0000000000001000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888038a0f838 R14: 0000000000001000 R15: ffff888038a0f838 FS: 00007f276dc5e700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33730000 CR3: 0000000046276000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: copy_page_from_iter+0x251/0x430 blk_rq_map_user_iov+0xb41/0x16c0 blk_rq_map_user_io+0x1d1/0x200 sg_common_write.constprop.0+0xd8d/0x15f0 sg_write.part.0+0x698/0xac0 sg_write+0x8d/0xe0 vfs_write+0x2cf/0xdc0 ksys_write+0x12b/0x260 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f27706e8b19 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:00007f276dc5e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f27707fbf60 RCX: 00007f27706e8b19 RDX: 0000000000000125 RSI: 00000000200003c0 RDI: 0000000000000005 RBP: 00007f2770742f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdd8e5392f R14: 00007f276dc5e300 R15: 0000000000022000 irq event stamp: 6573 hardirqs last enabled at (6615): [] asm_sysvec_apic_timer_interrupt+0x1a/0x20 hardirqs last disabled at (6666): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (1426): [] __irq_exit_rcu+0xcc/0x110 softirqs last disabled at (1257): [] __irq_exit_rcu+0xcc/0x110 ---[ end trace 0000000000000000 ]--- sg_write: data in/out 917468/251 bytes for SCSI command 0x0-- guessing data in; program syz-executor.2 not setting count and/or reply_len properly SELinux: unrecognized netlink message: protocol=0 nlmsg_type=61 sclass=netlink_route_socket pid=16633 comm=syz-executor.2 device lo left promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=61 sclass=netlink_route_socket pid=16663 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=61 sclass=netlink_route_socket pid=16670 comm=syz-executor.5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=61 sclass=netlink_route_socket pid=16674 comm=syz-executor.3 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=61 sclass=netlink_route_socket pid=16679 comm=syz-executor.5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=61 sclass=netlink_route_socket pid=16687 comm=syz-executor.2 syz-executor.1 (16649) used greatest stack depth: 22552 bytes left platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 sg_write: data in/out 917468/251 bytes for SCSI command 0x0-- guessing data in; program syz-executor.2 not setting count and/or reply_len properly SELinux: unrecognized netlink message: protocol=0 nlmsg_type=61 sclass=netlink_route_socket pid=16708 comm=syz-executor.3 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=61 sclass=netlink_route_socket pid=16713 comm=syz-executor.2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=61 sclass=netlink_route_socket pid=16701 comm=syz-executor.5 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=61 sclass=netlink_route_socket pid=16718 comm=syz-executor.7 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 sr 1:0:0:0: [sr0] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=0s sr 1:0:0:0: [sr0] tag#0 CDB: Receive copy operating parameters 84 e3 9c 43 dc 06 53 c4 7b 3b a3 f8 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 netlink: 1032 bytes leftover after parsing attributes in process `syz-executor.1'. device lo entered promiscuous mode netlink: 1032 bytes leftover after parsing attributes in process `syz-executor.1'. sysfs: cannot create duplicate filename '/class/ieee80211/ßÓn°pø ÏbØ+ÙÁx¿Dø3œ²’#NU¸É5÷QÛˆ§£_ëPwËûªEþçý!' CPU: 0 PID: 16782 Comm: syz-executor.1 Tainted: G W 6.2.0-rc6-next-20230203 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xc1/0xf0 sysfs_warn_dup+0x80/0xa0 sysfs_do_create_link_sd+0x122/0x140 sysfs_create_link+0x63/0xc0 device_add+0x56a/0x1e50 wiphy_register+0x1f23/0x2a40 ieee80211_register_hw+0x2332/0x3d20 mac80211_hwsim_new_radio+0x2507/0x48c0 hwsim_new_radio_nl+0x9ad/0x1070 genl_family_rcv_msg_doit.isra.0+0x1ee/0x2e0 genl_rcv_msg+0x503/0x7e0 netlink_rcv_skb+0x15d/0x450 genl_rcv+0x28/0x40 netlink_unicast+0x552/0x800 netlink_sendmsg+0x923/0xe30 sock_sendmsg+0x1b6/0x200 ____sys_sendmsg+0x74e/0x980 ___sys_sendmsg+0x110/0x1b0 __sys_sendmsg+0xf7/0x1d0 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f626a2c8b19 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:00007f626781d188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f626a3dc020 RCX: 00007f626a2c8b19 RDX: 0000000000000000 RSI: 0000000020007ec0 RDI: 0000000000000003 RBP: 00007f626a322f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffffaa56cbf R14: 00007f626781d300 R15: 0000000000022000 netlink: 1032 bytes leftover after parsing attributes in process `syz-executor.1'. sysfs: cannot create duplicate filename '/class/ieee80211/ßÓn°pø ÏbØ+ÙÁx¿Dø3œ²’#NU¸É5÷QÛˆ§£_ëPwËûªEþçý!' CPU: 1 PID: 16797 Comm: syz-executor.1 Tainted: G W 6.2.0-rc6-next-20230203 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xc1/0xf0 sysfs_warn_dup+0x80/0xa0 sysfs_do_create_link_sd+0x122/0x140 sysfs_create_link+0x63/0xc0 device_add+0x56a/0x1e50 wiphy_register+0x1f23/0x2a40 ieee80211_register_hw+0x2332/0x3d20 mac80211_hwsim_new_radio+0x2507/0x48c0 hwsim_new_radio_nl+0x9ad/0x1070 genl_family_rcv_msg_doit.isra.0+0x1ee/0x2e0 genl_rcv_msg+0x503/0x7e0 netlink_rcv_skb+0x15d/0x450 genl_rcv+0x28/0x40 netlink_unicast+0x552/0x800 netlink_sendmsg+0x923/0xe30 sock_sendmsg+0x1b6/0x200 ____sys_sendmsg+0x74e/0x980 ___sys_sendmsg+0x110/0x1b0 __sys_sendmsg+0xf7/0x1d0 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f626a2c8b19 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:00007f626783e188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f626a3dbf60 RCX: 00007f626a2c8b19 RDX: 0000000000000000 RSI: 0000000020007ec0 RDI: 0000000000000003 RBP: 00007f626a322f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffffaa56cbf R14: 00007f626783e300 R15: 0000000000022000 selinux_netlink_send: 4 callbacks suppressed SELinux: unrecognized netlink message: protocol=0 nlmsg_type=61 sclass=netlink_route_socket pid=16802 comm=syz-executor.7 netlink: 1032 bytes leftover after parsing attributes in process `syz-executor.1'. sysfs: cannot create duplicate filename '/class/ieee80211/ßÓn°pø ÏbØ+ÙÁx¿Dø3œ²’#NU¸É5÷QÛˆ§£_ëPwËûªEþçý!' CPU: 1 PID: 16825 Comm: syz-executor.1 Tainted: G W 6.2.0-rc6-next-20230203 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xc1/0xf0 sysfs_warn_dup+0x80/0xa0 sysfs_do_create_link_sd+0x122/0x140 sysfs_create_link+0x63/0xc0 device_add+0x56a/0x1e50 wiphy_register+0x1f23/0x2a40 ieee80211_register_hw+0x2332/0x3d20 mac80211_hwsim_new_radio+0x2507/0x48c0 hwsim_new_radio_nl+0x9ad/0x1070 genl_family_rcv_msg_doit.isra.0+0x1ee/0x2e0 genl_rcv_msg+0x503/0x7e0 netlink_rcv_skb+0x15d/0x450 genl_rcv+0x28/0x40 netlink_unicast+0x552/0x800 netlink_sendmsg+0x923/0xe30 sock_sendmsg+0x1b6/0x200 ____sys_sendmsg+0x74e/0x980 ___sys_sendmsg+0x110/0x1b0 __sys_sendmsg+0xf7/0x1d0 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f626a2c8b19 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:00007f626783e188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f626a3dbf60 RCX: 00007f626a2c8b19 RDX: 0000000000000000 RSI: 0000000020007ec0 RDI: 0000000000000003 RBP: 00007f626a322f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffffaa56cbf R14: 00007f626783e300 R15: 0000000000022000 netlink: 1032 bytes leftover after parsing attributes in process `syz-executor.1'. sysfs: cannot create duplicate filename '/class/ieee80211/ßÓn°pø ÏbØ+ÙÁx¿Dø3œ²’#NU¸É5÷QÛˆ§£_ëPwËûªEþçý!' CPU: 0 PID: 16846 Comm: syz-executor.1 Tainted: G W 6.2.0-rc6-next-20230203 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xc1/0xf0 sysfs_warn_dup+0x80/0xa0 sysfs_do_create_link_sd+0x122/0x140 sysfs_create_link+0x63/0xc0 device_add+0x56a/0x1e50 wiphy_register+0x1f23/0x2a40 ieee80211_register_hw+0x2332/0x3d20 mac80211_hwsim_new_radio+0x2507/0x48c0 hwsim_new_radio_nl+0x9ad/0x1070 genl_family_rcv_msg_doit.isra.0+0x1ee/0x2e0 genl_rcv_msg+0x503/0x7e0 netlink_rcv_skb+0x15d/0x450 genl_rcv+0x28/0x40 netlink_unicast+0x552/0x800 netlink_sendmsg+0x923/0xe30 sock_sendmsg+0x1b6/0x200 ____sys_sendmsg+0x74e/0x980 ___sys_sendmsg+0x110/0x1b0 __sys_sendmsg+0xf7/0x1d0 do_syscall_64+0x3f/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc RIP: 0033:0x7f626a2c8b19 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:00007f626783e188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f626a3dbf60 RCX: 00007f626a2c8b19 RDX: 0000000000000000 RSI: 0000000020007ec0 RDI: 0000000000000003 RBP: 00007f626a322f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffffaa56cbf R14: 00007f626783e300 R15: 0000000000022000 device lo left promiscuous mode device lo entered promiscuous mode audit: type=1326 audit(1675423659.003:24): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=16957 comm="syz-executor.0" exe="/syz-executor.0" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f2f17666b19 code=0x0