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