------------[ cut here ]------------ sdata->crypto_tx_tailroom_needed_cnt != master->crypto_tx_tailroom_needed_cnt WARNING: net/mac80211/key.c:1168 at ieee80211_free_keys+0x4ed/0x640 net/mac80211/key.c:1168, CPU#2: syz.5.7050/2426 Modules linked in: CPU: 2 UID: 0 PID: 2426 Comm: syz.5.7050 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:ieee80211_free_keys+0x4ed/0x640 net/mac80211/key.c:1168 Code: c0 74 08 3c 03 0f 8e 26 01 00 00 8b 9d 78 fb ff ff 44 89 ef 89 de e8 b2 89 f8 f6 41 39 dd 0f 84 6b fe ff ff e8 b4 8f f8 f6 90 <0f> 0b 90 e9 5d fe ff ff e8 a6 8f f8 f6 4c 89 fa 48 b8 00 00 00 00 RSP: 0000:ffffc9000c217698 EFLAGS: 00010287 RAX: 000000000003dd39 RBX: 0000000000000001 RCX: ffffc90029415000 RDX: 0000000000080000 RSI: ffffffff8b0fb3cc RDI: ffff888028000000 RBP: ffff88805a65dc38 R08: 0000000000000004 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000000 R12: 1ffff92001842ed5 R13: 0000000000000002 R14: ffffc9000c2176c8 R15: ffffc9000c2176b0 FS: 0000000000000000(0000) GS:ffff888097340000(0063) knlGS:00000000f5404b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000c39ac19 CR3: 0000000079984000 CR4: 0000000000352ef0 Call Trace: ieee80211_do_stop+0xbed/0x25f0 net/mac80211/iface.c:605 ieee80211_stop+0x169/0x320 net/mac80211/iface.c:832 __dev_close_many+0x30d/0x700 net/core/dev.c:1775 netif_close_many+0x233/0x630 net/core/dev.c:1800 netif_close net/core/dev.c:1817 [inline] netif_close+0x17f/0x230 net/core/dev.c:1811 dev_close+0xaa/0x240 net/core/dev_api.c:220 cfg80211_shutdown_all_interfaces+0x9a/0x200 net/wireless/core.c:282 cfg80211_rfkill_set_block net/wireless/core.c:312 [inline] cfg80211_rfkill_set_block+0x35/0x50 net/wireless/core.c:304 rfkill_set_block+0x205/0x510 net/rfkill/core.c:360 rfkill_fop_write+0x2c0/0x580 net/rfkill/core.c:1314 vfs_write+0x2aa/0x1070 fs/read_write.c:686 ksys_write+0x1f8/0x250 fs/read_write.c:740 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xe3/0x8c0 arch/x86/entry/syscall_32.c:307 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f83f6c Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 58 b8 RSP: 002b:00000000f540450c EFLAGS: 00000292 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000080000080 RDX: 0000000000000008 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: d2 74 05 c1 shlb %cl,-0x3f(%rbp,%rax,1) 4: e8 0c 89 02 8b call 0x8b028915 9: 5d pop %rbp a: fc cld b: 31 c0 xor %eax,%eax d: c9 leave e: c3 ret f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 0f 1f 00 nopl (%rax) 21: 51 push %rcx 22: 52 push %rdx 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 ret 2e: 90 nop 2f: 2e 8d b4 26 00 00 00 cs lea 0x0(%rsi,%riz,1),%esi 36: 00 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 3e: 58 pop %rax 3f: b8 .byte 0xb8