syzbot
WARNING in ieee80211_check_rate_mask
Status:
fixed on 2024/08/03 08:10
Bug presence:
origin:lts-only
[Documentation on labels]
Reported-by: syzbot+07bee335584b04e7c2f8@syzkaller.appspotmail.com
Fix commit:
139faad888ef
wifi: mac80211: check basic rates validity
First crash: 989d, last: 727d
▶
▼
Bug presence (2)
| Date |
Name |
Commit |
Repro |
Result |
| 2024/05/05 |
linux-6.1.y (ToT) |
909ba1f1b414 |
C
|
[report] WARNING in ieee80211_check_rate_mask
|
| 2024/05/05 |
upstream (ToT) |
7367539ad4b0 |
C
|
Didn't crash |
▶
▼
Last patch testing requests (3)
▶
▼
Fix bisection attempts (2)
Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3543 at net/mac80211/rate.c:290 ieee80211_check_rate_mask+0x25f/0x3c0
Modules linked in:
CPU: 1 PID: 3543 Comm: syz-executor503 Not tainted 6.1.82-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:ieee80211_check_rate_mask+0x25f/0x3c0 net/mac80211/rate.c:290
Code: 38 84 c0 0f 85 96 00 00 00 41 89 2c 24 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 aa 72 81 f7 0f 0b eb e8 e8 a1 72 81 f7 <0f> 0b eb df 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 1f fe ff ff e8 98
RSP: 0018:ffffc90003adf350 EFLAGS: 00010293
RAX: ffffffff8a0910ef RBX: 0000000000000000 RCX: ffff888027298000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8880215455a8 R08: ffffffff8a090f88 R09: ffffffff8a0b0af3
R10: 0000000000000002 R11: ffff888027298000 R12: 0000000000000000
R13: ffff888021544c80 R14: ffff888021920e80 R15: dffffc0000000000
FS: 0000555557478380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f2e52405d8 CR3: 000000001a7c6000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ieee80211_change_bss+0x46e/0x940 net/mac80211/cfg.c:2611
rdev_change_bss net/wireless/rdev-ops.h:405 [inline]
nl80211_set_bss+0x84c/0xd40 net/wireless/nl80211.c:7853
genl_family_rcv_msg_doit net/netlink/genetlink.c:756 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:833 [inline]
genl_rcv_msg+0xc1a/0xf70 net/netlink/genetlink.c:850
netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2508
genl_rcv+0x24/0x40 net/netlink/genetlink.c:861
netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
netlink_unicast+0x7d8/0x970 net/netlink/af_netlink.c:1352
netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1874
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
____sys_sendmsg+0x5a5/0x8f0 net/socket.c:2514
___sys_sendmsg net/socket.c:2568 [inline]
__sys_sendmsg+0x2a9/0x390 net/socket.c:2597
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f39755d36d9
Code: 48 83 c4 28 c3 e8 e7 18 00 00 0f 1f 80 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff6dca20f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fff6dca22c8 RCX: 00007f39755d36d9
RDX: 0000000000000000 RSI: 00000000200006c0 RDI: 0000000000000004
RBP: 00007f3975646610 R08: 00007fff6dca22c8 R09: 00007fff6dca22c8
R10: 0000000000000024 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fff6dca22b8 R14: 0000000000000001 R15: 0000000000000001
</TASK>
* Struck through repros no longer work on HEAD.