syzbot


WARNING in ieee80211_check_rate_mask

Status: upstream: reported C repro on 2020/11/06 04:49
Reported-by: syzbot+366ba7ce5ed51ee32a19@syzkaller.appspotmail.com
First crash: 1490d, last: 652d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in ieee80211_check_rate_mask wireless C done inconclusive 31 652d 1521d 0/28 auto-obsoleted due to no activity on 2023/06/22 04:27
linux-4.14 WARNING in ieee80211_check_rate_mask C error 1 833d 1500d 0/1 upstream: reported C repro on 2020/10/27 07:51
linux-5.15 WARNING in ieee80211_check_rate_mask origin:lts-only C done 29 111d 222d 3/3 fixed on 2024/08/19 05:23
linux-6.1 WARNING in ieee80211_check_rate_mask origin:lts-only C done 10 125d 387d 3/3 fixed on 2024/08/03 08:10
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/07/29 13:35 vincenzo.mezzela@gmail.com patch linux-4.19.y pending
Fix bisection attempts (12)
Created Duration User Patch Repo Result
2021/11/14 14:07 15m bisect fix linux-4.19.y error job log
2021/10/15 13:35 31m bisect fix linux-4.19.y OK (0) job log log
2021/09/15 13:12 22m bisect fix linux-4.19.y OK (0) job log log
2021/08/16 12:44 28m bisect fix linux-4.19.y OK (0) job log log
2021/07/17 12:16 27m bisect fix linux-4.19.y OK (0) job log log
2021/06/17 11:51 24m bisect fix linux-4.19.y OK (0) job log log
2021/05/18 10:51 22m bisect fix linux-4.19.y OK (0) job log log
2021/04/18 09:48 30m bisect fix linux-4.19.y OK (0) job log log
2021/03/19 09:24 22m bisect fix linux-4.19.y OK (0) job log log
2021/02/04 06:15 0m bisect fix linux-4.19.y error job log
2021/01/05 05:52 23m bisect fix linux-4.19.y OK (0) job log log
2020/12/06 04:49 24m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
WARNING: CPU: 1 PID: 8120 at net/mac80211/rate.c:279 ieee80211_check_rate_mask+0x243/0x2c0 net/mac80211/rate.c:279
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 8120 Comm: syz-executor189 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 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
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:ieee80211_check_rate_mask+0x243/0x2c0 net/mac80211/rate.c:279
Code: 83 c2 03 38 ca 7c 04 84 c9 75 47 89 84 ab f0 09 00 00 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f e9 02 f6 c5 f9 e8 fd f5 c5 f9 <0f> 0b eb e4 e8 54 d2 fb f9 e9 ed fd ff ff 4c 89 ef e8 47 d2 fb f9
RSP: 0018:ffff8880a89b7578 EFLAGS: 00010293
RAX: ffff8880b38525c0 RBX: ffff888094df8e00 RCX: ffffffff879c8db6
RDX: 0000000000000000 RSI: ffffffff879c8f73 RDI: 0000000000000005
RBP: ffff8880a1b02b38 R08: ffff888094df9df0 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: 00000000ffffffff R14: ffff888094df8e00 R15: 0000000000000000
 ieee80211_change_bss+0x528/0xbc0 net/mac80211/cfg.c:2068
 rdev_change_bss net/wireless/rdev-ops.h:380 [inline]
 nl80211_set_bss+0x78d/0xf50 net/wireless/nl80211.c:6030
 genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602
 genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
 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:0x7f3d3c55eeb9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffce013c728 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000031 RCX: 00007f3d3c55eeb9
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000004
RBP: 0000000000000003 R08: 00007ffce013c758 R09: 00007ffce013c758
R10: 00007ffce013c758 R11: 0000000000000246 R12: 000000000000000c
R13: 00007ffce013c780 R14: 00007f3d3c5d9430 R15: 0000000000000004
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/22 01:57 linux-4.19.y 3f8a27f9e27b 42a4d508 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in ieee80211_check_rate_mask
2020/11/06 04:48 linux-4.19.y b94de4d19498 cba33199 .config console log report syz C ci2-linux-4-19
2021/02/17 08:48 linux-4.19.y 811218eceeaa 052f8d9f .config console log report info ci2-linux-4-19 WARNING in ieee80211_check_rate_mask
* Struck through repros no longer work on HEAD.