syzbot


WARNING in drv_unassign_vif_chanctx

Status: upstream: reported on 2024/02/26 06:49
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+1c8a495af056338d5c19@syzkaller.appspotmail.com
First crash: 52d, last: 48d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [wireless?] WARNING in drv_unassign_vif_chanctx 0 (1) 2024/02/26 06:49

Sample crash report:
WARNING: CPU: 1 PID: 14618 at net/mac80211/driver-ops.c:343 drv_unassign_vif_chanctx+0x477/0x6c0 net/mac80211/driver-ops.c:343
Modules linked in:
CPU: 1 PID: 14618 Comm: syz-executor.1 Not tainted 6.8.0-rc5-syzkaller-00129-g2a770cdc4382 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:drv_unassign_vif_chanctx+0x477/0x6c0 net/mac80211/driver-ops.c:343
Code: e9 48 b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 0f 85 08 01 00 00 41 8b 16 48 c7 c7 40 27 bb 8c 48 89 ee e8 8a 18 83 f6 90 <0f> 0b 90 90 e9 db fc ff ff 48 c7 c1 0c 9a 85 8f 80 e1 07 80 c1 03
RSP: 0018:ffffc90018017130 EFLAGS: 00010246
RAX: c575d6a35704e800 RBX: 1ffff11005a0b29a RCX: 0000000000040000
RDX: ffffc9000b9f4000 RSI: 000000000001c717 RDI: 000000000001c718
RBP: ffff88802d058128 R08: ffffffff81577ab2 R09: 1ffff110172a51a2
R10: dffffc0000000000 R11: ffffed10172a51a3 R12: ffff88802d05a740
R13: ffff88802d058c80 R14: ffff88802d0594d0 R15: ffff88802e178e20
FS:  00007f013e91c6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c01c04b000 CR3: 000000008cbc6000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ieee80211_assign_link_chanctx+0x16d/0x8b0 net/mac80211/chan.c:878
 __ieee80211_link_release_channel+0x306/0x460 net/mac80211/chan.c:1801
 ieee80211_teardown_sdata net/mac80211/iface.c:810 [inline]
 ieee80211_if_change_type+0x222/0xad0 net/mac80211/iface.c:1897
 ieee80211_change_iface+0xd2/0x4f0 net/mac80211/cfg.c:219
 rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline]
 cfg80211_change_iface+0x75e/0xed0 net/wireless/util.c:1209
 nl80211_set_interface+0x592/0x810 net/wireless/nl80211.c:4229
 genl_family_rcv_msg_doit net/netlink/genetlink.c:1113 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:1193 [inline]
 genl_rcv_msg+0xad6/0xe50 net/netlink/genetlink.c:1208
 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2543
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1217
 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline]
 netlink_unicast+0x7ea/0x980 net/netlink/af_netlink.c:1367
 netlink_sendmsg+0xa3b/0xd70 net/netlink/af_netlink.c:1908
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:745
 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2584
 ___sys_sendmsg net/socket.c:2638 [inline]
 __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2667
 do_syscall_64+0xf9/0x240
 entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7f013dc7dda9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f013e91c0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f013ddac050 RCX: 00007f013dc7dda9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000008
RBP: 00007f013dcca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f013ddac050 R15: 00007ffc6b796908
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/26 06:48 net 2a770cdc4382 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in drv_unassign_vif_chanctx
2024/02/22 06:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59a96b711109 345111b5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in drv_unassign_vif_chanctx
* Struck through repros no longer work on HEAD.