syzbot


WARNING in ieee80211_get_max_required_bw

Status: fixed on 2024/12/26 09:43
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+fc7577c140573357e883@syzkaller.appspotmail.com
Fix commit: 5cf45281a6ee Revert "wifi: mac80211: fix RCU list iterations"
First crash: 160d, last: 145d
Fix bisection: fixed by (bisect log) :
commit 5cf45281a6ee768b77057cfad448569132e056cb
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Sun Nov 10 05:02:40 2024 +0000

  Revert "wifi: mac80211: fix RCU list iterations"

  
Bug presence (2)
Date Name Commit Repro Result
2024/11/07 linux-6.1.y (ToT) 7c15117f9468 C [report] WARNING in ieee80211_get_max_required_bw
2024/11/07 upstream (ToT) bfc64d9b7e8c C Didn't crash

Sample crash report:
wlan1: associate with 08:02:11:00:00:00 (try 1/3)
wlan1: RX AssocResp from 08:02:11:00:00:00 (capab=0xa004 status=0 aid=12)
wlan1: No basic rates, using min rate instead
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4406 at net/mac80211/chan.c:248 ieee80211_get_max_required_bw+0x422/0x450
Modules linked in:
CPU: 1 PID: 4406 Comm: kworker/u4:13 Not tainted 6.1.116-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: phy12 ieee80211_iface_work
RIP: 0010:ieee80211_get_max_required_bw+0x422/0x450 net/mac80211/chan.c:248
Code: e9 ad fe ff ff e8 9e c1 56 f7 8b 04 24 eb 07 e8 94 c1 56 f7 31 c0 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 7e c1 56 f7 <0f> 0b e9 90 fc ff ff 48 c7 c1 e4 3c 9a 8e 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc900047c71a0 EFLAGS: 00010287
RAX: ffffffff8a33cab2 RBX: 0000000000000000 RCX: 0000000000100000
RDX: ffffc90016662000 RSI: 0000000000007ba2 RDI: 0000000000007ba3
RBP: ffffc900047c7338 R08: ffffffff8a33c735 R09: ffffffff8a32fa1c
R10: 000000000000000e R11: ffff88801b68bb80 R12: dffffc0000000000
R13: ffff8880241e4c80 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055556ae85808 CR3: 000000005e9fd000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ieee80211_get_chanctx_vif_max_required_bw net/mac80211/chan.c:294 [inline]
 ieee80211_get_chanctx_max_required_bw net/mac80211/chan.c:336 [inline]
 _ieee80211_recalc_chanctx_min_def+0x5e1/0xe20 net/mac80211/chan.c:381
 ieee80211_recalc_chanctx_min_def+0x20/0x70 net/mac80211/chan.c:462
 ieee80211_recalc_min_chandef+0x3e0/0x4a0 net/mac80211/util.c:2908
 sta_info_move_state+0x679/0x850 net/mac80211/sta_info.c:2300
 ieee80211_assoc_success+0x42e0/0x6110 net/mac80211/mlme.c:5001
 ieee80211_rx_mgmt_assoc_resp net/mac80211/mlme.c:5201 [inline]
 ieee80211_sta_rx_queued_mgmt+0x2403/0x4100 net/mac80211/mlme.c:5831
 ieee80211_iface_process_skb net/mac80211/iface.c:1665 [inline]
 ieee80211_iface_work+0x737/0xce0 net/mac80211/iface.c:1722
 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (25):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/10 03:05 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_get_max_required_bw
2024/11/08 23:32 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_get_max_required_bw
2024/11/08 14:55 linux-6.1.y 7c15117f9468 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_get_max_required_bw
2024/11/08 08:17 linux-6.1.y 7c15117f9468 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_get_max_required_bw
2024/11/08 02:12 linux-6.1.y 7c15117f9468 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_get_max_required_bw
2024/11/08 02:01 linux-6.1.y 7c15117f9468 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_get_max_required_bw
2024/11/08 02:01 linux-6.1.y 7c15117f9468 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_get_max_required_bw
2024/11/05 09:07 linux-6.1.y 7c15117f9468 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_get_max_required_bw
2024/11/04 10:28 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_get_max_required_bw
2024/11/03 21:53 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_get_max_required_bw
2024/10/31 17:36 linux-6.1.y 7ec6f9fa3d97 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_get_max_required_bw
2024/10/27 11:49 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_get_max_required_bw
2024/10/26 21:44 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ieee80211_get_max_required_bw
2024/11/08 11:29 linux-6.1.y 7c15117f9468 179b040e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_get_max_required_bw
2024/11/08 01:26 linux-6.1.y 7c15117f9468 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_get_max_required_bw
2024/11/07 18:27 linux-6.1.y 7c15117f9468 867e44df .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_get_max_required_bw
2024/11/07 00:56 linux-6.1.y 7c15117f9468 df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_get_max_required_bw
2024/11/06 10:38 linux-6.1.y 7c15117f9468 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_get_max_required_bw
2024/11/06 06:55 linux-6.1.y 7c15117f9468 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_get_max_required_bw
2024/11/05 03:08 linux-6.1.y 7c15117f9468 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_get_max_required_bw
2024/11/05 01:53 linux-6.1.y 7c15117f9468 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_get_max_required_bw
2024/11/03 23:10 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_get_max_required_bw
2024/11/01 22:52 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_get_max_required_bw
2024/10/29 11:39 linux-6.1.y 7ec6f9fa3d97 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_get_max_required_bw
2024/10/26 15:03 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ieee80211_get_max_required_bw
* Struck through repros no longer work on HEAD.