loop6: detected capacity change from 0 to 40
INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
FAULT_INJECTION: forcing a failure.
name fail_usercopy, interval 1, probability 0, space 0, times 1
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 1 PID: 5236 Comm: syz-executor.5 Not tainted 5.19.0-rc5-next-20220708 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
Call Trace:
dump_stack_lvl+0x8b/0xb3
should_fail.cold+0x5/0xa
_copy_to_user+0x2a/0x140
simple_read_from_buffer+0xcc/0x160
proc_fail_nth_read+0x194/0x220
vfs_read+0x1ea/0x5d0
ksys_read+0x127/0x250
do_syscall_64+0x3b/0x90
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fccfed5a69c
Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 fc ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 2f fd ff ff 48
RSP: 002b:00007fccfc31d170 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fccfed5a69c
RDX: 000000000000000f RSI: 00007fccfc31d1e0 RDI: 0000000000000006
RBP: 00007fccfc31d1d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000600 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffeae889f9f R14: 00007fccfc31d300 R15: 0000000000022000
CPU: 0 PID: 5234 Comm: syz-executor.7 Not tainted 5.19.0-rc5-next-20220708 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
Call Trace:
dump_stack_lvl+0x8b/0xb3
register_lock_class+0x1593/0x1890
__lock_acquire+0x102/0x5e70
lock_acquire+0x1a2/0x530
_raw_spin_lock_bh+0x2f/0x40
ieee80211_do_stop+0xbe/0x1df0
ieee80211_if_change_type+0x3b9/0x7b0
ieee80211_change_iface+0x57/0x400
cfg80211_change_iface+0x573/0xed0
nl80211_set_interface+0x65f/0x900
genl_family_rcv_msg_doit+0x22d/0x330
genl_rcv_msg+0x33c/0x5a0
netlink_rcv_skb+0x14b/0x430
genl_rcv+0x24/0x40
netlink_unicast+0x54a/0x800
netlink_sendmsg+0x917/0xe10
sock_sendmsg+0x150/0x190
____sys_sendmsg+0x70c/0x870
___sys_sendmsg+0xf3/0x170
__x64_sys_sendmsg+0x132/0x220
do_syscall_64+0x3b/0x90
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fb8e7d13b19
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:00007fb8e5289188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fb8e7e26f60 RCX: 00007fb8e7d13b19
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000003
RBP: 00007fb8e7d6df6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd991533ef R14: 00007fb8e5289300 R15: 0000000000022000
loop6: detected capacity change from 0 to 40
syz-executor.6: attempt to access beyond end of device
loop6: rw=2049, sector=40, nr_sectors = 4 limit=40
buffer_io_error: 7 callbacks suppressed
Buffer I/O error on dev loop6, logical block 10, lost async page write
loop6: detected capacity change from 0 to 40
syz-executor.6: attempt to access beyond end of device
loop6: rw=2049, sector=40, nr_sectors = 4 limit=40
Buffer I/O error on dev loop6, logical block 10, lost async page write