WARNING in ieee80211_check_rate_mask

13 views
Skip to first unread message

syzbot

unread,
Oct 27, 2020, 3:51:17 AM10/27/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 5b7a52cd Linux 4.14.202
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=143fac18500000
kernel config: https://syzkaller.appspot.com/x/.config?x=fa386e02ca459165
dashboard link: https://syzkaller.appspot.com/bug?extid=d12c2b22d2a6478c137a
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17a00c4c500000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=120e4128500000

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

wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
netlink: 20 bytes leftover after parsing attributes in process `syz-executor756'.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8003 at net/mac80211/rate.c:279 ieee80211_check_rate_mask+0x234/0x2d0 net/mac80211/rate.c:279
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8003 Comm: syz-executor756 Not tainted 4.14.202-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x283 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x20/0x4b kernel/panic.c:547
report_bug+0x208/0x249 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:ieee80211_check_rate_mask+0x234/0x2d0 net/mac80211/rate.c:279
RSP: 0018:ffff888098117638 EFLAGS: 00010297
RAX: ffff888097630440 RBX: ffff8880b1ad1280 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff8880a2a42920 RDI: ffff8880b1ad2290
RBP: ffff8880a2a429f8 R08: ffff8880b1ad2260 R09: 0000000000000004
R10: 0000000000000000 R11: ffff888097630440 R12: 0000000000000020
R13: 0000000000000000 R14: ffff8880b1ad1280 R15: 0000000000000000
ieee80211_change_bss+0x47e/0xa60 net/mac80211/cfg.c:2051
rdev_change_bss net/wireless/rdev-ops.h:380 [inline]
nl80211_set_bss+0x70b/0xe50 net/wireless/nl80211.c:5687
genl_family_rcv_msg+0x572/0xb20 net/netlink/genetlink.c:600
genl_rcv_msg+0xaf/0x140 net/netlink/genetlink.c:625
netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
sock_sendmsg_nosec net/socket.c:646 [inline]
sock_sendmsg+0xb5/0x100 net/socket.c:656
___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
__sys_sendmsg+0xa3/0x120 net/socket.c:2096
SYSC_sendmsg net/socket.c:2107 [inline]
SyS_sendmsg+0x27/0x40 net/socket.c:2103
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x4419c9
RSP: 002b:00007ffd9dc66958 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004419c9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000004
RBP: 000000306e616c77 R08: 0000000000000000 R09: 0000001300000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000032
R13: 0000000000000000 R14: 000000000000000c R15: 0000000000000004
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
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.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

syzbot

unread,
Nov 5, 2020, 11:49:15 PM11/5/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: b94de4d1 Linux 4.19.155
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11a24746500000
kernel config: https://syzkaller.appspot.com/x/.config?x=252047157acf1cb1
dashboard link: https://syzkaller.appspot.com/bug?extid=366ba7ce5ed51ee32a19
compiler: gcc (GCC) 10.1.0-syz 20200507
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1612e7a8500000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1352ac3a500000

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

wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
netlink: 20 bytes leftover after parsing attributes in process `syz-executor384'.
WARNING: CPU: 0 PID: 8108 at net/mac80211/rate.c:279 ieee80211_check_rate_mask+0x243/0x2c0 net/mac80211/rate.c:279
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8108 Comm: syz-executor384 Not tainted 4.19.155-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2fe lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x61 kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:ieee80211_check_rate_mask+0x243/0x2c0 net/mac80211/rate.c:279
Code: 83 c2 03 38 ca 7c 04 84 c9 75 47 89 84 ab c8 09 00 00 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f e9 b2 36 a9 f9 e8 ad 36 a9 f9 <0f> 0b eb e4 e8 54 5f df f9 e9 ed fd ff ff 4c 89 ef e8 47 5f df f9
RSP: 0018:ffff88809f05f578 EFLAGS: 00010293
RAX: ffff8880b27e4140 RBX: ffff8880b02e9c80 RCX: ffffffff87bb9626
RDX: 0000000000000000 RSI: ffffffff87bb97e3 RDI: 0000000000000005
RBP: ffff8880a257a8d8 R08: ffff8880b02eac48 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: 00000000ffffffff R14: ffff8880b02e9c80 R15: 0000000000000000
ieee80211_change_bss+0x528/0xbd0 net/mac80211/cfg.c:2066
rdev_change_bss net/wireless/rdev-ops.h:380 [inline]
nl80211_set_bss+0x78d/0xf50 net/wireless/nl80211.c:6029
genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602
genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:632
___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115
__sys_sendmsg net/socket.c:2153 [inline]
__do_sys_sendmsg net/socket.c:2162 [inline]
__se_sys_sendmsg net/socket.c:2160 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2160
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4419b9
Code: e8 dc 05 03 00 48 83 c4 18 c3 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 0f 83 8b 0d fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffd4db436d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004419b9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000004
RBP: 000000306e616c77 R08: 0000000000000000 R09: 0000001d00000000
Reply all
Reply to author
Forward
0 new messages