syzbot


WARNING in ieee80211_check_rate_mask

Status: fixed on 2024/08/19 05:23
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+19013115c9786bfd0c4e@syzkaller.appspotmail.com
Fix commit: badabac392d3 wifi: mac80211: check basic rates validity
First crash: 207d, last: 96d
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

  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH v5.15 RESEND] wifi: mac80211: check basic rates validity 2 (2) 2024/08/13 10:48
[PATCH v5.15] wifi: mac80211: check basic rates validity 2 (2) 2024/07/29 10:50
Bug presence (2)
Date Name Commit Repro Result
2024/05/02 linux-5.15.y (ToT) 284087d4f7d5 C [report] WARNING in ieee80211_check_rate_mask
2024/05/02 upstream (ToT) 0106679839f7 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-6.1 WARNING in ieee80211_check_rate_mask origin:lts-only C done 10 111d 373d 3/3 fixed on 2024/08/03 08:10
Last patch testing requests (5)
Created Duration User Patch Repo Result
2024/07/27 12:12 14m vincenzo.mezzela@gmail.com patch linux-5.15.y OK log
2024/07/27 10:47 20m vincenzo.mezzela@gmail.com patch linux-5.15.y error
2024/07/26 20:42 25m vincenzo.mezzela@gmail.com patch linux-5.15.y OK log
2024/07/26 20:04 9m vincenzo.mezzela@gmail.com patch linux-5.15.y report log
2024/07/26 15:13 0m vincenzo.mezzela@gmail.com patch linux-5.15.y error
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/05/15 09:18 4h43m fix candidate upstream OK (1) job log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3499 at net/mac80211/rate.c:282 ieee80211_check_rate_mask+0x23b/0x3b0
Modules linked in:
CPU: 0 PID: 3499 Comm: syz-executor304 Not tainted 5.15.157-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:ieee80211_check_rate_mask+0x23b/0x3b0 net/mac80211/rate.c:282
Code: b6 04 38 84 c0 0f 85 99 00 00 00 89 2a 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 4e 9d d2 f7 0f 0b eb e8 e8 45 9d d2 f7 <0f> 0b eb df 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 0a fe ff ff e8 2c
RSP: 0018:ffffc900014df270 EFLAGS: 00010293
RAX: ffffffff89adbf9b RBX: ffff88801d7e4c80 RCX: ffff888012b48000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88801dd33510 R08: ffffffff89adbe29 R09: ffffffff89afa106
R10: 0000000000000002 R11: ffff888012b48000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88801dd30da0
FS:  0000555555e6c380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005621aaec8160 CR3: 000000001f1e0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ieee80211_change_bss+0x462/0x910 net/mac80211/cfg.c:2372
 rdev_change_bss net/wireless/rdev-ops.h:394 [inline]
 nl80211_set_bss+0x84c/0xce0 net/wireless/nl80211.c:7228
 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:2505
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
 netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1356
 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1924
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2431
 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2485
 __sys_sendmsg net/socket.c:2514 [inline]
 __do_sys_sendmsg net/socket.c:2523 [inline]
 __se_sys_sendmsg+0x19a/0x260 net/socket.c:2521
 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:0x7f23aadf3719
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:00007ffef3037018 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ffef30371e8 RCX: 00007f23aadf3719
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000004
RBP: 00007f23aae66610 R08: 00007ffef30371e8 R09: 00007ffef30371e8
R10: 0000000000000024 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffef30371d8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (29):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/02 07:13 linux-5.15.y b925f60c6ee7 3ba885bc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/08/16 16:04 linux-5.15.y 7e89efd3ae1c e1c76ab2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/08/14 04:32 linux-5.15.y 7e89efd3ae1c bde81f6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/08/08 17:55 linux-5.15.y 7e89efd3ae1c 61405512 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/08/07 01:28 linux-5.15.y 7e89efd3ae1c 1ef9fe42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/07/19 17:32 linux-5.15.y 7c6d66f0266f 890ce4f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/07/19 17:31 linux-5.15.y 7c6d66f0266f 890ce4f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/07/15 11:13 linux-5.15.y f45bea23c39c c605e6a2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/07/03 18:21 linux-5.15.y 4878aadf2d15 f76a75f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/07/03 18:21 linux-5.15.y 4878aadf2d15 f76a75f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/07/03 18:20 linux-5.15.y 4878aadf2d15 f76a75f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/05/16 01:43 linux-5.15.y 284087d4f7d5 ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/05/11 11:39 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/05/11 10:42 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/05/02 06:36 linux-5.15.y b925f60c6ee7 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/04/27 14:25 linux-5.15.y c52b9710c83d 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in ieee80211_check_rate_mask
2024/08/13 21:07 linux-5.15.y 7e89efd3ae1c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/07/26 15:36 linux-5.15.y 7c6d66f0266f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/07/16 22:55 linux-5.15.y f45bea23c39c b66b37bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/07/14 19:57 linux-5.15.y f45bea23c39c eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/06/28 14:14 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/06/17 01:28 linux-5.15.y 4878aadf2d15 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/06/07 23:13 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/06/07 23:13 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/06/01 04:00 linux-5.15.y c61bd26ae81a 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/05/28 02:43 linux-5.15.y c61bd26ae81a f550015e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/05/25 18:05 linux-5.15.y c61bd26ae81a a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/05/25 18:05 linux-5.15.y c61bd26ae81a a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_check_rate_mask
2024/05/16 18:11 linux-5.15.y 284087d4f7d5 c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in ieee80211_check_rate_mask
* Struck through repros no longer work on HEAD.