syzbot


WARNING in ieee80211_check_rate_mask

Status: upstream: reported C repro on 2020/10/27 07:51
Reported-by: syzbot+d12c2b22d2a6478c137a@syzkaller.appspotmail.com
First crash: 1488d, last: 822d
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 641d 1509d 0/28 auto-obsoleted due to no activity on 2023/06/22 04:27
linux-4.19 WARNING in ieee80211_check_rate_mask C error 3 641d 1479d 0/1 upstream: reported C repro on 2020/11/06 04:49
linux-5.15 WARNING in ieee80211_check_rate_mask origin:lts-only C done 29 99d 210d 3/3 fixed on 2024/08/19 05:23
linux-6.1 WARNING in ieee80211_check_rate_mask origin:lts-only C done 10 114d 376d 3/3 fixed on 2024/08/03 08:10
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/03/04 08:32 0m retest repro linux-4.14.y error
2024/07/29 13:37 vincenzo.mezzela@gmail.com patch linux-4.14.y pending
Fix bisection attempts (23)
Created Duration User Patch Repo Result
2022/10/13 02:08 0m bisect fix linux-4.14.y error job log
2022/08/25 00:15 22m bisect fix linux-4.14.y OK (0) job log log
2022/07/25 23:41 31m bisect fix linux-4.14.y OK (0) job log log
2022/06/25 21:35 21m bisect fix linux-4.14.y OK (0) job log log
2022/05/26 21:04 30m bisect fix linux-4.14.y OK (0) job log log
2022/04/26 20:36 28m bisect fix linux-4.14.y OK (0) job log log
2022/03/27 10:37 27m bisect fix linux-4.14.y OK (0) job log log
2022/02/25 04:59 26m bisect fix linux-4.14.y OK (0) job log log
2022/01/26 01:54 25m bisect fix linux-4.14.y OK (0) job log log
2021/12/27 01:21 27m bisect fix linux-4.14.y OK (0) job log log
2021/11/27 00:15 21m bisect fix linux-4.14.y OK (0) job log log
2021/10/27 23:47 25m bisect fix linux-4.14.y OK (0) job log log
2021/09/23 06:21 28m bisect fix linux-4.14.y OK (0) job log log
2021/08/24 05:44 24m bisect fix linux-4.14.y OK (0) job log log
2021/07/25 01:16 22m bisect fix linux-4.14.y OK (0) job log log
2021/06/24 23:08 22m bisect fix linux-4.14.y OK (0) job log log
2021/05/25 21:03 27m bisect fix linux-4.14.y OK (0) job log log
2021/04/25 20:34 29m bisect fix linux-4.14.y OK (0) job log log
2021/03/26 13:58 20m bisect fix linux-4.14.y OK (0) job log log
2021/02/24 12:54 22m bisect fix linux-4.14.y OK (0) job log log
2021/01/25 09:04 22m bisect fix linux-4.14.y OK (0) job log log
2020/12/26 08:41 22m bisect fix linux-4.14.y OK (0) job log log
2020/11/26 08:18 22m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
netlink: 20 bytes leftover after parsing attributes in process `syz-executor756'.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8003 at net/mac80211/rate.c:279 ieee80211_check_rate_mask+0x234/0x2d0 net/mac80211/rate.c:279
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8003 Comm: syz-executor756 Not tainted 4.14.202-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x4b kernel/panic.c:547
 report_bug+0x208/0x249 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:ieee80211_check_rate_mask+0x234/0x2d0 net/mac80211/rate.c:279
RSP: 0018:ffff888098117638 EFLAGS: 00010297
RAX: ffff888097630440 RBX: ffff8880b1ad1280 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff8880a2a42920 RDI: ffff8880b1ad2290
RBP: ffff8880a2a429f8 R08: ffff8880b1ad2260 R09: 0000000000000004
R10: 0000000000000000 R11: ffff888097630440 R12: 0000000000000020
R13: 0000000000000000 R14: ffff8880b1ad1280 R15: 0000000000000000
 ieee80211_change_bss+0x47e/0xa60 net/mac80211/cfg.c:2051
 rdev_change_bss net/wireless/rdev-ops.h:380 [inline]
 nl80211_set_bss+0x70b/0xe50 net/wireless/nl80211.c:5687
 genl_family_rcv_msg+0x572/0xb20 net/netlink/genetlink.c:600
 genl_rcv_msg+0xaf/0x140 net/netlink/genetlink.c:625
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x4419c9
RSP: 002b:00007ffd9dc66958 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004419c9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000004
RBP: 000000306e616c77 R08: 0000000000000000 R09: 0000001300000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000032
R13: 0000000000000000 R14: 000000000000000c R15: 0000000000000004
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
2020/10/27 07:50 linux-4.14.y 5b7a52cd2eef 8b3eaf58 .config console log report syz C ci2-linux-4-14
* Struck through repros no longer work on HEAD.