syzbot


WARNING in rate_control_rate_init (3)

Status: upstream: reported C repro on 2024/07/03 09:56
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+9bdc0c5998ab45b05030@syzkaller.appspotmail.com
First crash: 108d, last: 2h28m
Cause bisection: introduced by (bisect log) :
commit 03ecd745dde181f537bf84374caafb121463136b
Author: Johannes Berg <johannes.berg@intel.com>
Date: Wed Jun 5 10:57:18 2024 +0000

  wifi: mac80211: fix erroneous errors for STA changes

Crash: WARNING in rate_control_rate_init (log)
Repro: C syz .config
  
Discussions (5)
Title Replies (including bot) Last reply
[syzbot] Monthly wireless report (Oct 2024) 0 (1) 2024/10/14 07:15
[syzbot] Monthly wireless report (Sep 2024) 0 (1) 2024/09/12 14:24
[syzbot] Monthly wireless report (Aug 2024) 0 (1) 2024/08/13 08:54
[syzbot] Monthly wireless report (Jul 2024) 0 (1) 2024/07/12 10:05
[syzbot] [wireless?] WARNING in rate_control_rate_init (3) 0 (3) 2024/07/05 09:02
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in rate_control_rate_init 1 322d 322d 0/3 auto-obsoleted due to no activity on 2024/03/07 09:21
upstream WARNING in rate_control_rate_init wireless 2 605d 642d 0/28 auto-obsoleted due to no activity on 2023/06/18 23:31
upstream WARNING in rate_control_rate_init (2) wireless C done 9 299d 471d 25/28 fixed on 2024/01/20 21:18

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5335 at net/mac80211/rate.c:48 rate_control_rate_init+0x543/0x690 net/mac80211/rate.c:48
Modules linked in:
CPU: 1 UID: 0 PID: 5335 Comm: syz-executor228 Not tainted 6.11.0-rc7-syzkaller-00149-g0babf683783d #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_rate_init+0x543/0x690 net/mac80211/rate.c:48
Code: 48 c7 c2 80 0d 9e 8c be 63 03 00 00 48 c7 c7 40 0d 9e 8c c6 05 35 f0 75 05 01 e8 68 06 e2 f6 e9 e0 fd ff ff e8 ae af 04 f7 90 <0f> 0b 90 e9 36 ff ff ff e8 a0 af 04 f7 e8 ab 0e eb f6 31 ff 89 c3
RSP: 0018:ffffc900035a7258 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888034680000 RCX: ffffffff8a871ecc
RDX: ffff888028264880 RSI: ffffffff8a872092 RDI: 0000000000000005
RBP: ffff888028830200 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: ffff888028ca0e40 R15: ffff888030860000
FS:  000055557ed48380(0000) GS:ffff88806a700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555cd59dd9d8 CR3: 000000003144a000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 sta_apply_auth_flags.constprop.0+0x4bb/0x510 net/mac80211/cfg.c:1708
 sta_apply_parameters+0xb6e/0x1740 net/mac80211/cfg.c:2058
 ieee80211_add_station+0x3fa/0x6c0 net/mac80211/cfg.c:2124
 rdev_add_station net/wireless/rdev-ops.h:201 [inline]
 nl80211_new_station+0x146d/0x1bf0 net/wireless/nl80211.c:7775
 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:730 [inline]
 __sock_sendmsg net/socket.c:745 [inline]
 ____sys_sendmsg+0xab5/0xc90 net/socket.c:2597
 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2651
 __sys_sendmsg+0x117/0x1f0 net/socket.c:2680
 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:0x7f375cdfc559
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:00007ffe759e5e08 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ffe759e5fd8 RCX: 00007f375cdfc559
RDX: 0000000000000000 RSI: 00000000200004c0 RDI: 0000000000000004
RBP: 00007f375ce6f610 R08: 0000000000000006 R09: 00007ffe759e5fd8
R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffe759e5fc8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (1485):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/15 09:53 upstream 0babf683783d 08d8a733 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in rate_control_rate_init
2024/07/04 20:46 net-next aa77b1128016 dc6bbff0 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in rate_control_rate_init
2024/10/14 21:36 upstream eca631b8fe80 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in rate_control_rate_init
2024/10/14 15:59 upstream 6485cf5ea253 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in rate_control_rate_init
2024/10/13 07:29 upstream 36c254515dc6 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in rate_control_rate_init
2024/10/11 21:47 upstream 9e4c6c1ad9a1 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in rate_control_rate_init
2024/10/10 13:53 upstream d3d1556696c1 8fbfc0c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in rate_control_rate_init
2024/10/07 23:30 upstream 8cf0b93919e1 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in rate_control_rate_init
2024/09/14 04:35 upstream e936e7d4a83b 158f4851 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in rate_control_rate_init
2024/09/14 03:11 upstream e936e7d4a83b 158f4851 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in rate_control_rate_init
2024/07/26 21:22 upstream 2f8c4f506285 3f86dfed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in rate_control_rate_init
2024/10/12 03:24 upstream 9e4c6c1ad9a1 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in rate_control_rate_init
2024/10/11 14:55 upstream 1d227fcc7222 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in rate_control_rate_init
2024/10/10 03:16 upstream b983b271662b 0278d004 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in rate_control_rate_init
2024/10/09 02:51 upstream 5b7c893ed5ed 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in rate_control_rate_init
2024/10/10 10:06 upstream d3d1556696c1 a156c552 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in rate_control_rate_init
2024/10/07 02:31 upstream 2a130b7e1fcd d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in rate_control_rate_init
2024/10/09 11:53 upstream 75b607fab38d 56fb2cb7 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in rate_control_rate_init
2024/10/16 00:03 net c186b7a7f238 bde2d81c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/15 14:11 net 25c12b459db8 14943bb8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/15 06:43 net 0b84db5d8f25 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/15 01:08 net 0b84db5d8f25 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/14 23:29 net 0b84db5d8f25 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/14 19:38 net 0b84db5d8f25 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/14 12:42 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/14 09:08 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/14 05:32 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/14 04:01 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/14 01:47 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/14 00:00 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/13 20:41 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/13 17:28 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/13 14:23 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/13 10:40 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/13 08:41 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/13 03:32 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/13 01:41 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/13 00:39 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/12 21:05 net 174714f0e505 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/12 10:12 net 8a6be4bd6fb3 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/12 09:11 net 8a6be4bd6fb3 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/12 08:11 net 8a6be4bd6fb3 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/12 00:40 net 8a6be4bd6fb3 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/11 19:34 net 1d227fcc7222 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/11 07:47 net 1d227fcc7222 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/11 01:03 net a354733c738d 8fbfc0c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/09 16:57 net 08c8acc9d8f3 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/09 14:47 net 08c8acc9d8f3 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/09 13:32 net 08c8acc9d8f3 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/09 10:03 net 08c8acc9d8f3 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/08 19:11 net f15b8d6eb638 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in rate_control_rate_init
2024/10/13 05:42 net-next c531f2269a53 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in rate_control_rate_init
2024/07/03 05:53 net-next ac26327635d6 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in rate_control_rate_init
2024/06/29 09:46 net-next 748e3bbf4721 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in rate_control_rate_init
2024/10/15 10:21 linux-next b852e1e7a038 14943bb8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in rate_control_rate_init
2024/10/15 04:07 linux-next 7f773fd61baa b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in rate_control_rate_init
2024/10/09 22:18 linux-next 33ce24234fca 0278d004 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in rate_control_rate_init
2024/10/09 18:39 linux-next 33ce24234fca 0278d004 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in rate_control_rate_init
2024/10/08 17:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 80cb3fb61135 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in rate_control_rate_init
* Struck through repros no longer work on HEAD.