syzbot


WARNING in minstrel_ht_update_caps

Status: upstream: reported on 2025/02/24 13:02
Reported-by: syzbot+71309069d4a84523ff89@syzkaller.appspotmail.com
First crash: 17d, last: 17d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in minstrel_ht_update_caps wireless C inconclusive 79 7d16h 298d 0/28 upstream: reported C repro on 2024/05/19 11:14
linux-6.1 WARNING in minstrel_ht_update_caps 1 89d 89d 0/3 upstream: reported on 2024/12/14 07:57

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 12633 at include/net/mac80211.h:6309 minstrel_ht_update_caps+0x44f/0x1760 net/mac80211/rc80211_minstrel_ht.c:1613
Modules linked in:
CPU: 1 PID: 12633 Comm: syz.0.2128 Not tainted 5.15.178-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:rate_lowest_index include/net/mac80211.h:6309 [inline]
RIP: 0010:minstrel_ht_update_caps+0x44f/0x1760 net/mac80211/rc80211_minstrel_ht.c:1613
Code: 97 c8 97 f7 eb 26 e8 90 c8 97 f7 49 c1 fe 38 49 bf 00 00 00 00 00 fc ff df eb 14 e8 7b c8 97 f7 49 bf 00 00 00 00 00 fc ff df <0f> 0b 45 31 f6 4c 8b 6c 24 20 4b 8d 2c 76 49 8d 5c ad 00 48 89 d8
RSP: 0018:ffffc9000307ef70 EFLAGS: 00010283
RAX: ffffffff89e8bd15 RBX: 000000000000000c RCX: 0000000000080000
RDX: ffffc90003be3000 RSI: 0000000000000406 RDI: 0000000000000407
RBP: 0000000000000000 R08: ffffffff89e8bc29 R09: 0000000000000000
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888079b9b360
R13: 1ffff1100f37366c R14: 0b00000000000000 R15: dffffc0000000000
FS:  00007f98f63266c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c3458aa CR3: 00000000604ff000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rate_control_rate_init+0x348/0x590 net/mac80211/rate.c:62
 sta_apply_auth_flags+0x1b6/0x410 net/mac80211/cfg.c:1378
 sta_apply_parameters+0x152c/0x1d00 net/mac80211/cfg.c:1705
 ieee80211_add_station+0x2ba/0x4b0 net/mac80211/cfg.c:1749
 rdev_add_station+0xfc/0x260 net/wireless/rdev-ops.h:190
 nl80211_new_station+0x1542/0x1b10 net/wireless/nl80211.c:6784
 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
 genl_rcv_msg+0xfbd/0x14a0 net/netlink/genetlink.c:792
 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2489
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
 netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline]
 netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1337
 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1905
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2436
 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2490
 __sys_sendmsg net/socket.c:2519 [inline]
 __do_sys_sendmsg net/socket.c:2528 [inline]
 __se_sys_sendmsg+0x19a/0x260 net/socket.c:2526
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f98f84bd169
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:00007f98f6326038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f98f86d5fa0 RCX: 00007f98f84bd169
RDX: 0000000000000000 RSI: 0000400000001080 RDI: 0000000000000005
RBP: 00007f98f853e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f98f86d5fa0 R15: 00007fffe85d3f18
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/24 13:01 linux-5.15.y c16c81c81336 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in minstrel_ht_update_caps
* Struck through repros no longer work on HEAD.