syzbot


WARNING in __rate_control_send_low (2)

Status: fixed on 2024/10/22 11:57
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+8dd98a9e98ee28dc484a@syzkaller.appspotmail.com
Fix commit: e7a7ef9a0742 wifi: mac80211: don't use rate mask for offchannel TX either
First crash: 212d, last: 60d
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 (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in __rate_control_send_low C 4 662d 1535d 0/1 upstream: reported C repro on 2020/10/08 02:03
linux-4.19 WARNING in __rate_control_send_low C 354 674d 1524d 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 495 1d18h 644d 0/3 upstream: reported C repro on 2023/03/17 23:53
upstream WARNING in __rate_control_send_low (3) wireless C done 2406 8m 56d 0/28 upstream: reported C repro on 2024/10/26 13:25
upstream WARNING in __rate_control_send_low wireless C inconclusive 2759 212d 1529d 25/28 fixed on 2024/05/22 23:08
linux-6.1 WARNING in __rate_control_send_low origin:upstream missing-backport C error 259 12d 634d 0/3 upstream: reported C repro on 2023/03/27 21:44

Sample crash report:
------------[ cut here ]------------
no supported rates for sta 08:02:11:00:00:00 (0xf, band 0) in rate_mask 0xffffffff with flags 0x10
WARNING: CPU: 1 PID: 5341 at net/mac80211/rate.c:380 __rate_control_send_low+0x6d9/0x800 net/mac80211/rate.c:380
Modules linked in:
CPU: 1 UID: 0 PID: 5341 Comm: syz-executor201 Not tainted 6.12.0-rc2-syzkaller-00006-g87d6aab2389e #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:__rate_control_send_low+0x6d9/0x800 net/mac80211/rate.c:380
Code: a4 a0 d4 00 00 00 e8 e6 51 fc f6 44 8b 44 24 3c 45 89 e9 89 d9 48 8b 74 24 18 44 89 e2 48 c7 c7 c0 2c bf 8c e8 88 40 bd f6 90 <0f> 0b 90 90 e9 ff fc ff ff 48 8b 7c 24 30 e8 a4 c6 5d f7 e9 e1 fb
RSP: 0018:ffffc90003d2ed28 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff814e71a9
RDX: ffff888026944880 RSI: ffffffff814e71b6 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000000f
R13: 0000000000000010 R14: 000000000000000c R15: dffffc0000000000
FS:  000055557ee13480(0000) GS:ffff88806a700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000780 CR3: 000000002f872000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rate_control_send_low+0x116/0x820 net/mac80211/rate.c:405
 rate_control_get_rate+0x1be/0x590 net/mac80211/rate.c:921
 ieee80211_tx_h_rate_ctrl+0xabd/0x1a60 net/mac80211/tx.c:763
 invoke_tx_handlers_late+0xd19/0x2c20 net/mac80211/tx.c:1848
 ieee80211_tx+0x306/0x420 net/mac80211/tx.c:1969
 ieee80211_xmit+0x30e/0x3e0 net/mac80211/tx.c:2062
 __ieee80211_tx_skb_tid_band+0x29b/0x700 net/mac80211/tx.c:6104
 ieee80211_tx_skb_tid+0x176/0x4f0 net/mac80211/tx.c:6132
 ieee80211_mgmt_tx+0x152c/0x23a0 net/mac80211/offchannel.c:1023
 rdev_mgmt_tx net/wireless/rdev-ops.h:760 [inline]
 cfg80211_mlme_mgmt_tx+0x7d0/0x1660 net/wireless/mlme.c:937
 nl80211_tx_mgmt+0x7f9/0xd40 net/wireless/nl80211.c:12841
 genl_family_rcv_msg_doit+0x202/0x2f0 net/netlink/genetlink.c:1115
 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
 genl_rcv_msg+0x565/0x800 net/netlink/genetlink.c:1210
 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2550
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
 netlink_unicast+0x53c/0x7f0 net/netlink/af_netlink.c:1357
 netlink_sendmsg+0x8b8/0xd70 net/netlink/af_netlink.c:1901
 sock_sendmsg_nosec net/socket.c:729 [inline]
 __sock_sendmsg net/socket.c:744 [inline]
 ____sys_sendmsg+0xaaf/0xc90 net/socket.c:2602
 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2656
 __sys_sendmsg+0x117/0x1f0 net/socket.c:2685
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa98c6810e9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 1f 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd0c3bf5d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fa98c6810e9
RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 00007fa98c6d15f5 R08: 00007fa98c6d1617 R09: 00007fa98c6d1617
R10: 00007fa98c6d1617 R11: 0000000000000246 R12: 00007fa98c6d1593
R13: 0000000000000003 R14: 0000000000050012 R15: 0000000000000048
 </TASK>

Crashes (3233):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/08 17:24 upstream 87d6aab2389e 402f1df0 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __rate_control_send_low
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/10/20 04:25 upstream 9197b73fd7bb cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in __rate_control_send_low
2024/10/18 02:33 upstream 6efbea77b390 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __rate_control_send_low
2024/10/13 18:28 upstream ba01565ced22 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __rate_control_send_low
2024/10/09 17:41 upstream 75b607fab38d 0278d004 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __rate_control_send_low
2024/09/27 02:57 upstream 075dbe9f6e3c 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in __rate_control_send_low
2024/10/19 18:56 upstream 9197b73fd7bb cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __rate_control_send_low
2024/10/18 23:22 upstream 4d939780b705 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __rate_control_send_low
2024/10/22 00:39 upstream c2ee9f594da8 a93682b3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __rate_control_send_low
2024/10/19 06:39 upstream b04ae0f45168 cd6fc0a3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in __rate_control_send_low
2024/10/05 21:02 upstream fc20a3e57247 d7906eff .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in __rate_control_send_low
2024/10/22 11:35 net d95d9a31aceb a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/22 07:30 net d95d9a31aceb a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/22 06:12 net d95d9a31aceb a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/22 05:12 net d95d9a31aceb a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/21 20:56 net 374d4106cb75 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/21 18:42 net 374d4106cb75 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/21 14:33 net 374d4106cb75 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/21 13:52 net 374d4106cb75 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/21 12:12 net 374d4106cb75 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/21 09:50 net 3b05b9c36ddd cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/21 06:15 net 3b05b9c36ddd cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/21 03:15 net 3b05b9c36ddd cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/21 00:35 net 3b05b9c36ddd cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/20 22:44 net 3b05b9c36ddd cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/20 21:23 net 3b05b9c36ddd cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/20 20:39 net 3b05b9c36ddd cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/20 19:38 net 3b05b9c36ddd cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/20 18:35 net 3b05b9c36ddd cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/20 17:28 net 3b05b9c36ddd cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/20 15:29 net 3b05b9c36ddd cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/20 10:25 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/20 07:00 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/20 02:53 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/20 00:07 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/19 22:36 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/19 19:14 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/19 16:43 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/19 14:20 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/19 12:42 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/19 11:40 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/19 08:48 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/19 04:51 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/19 03:27 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/19 01:44 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/19 00:36 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/18 20:30 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/18 19:22 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/18 17:26 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/18 15:15 net 07d6bf634bc8 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __rate_control_send_low
2024/10/22 09:36 net-next 6d858708d465 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/10/21 07:27 net-next 6d858708d465 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/10/21 01:57 net-next 6d858708d465 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/10/20 13:13 net-next 6d858708d465 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __rate_control_send_low
2024/10/20 07:51 net-next 6d858708d465 cd6fc0a3 .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/09/28 00:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 2b1784d6 .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.