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: 373d, last: 111d
Fix commit to backport (bisect log) :
tree: upstream
commit ce04abc3fcc62cd5640af981ebfd7c4dc3bded28
Author: Johannes Berg <johannes.berg@intel.com>
Date: Fri Feb 24 09:52:19 2023 +0000

  wifi: mac80211: check basic rates validity

  
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: WARNING in ieee80211_check_rate_mask (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[PATCH] wifi: mac80211: check basic rates validity 4 (4) 2024/08/10 09:59
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
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 638d 1507d 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 819d 1486d 0/1 upstream: reported C repro on 2020/10/27 07:51
linux-4.19 WARNING in ieee80211_check_rate_mask C error 3 638d 1476d 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 96d 208d 3/3 fixed on 2024/08/19 05:23
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/07/29 13:25 17m vincenzo.mezzela@gmail.com patch linux-6.1.y OK log
2024/07/29 13:24 15m vincenzo.mezzela@gmail.com patch linux-6.1.y OK log
2024/07/29 12:36 18m vincenzo.mezzela@gmail.com patch linux-6.1.y OK log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/08/01 17:52 5h46m fix candidate upstream OK (1) job log
2024/07/05 14:08 2h28m bisect fix linux-6.1.y OK (0) job log log

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>

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/20 23:49 linux-6.1.y d7543167affd 5b7d42ae .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_check_rate_mask
2024/04/12 17:13 linux-6.1.y bf1e3b1cb1e0 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_check_rate_mask
2024/04/10 20:08 linux-6.1.y bf1e3b1cb1e0 4320ec32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_check_rate_mask
2024/03/20 21:56 linux-6.1.y d7543167affd 5b7d42ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_check_rate_mask
2024/08/01 20:58 linux-6.1.y c1cec4dad96b 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/07/24 04:14 linux-6.1.y 9b3f9a5b12dc 57b2edb1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/07/24 04:14 linux-6.1.y 9b3f9a5b12dc 57b2edb1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/05/27 02:09 linux-6.1.y 88690811da69 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_check_rate_mask
2023/12/21 08:11 linux-6.1.y 4aa6747d9352 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_check_rate_mask
2023/11/13 21:50 linux-6.1.y fb2635ac69ab cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_check_rate_mask
* Struck through repros no longer work on HEAD.