------------[ cut here ]------------ raw_local_irq_restore() called with IRQs enabled WARNING: CPU: 1 PID: 16992 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x29/0x40 kernel/locking/irqflag-debug.c:10 Modules linked in: CPU: 1 UID: 0 PID: 16992 Comm: syz.2.2904 Not tainted 6.10.0-rc7-next-20240712-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:warn_bogus_irq_restore+0x29/0x40 kernel/locking/irqflag-debug.c:10 Code: 90 f3 0f 1e fa 90 80 3d 12 2f 06 04 00 74 06 90 c3 cc cc cc cc c6 05 03 2f 06 04 01 90 48 c7 c7 a0 cc ca 8b e8 88 8b c1 f5 90 <0f> 0b 90 90 90 c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f RSP: 0018:ffffc900046f7738 EFLAGS: 00010246 RAX: 5add1ffee5617700 RBX: 1ffff920008deeec RCX: 0000000000040000 RDX: ffffc9000aa80000 RSI: 0000000000007f8b RDI: 0000000000007f8c RBP: ffffc900046f77d0 R08: ffffffff815593f2 R09: fffffbfff1c39f8c R10: dffffc0000000000 R11: fffffbfff1c39f8c R12: dffffc0000000000 R13: 1ffff920008deee8 R14: ffffc900046f7760 R15: 0000000000000246 FS: 00007f40b16d36c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000001f396000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x120/0x140 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] ieee80211_do_stop+0x152a/0x1f40 net/mac80211/iface.c:650 ieee80211_runtime_change_iftype net/mac80211/iface.c:1860 [inline] ieee80211_if_change_type+0x4cd/0xad0 net/mac80211/iface.c:1898 ieee80211_change_iface+0xd2/0x4f0 net/mac80211/cfg.c:219 rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline] cfg80211_change_iface+0x782/0xf30 net/wireless/util.c:1215 cfg80211_wext_siwmode+0x1bb/0x290 net/wireless/wext-compat.c:67 ioctl_standard_call+0xe3/0x290 net/wireless/wext-core.c:1045 wext_ioctl_dispatch+0x58e/0x640 net/wireless/wext-core.c:1016 wext_handle_ioctl+0x15f/0x270 net/wireless/wext-core.c:1077 sock_ioctl+0x17f/0x8e0 net/socket.c:1275 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f40b0975bd9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f40b16d3048 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f40b0b03f60 RCX: 00007f40b0975bd9 RDX: 0000000020000000 RSI: 0000000000008b06 RDI: 0000000000000007 RBP: 00007f40b09e4e60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f40b0b03f60 R15: 00007ffc5a798498