syzbot


WARNING in __rate_control_send_low (2)

Status: upstream: reported C repro on 2024/05/23 07:46
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+8dd98a9e98ee28dc484a@syzkaller.appspotmail.com
Fix commit: wifi: mac80211: don't use rate mask for offchannel TX either
Patched on: [ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce], missing on: [ci-qemu-gce-upstream-auto ci-qemu-native-arm64-kvm ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-snapshot-upstream-root ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 113d, last: 39m
Cause bisection: introduced by (bisect log) :
commit 9df66d5b9f45c39b3925d16e8947cc10009b186d
Author: Ping-Ke Shih <pkshih@realtek.com>
Date: Wed Jun 9 07:59:44 2021 +0000

  cfg80211: fix default HE tx bitrate mask in 2G band

Crash: WARNING in __rate_control_send_low (log)
Repro: C syz .config
  
Discussions (5)
Title Replies (including bot) Last reply
[PATCH v2] wifi: mac80211: don't use rate mask for offchannel TX neither 1 (1) 2024/07/29 07:48
[syzbot] [wireless?] WARNING in __rate_control_send_low (2) 1 (5) 2024/07/26 03:26
[PATCH] wifi: mac80211: avoid warning of no supported legacy rate if empty rate mask for rate control 1 (1) 2024/07/26 03:15
[syzbot] Monthly wireless report (Jul 2024) 0 (1) 2024/07/12 10:05
[syzbot] Monthly wireless report (Jun 2024) 0 (1) 2024/06/10 12:42
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in __rate_control_send_low C 4 563d 1436d 0/1 upstream: reported C repro on 2020/10/08 02:03
linux-4.19 WARNING in __rate_control_send_low C 354 575d 1425d 0/1 upstream: reported C repro on 2020/10/19 12:45
linux-5.15 WARNING in __rate_control_send_low origin:upstream missing-backport C error 254 10d 545d 0/3 upstream: reported C repro on 2023/03/17 23:53
upstream WARNING in __rate_control_send_low wireless C inconclusive 2759 114d 1430d 25/28 fixed on 2024/05/22 23:08
linux-6.1 WARNING in __rate_control_send_low origin:upstream missing-backport C 220 5h04m 536d 0/3 upstream: reported C repro on 2023/03/27 21:44

Sample crash report:
------------[ cut here ]------------
no supported rates for sta (null) (0xffffffff, band 0) in rate_mask 0x0 with flags 0x0
WARNING: CPU: 0 PID: 956 at net/mac80211/rate.c:385 __rate_control_send_low+0x659/0x890 net/mac80211/rate.c:380
Modules linked in:
CPU: 0 PID: 956 Comm: kworker/u8:6 Not tainted 6.10.0-syzkaller-04472-g51835949dda3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:__rate_control_send_low+0x659/0x890 net/mac80211/rate.c:380
Code: 8b 14 24 0f 85 de 01 00 00 8b 0a 48 c7 c7 60 91 e2 8c 48 8b 74 24 10 44 89 f2 44 8b 44 24 1c 44 8b 4c 24 0c e8 98 47 5b f6 90 <0f> 0b 90 90 e9 71 fe ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c db
RSP: 0018:ffffc9000438f4c0 EFLAGS: 00010246
RAX: 2943e4de4f1a2b00 RBX: 000000000000000c RCX: ffff8880210a1e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88801f2367a8 R08: ffffffff815878a2 R09: fffffbfff1c39d94
R10: dffffc0000000000 R11: fffffbfff1c39d94 R12: 0000000000000800
R13: 000000000000000c R14: 00000000ffffffff R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000066a010 CR3: 000000007f050000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rate_control_send_low+0x1a8/0x770 net/mac80211/rate.c:405
 rate_control_get_rate+0x20e/0x5e0 net/mac80211/rate.c:921
 ieee80211_tx_h_rate_ctrl+0xc88/0x1a10 net/mac80211/tx.c:763
 invoke_tx_handlers_late+0xb3/0x18e0 net/mac80211/tx.c:1848
 ieee80211_tx+0x2e3/0x470 net/mac80211/tx.c:1969
 __ieee80211_tx_skb_tid_band+0x4e2/0x610 net/mac80211/tx.c:6101
 ieee80211_tx_skb_tid_band net/mac80211/ieee80211_i.h:2297 [inline]
 ieee80211_handle_roc_started+0x267/0x440 net/mac80211/offchannel.c:248
 _ieee80211_start_next_roc+0x7a1/0xb00 net/mac80211/offchannel.c:381
 cfg80211_wiphy_work+0x2db/0x490 net/wireless/core.c:440
 process_one_work kernel/workqueue.c:3231 [inline]
 process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312
 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (2338):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/18 17:29 net-next 51835949dda3 7403ec00 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/05/27 08:54 upstream 1613e604df0c c2e07261 .config console log report syz [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __rate_control_send_low
2024/05/25 22:10 net-next 66ad4829ddd0 a10a183e .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/13 13:09 upstream 196145c606d0 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __rate_control_send_low
2024/09/11 21:44 upstream 7c6a3a65ace7 d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __rate_control_send_low
2024/09/09 10:06 upstream da3ea35007d0 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __rate_control_send_low
2024/09/05 16:20 upstream c763c4339688 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in __rate_control_send_low
2024/08/30 06:56 upstream d5d547aa7b51 54fe8471 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __rate_control_send_low
2024/09/13 12:06 upstream 196145c606d0 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __rate_control_send_low
2024/09/11 08:34 upstream 8d8d276ba2fb 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __rate_control_send_low
2024/08/25 19:43 upstream 5be63fc19fca d7d32352 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __rate_control_send_low
2024/08/15 12:13 upstream 1fb918967b56 e4bacdaf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in __rate_control_send_low
2024/09/08 13:05 upstream d1f2d51b711a 9750182a .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __rate_control_send_low
2024/09/13 20:58 net 1f2e900ac26f 158f4851 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/13 19:43 net 1f2e900ac26f 158f4851 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/13 14:26 net 3e705251d998 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/13 10:21 net 3e705251d998 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/13 06:13 net 3e705251d998 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/13 03:01 net 3e705251d998 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/13 00:20 net 3e705251d998 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/12 23:18 net 6513eb3d3191 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/12 22:03 net 6513eb3d3191 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/12 16:34 net 6513eb3d3191 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/12 13:57 net 6513eb3d3191 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/12 13:25 net 6513eb3d3191 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/12 12:01 net 6513eb3d3191 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/12 02:04 net 625403177711 d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/11 20:43 net d1aaaa2e0a67 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/11 17:14 net d1aaaa2e0a67 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/11 15:42 net d1aaaa2e0a67 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/11 14:26 net d1aaaa2e0a67 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/11 13:17 net d1aaaa2e0a67 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/11 12:13 net d1aaaa2e0a67 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/11 11:04 net d1aaaa2e0a67 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/11 09:40 net d1aaaa2e0a67 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/11 07:27 net 48aa361c5db0 79eef296 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/09/13 18:28 net-next bdf2ba157eb7 158f4851 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/13 11:36 net-next 46ae4d0a4897 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/13 09:03 net-next 46ae4d0a4897 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/13 07:36 net-next 46ae4d0a4897 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/13 05:09 net-next 46ae4d0a4897 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/13 04:04 net-next 46ae4d0a4897 73e8a465 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/13 01:51 net-next 46ae4d0a4897 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/12 20:36 net-next 3cfb5aa10cb7 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/12 19:34 net-next 3cfb5aa10cb7 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/12 15:00 net-next 3cfb5aa10cb7 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/12 10:48 net-next 3cfb5aa10cb7 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/12 08:32 net-next bf73478b539b d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/12 06:48 net-next bf73478b539b d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/12 05:42 net-next bf73478b539b d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/12 04:29 net-next bf73478b539b d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/11 22:42 net-next bf73478b539b d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/11 19:33 net-next f3b6129b7d25 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/11 18:20 net-next f3b6129b7d25 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/11 06:05 net-next 525034e2e2ee 79eef296 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/11 04:50 net-next 525034e2e2ee 79eef296 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/09/11 03:19 net-next 525034e2e2ee 79eef296 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/07/04 17:29 net-next e19f67df9ccb 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in __rate_control_send_low
2024/05/23 03:57 net-next 4b377b4868ef 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/07/25 16:19 linux-next 864b1099d16f 32fcf98f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __rate_control_send_low
2024/08/25 12:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci be6d853c7631 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __rate_control_send_low
* Struck through repros no longer work on HEAD.