syzbot


WARNING in drv_unassign_vif_chanctx (2)

Status: upstream: reported on 2024/12/29 09:11
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+25ce0caba1e325c6f224@syzkaller.appspotmail.com
First crash: 10d, last: 10d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [wireless?] WARNING in drv_unassign_vif_chanctx (2) 0 (1) 2024/12/29 09:11
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in drv_unassign_vif_chanctx wireless 2 313d 313d 0/28 auto-obsoleted due to no activity on 2024/06/05 06:49

Sample crash report:
------------[ cut here ]------------
syzkaller0: Failed check-sdata-in-driver check, flags: 0x0
WARNING: CPU: 0 PID: 1134 at net/mac80211/driver-ops.c:360 drv_unassign_vif_chanctx+0x247/0x860 net/mac80211/driver-ops.c:360
Modules linked in:
CPU: 0 UID: 0 PID: 1134 Comm: kworker/u32:5 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Workqueue: netns cleanup_net
RIP: 0010:drv_unassign_vif_chanctx+0x247/0x860 net/mac80211/driver-ops.c:360
Code: 74 24 10 48 81 c6 20 01 00 00 48 89 74 24 10 e8 0f 4f 0c f7 8b 54 24 04 48 c7 c7 c0 fc 9d 8c 48 8b 74 24 10 e8 3a 15 cd f6 90 <0f> 0b 90 90 e8 f0 4e 0c f7 4c 89 ea 48 b8 00 00 00 00 00 fc ff df
RSP: 0018:ffffc9000677f5d8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88806a928d80 RCX: ffffffff815a1729
RDX: ffff888024f52440 RSI: ffffffff815a1736 RDI: 0000000000000001
RBP: ffff8880710e8e40 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000005 R12: ffff88806a92aa28
R13: ffff88806a929728 R14: ffff88806a92a9d0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88802b400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000569e04c0 CR3: 000000000db7e000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ieee80211_assign_link_chanctx+0x158/0xd80 net/mac80211/chan.c:885
 __ieee80211_link_release_channel+0x273/0x4b0 net/mac80211/chan.c:1859
 ieee80211_link_release_channel+0xda/0x1b0 net/mac80211/chan.c:2130
 unregister_netdevice_many_notify+0xf77/0x1e60 net/core/dev.c:11548
 unregister_netdevice_many net/core/dev.c:11590 [inline]
 unregister_netdevice_queue+0x307/0x3f0 net/core/dev.c:11462
 unregister_netdevice include/linux/netdevice.h:3192 [inline]
 _cfg80211_unregister_wdev+0x64b/0x830 net/wireless/core.c:1255
 ieee80211_remove_interfaces+0x36d/0x760 net/mac80211/iface.c:2307
 ieee80211_unregister_hw+0x55/0x3a0 net/mac80211/main.c:1671
 mac80211_hwsim_del_radio+0x268/0x370 drivers/net/wireless/virtual/mac80211_hwsim.c:5625
 hwsim_exit_net+0x33f/0x6d0 drivers/net/wireless/virtual/mac80211_hwsim.c:6505
 ops_exit_list+0xb0/0x180 net/core/net_namespace.c:172
 cleanup_net+0x5b7/0xbd0 net/core/net_namespace.c:648
 process_one_work+0x958/0x1b30 kernel/workqueue.c:3229
 process_scheduled_works kernel/workqueue.c:3310 [inline]
 worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
 kthread+0x2c1/0x3a0 kernel/kthread.c:389
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/25 09:00 upstream 9b2ffa6148b1 444551c4 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in drv_unassign_vif_chanctx
* Struck through repros no longer work on HEAD.