[v6.1] WARNING in ieee80211_check_rate_mask

0 views
Skip to first unread message

syzbot

unread,
Nov 13, 2023, 4:51:20 PM11/13/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: fb2635ac69ab Linux 6.1.62
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1252ef87680000
kernel config: https://syzkaller.appspot.com/x/.config?x=87ac2800e03db39a
dashboard link: https://syzkaller.appspot.com/bug?extid=07bee335584b04e7c2f8
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/dcc1cd63efb4/disk-fb2635ac.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/7ba80cff2748/vmlinux-fb2635ac.xz
kernel image: https://storage.googleapis.com/syzbot-assets/7224e10d13ba/Image-fb2635ac.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+07bee3...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 1 PID: 11506 at net/mac80211/rate.c:290 ieee80211_check_rate_mask+0x220/0x368 net/mac80211/rate.c:290
Modules linked in:
CPU: 1 PID: 11506 Comm: syz-executor.3 Not tainted 6.1.62-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ieee80211_check_rate_mask+0x220/0x368 net/mac80211/rate.c:290
lr : ieee80211_check_rate_mask+0x220/0x368 net/mac80211/rate.c:290
sp : ffff80001eca70f0
x29: ffff80001eca70f0 x28: dfff800000000000 x27: ffff000120282260
x26: ffff00011fb3e420 x25: ffff000120280c80 x24: dfff800000000000
x23: ffff0001201d3488 x22: ffff0001201d0ea0 x21: 0000000000000000
x20: ffff0001202827f0 x19: 0000000000000000 x18: 0000000000000000
x17: 00000000ffff0000 x16: ffff8000084fd328 x15: 0000000000000000
x14: 0000000000000002 x13: 0000000000000003 x12: 0000000000040000
x11: 0000000000000c5a x10: ffff800027488000 x9 : ffff800011a19f78
x8 : 0000000000000c5b x7 : ffff800011a42674 x6 : 0000000000000000
x5 : 0000000000000000 x4 : ffff000120282828 x3 : 0000000000000000
x2 : ffff00011fb3e420 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
ieee80211_check_rate_mask+0x220/0x368 net/mac80211/rate.c:290
ieee80211_change_bss+0x3b8/0x7fc net/mac80211/cfg.c:2609
rdev_change_bss net/wireless/rdev-ops.h:405 [inline]
nl80211_set_bss+0x6e0/0xc38 net/wireless/nl80211.c:7850
genl_family_rcv_msg_doit net/netlink/genetlink.c:756 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:833 [inline]
genl_rcv_msg+0x948/0xc2c net/netlink/genetlink.c:850
netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2508
genl_rcv+0x38/0x50 net/netlink/genetlink.c:861
netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
netlink_unicast+0x65c/0x898 net/netlink/af_netlink.c:1352
netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1874
sock_sendmsg_nosec net/socket.c:716 [inline]
__sock_sendmsg net/socket.c:728 [inline]
____sys_sendmsg+0x558/0x844 net/socket.c:2499
___sys_sendmsg net/socket.c:2553 [inline]
__sys_sendmsg+0x26c/0x33c net/socket.c:2582
__do_sys_sendmsg net/socket.c:2591 [inline]
__se_sys_sendmsg net/socket.c:2589 [inline]
__arm64_sys_sendmsg+0x80/0x94 net/socket.c:2589
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 674
hardirqs last enabled at (673): [<ffff80000896a430>] ___slab_alloc+0xd08/0xee0 mm/slub.c:3132
hardirqs last disabled at (674): [<ffff8000121311d4>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (666): [<ffff80001041e9c4>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (660): [<ffff80001041e990>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Mar 20, 2024, 7:49:23 PMMar 20
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: d7543167affd Linux 6.1.82
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=16b7e279180000
kernel config: https://syzkaller.appspot.com/x/.config?x=59059e181681c079
dashboard link: https://syzkaller.appspot.com/bug?extid=07bee335584b04e7c2f8
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=122bb7a5180000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14dfa479180000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/88220954516a/disk-d7543167.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/c9062e074717/vmlinux-d7543167.xz
kernel image: https://storage.googleapis.com/syzbot-assets/70391b45a752/bzImage-d7543167.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+07bee3...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 1 PID: 3543 at net/mac80211/rate.c:290 ieee80211_check_rate_mask+0x25f/0x3c0
Modules linked in:
CPU: 1 PID: 3543 Comm: syz-executor503 Not tainted 6.1.82-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:ieee80211_check_rate_mask+0x25f/0x3c0 net/mac80211/rate.c:290
Code: 38 84 c0 0f 85 96 00 00 00 41 89 2c 24 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 aa 72 81 f7 0f 0b eb e8 e8 a1 72 81 f7 <0f> 0b eb df 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 1f fe ff ff e8 98
RSP: 0018:ffffc90003adf350 EFLAGS: 00010293
RAX: ffffffff8a0910ef RBX: 0000000000000000 RCX: ffff888027298000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8880215455a8 R08: ffffffff8a090f88 R09: ffffffff8a0b0af3
R10: 0000000000000002 R11: ffff888027298000 R12: 0000000000000000
R13: ffff888021544c80 R14: ffff888021920e80 R15: dffffc0000000000
FS: 0000555557478380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f2e52405d8 CR3: 000000001a7c6000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ieee80211_change_bss+0x46e/0x940 net/mac80211/cfg.c:2611
rdev_change_bss net/wireless/rdev-ops.h:405 [inline]
nl80211_set_bss+0x84c/0xd40 net/wireless/nl80211.c:7853
genl_family_rcv_msg_doit net/netlink/genetlink.c:756 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:833 [inline]
genl_rcv_msg+0xc1a/0xf70 net/netlink/genetlink.c:850
netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2508
genl_rcv+0x24/0x40 net/netlink/genetlink.c:861
netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
netlink_unicast+0x7d8/0x970 net/netlink/af_netlink.c:1352
netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1874
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
____sys_sendmsg+0x5a5/0x8f0 net/socket.c:2514
___sys_sendmsg net/socket.c:2568 [inline]
__sys_sendmsg+0x2a9/0x390 net/socket.c:2597
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f39755d36d9
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:00007fff6dca20f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fff6dca22c8 RCX: 00007f39755d36d9
RDX: 0000000000000000 RSI: 00000000200006c0 RDI: 0000000000000004
RBP: 00007f3975646610 R08: 00007fff6dca22c8 R09: 00007fff6dca22c8
R10: 0000000000000024 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fff6dca22b8 R14: 0000000000000001 R15: 0000000000000001
</TASK>


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
Reply all
Reply to author
Forward
0 new messages