syzbot


WARNING in ieee80211_ibss_finish_sta (2)

Status: upstream: reported on 2023/01/31 06:26
Reported-by: syzbot+6a0c1730c86f67e827ba@syzkaller.appspotmail.com
First crash: 673d, last: 673d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in ieee80211_ibss_finish_sta 1 883d 883d 0/1 auto-obsoleted due to no activity on 2022/11/02 06:14

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 27383 at net/mac80211/sta_info.c:478 sta_info_insert_check net/mac80211/sta_info.c:478 [inline]
WARNING: CPU: 0 PID: 27383 at net/mac80211/sta_info.c:478 sta_info_insert_rcu.cold+0x29/0xd8 net/mac80211/sta_info.c:656
Kernel panic - not syncing: panic_on_warn set ...

 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
 __sys_sendmsg net/socket.c:2265 [inline]
 __do_sys_sendmsg net/socket.c:2274 [inline]
 __se_sys_sendmsg net/socket.c:2272 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f506a3c00c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5068932168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f506a4dff80 RCX: 00007f506a3c00c9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000003
RBP: 00007f50689321d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffd6319e59f R14: 00007f5068932300 R15: 0000000000022000
CPU: 0 PID: 27383 Comm: kworker/u4:1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Workqueue: phy2 ieee80211_iface_work
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:sta_info_insert_check net/mac80211/sta_info.c:478 [inline]
RIP: 0010:sta_info_insert_rcu.cold+0x29/0xd8 net/mac80211/sta_info.c:656
Code: ff e8 46 36 4e f9 48 c7 c7 60 4b 67 89 e8 a5 67 df ff 0f 0b e9 4f ca 82 ff e8 2e 36 4e f9 48 c7 c7 60 4b 67 89 e8 8d 67 df ff <0f> 0b 41 bc ea ff ff ff e9 b9 db 82 ff e8 10 36 4e f9 48 c7 c7 60
RSP: 0018:ffff888038b57a60 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffff8880495460c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed100716af3e
RBP: 0000000000000001 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 00000000ffeeffff
R13: ffff8880935ac048 R14: ffff8880935ac000 R15: ffff8880499d16c0
 ieee80211_ibss_finish_sta+0x25b/0x360 net/mac80211/ibss.c:601
 ieee80211_ibss_work+0x2b6/0xe10 net/mac80211/ibss.c:1692
 ieee80211_iface_work+0x7ba/0x8a0 net/mac80211/iface.c:1362
 process_one_work+0x864/0x1570 kernel/workqueue.c:2153
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/31 06:26 linux-4.19.y 3f8a27f9e27b b68fb8d6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in ieee80211_ibss_finish_sta
* Struck through repros no longer work on HEAD.