WARNING in ieee80211_bss_info_change_notify

12 views
Skip to first unread message

syzbot

unread,
Oct 2, 2020, 3:16:16 AM10/2/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: b09c3451 Linux 4.19.149
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15b7025d900000
kernel config: https://syzkaller.appspot.com/x/.config?x=d7c6dfb55644e8fd
dashboard link: https://syzkaller.appspot.com/bug?extid=e7b7d0a1d17c8ec2e943
compiler: gcc (GCC) 10.1.0-syz 20200507

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

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

------------[ cut here ]------------
wlan0: Failed check-sdata-in-driver check, flags: 0x4
WARNING: CPU: 1 PID: 15322 at net/mac80211/driver-ops.h:17 check_sdata_in_driver net/mac80211/driver-ops.h:17 [inline]
WARNING: CPU: 1 PID: 15322 at net/mac80211/driver-ops.h:17 drv_bss_info_changed net/mac80211/driver-ops.h:173 [inline]
WARNING: CPU: 1 PID: 15322 at net/mac80211/driver-ops.h:17 ieee80211_bss_info_change_notify+0x886/0x980 net/mac80211/main.c:204
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 15322 Comm: syz-executor.2 Not tainted 4.19.149-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
UDF-fs: error (device loop4): udf_process_sequence: Primary Volume Descriptor not found!
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x22c/0x33e lib/dump_stack.c:118
panic+0x2ac/0x565 kernel/panic.c:186
__warn.cold+0x20/0x5a 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+0x1e1/0x330 arch/x86/kernel/traps.c:296
UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2020/09/19 18:44 (1000)
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:check_sdata_in_driver net/mac80211/driver-ops.h:17 [inline]
RIP: 0010:drv_bss_info_changed net/mac80211/driver-ops.h:173 [inline]
RIP: 0010:ieee80211_bss_info_change_notify+0x886/0x980 net/mac80211/main.c:204
Code: 00 00 48 8b ab 28 05 00 00 48 85 ed 74 53 e8 91 75 26 fa e8 8c 75 26 fa 44 89 fa 48 89 ee 48 c7 c7 e0 51 cd 88 e8 b0 21 f7 f9 <0f> 0b e9 b7 f8 ff ff e8 6e 75 26 fa 0f 0b e9 ce fa ff ff e8 62 75
RSP: 0018:ffff888087647608 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88804a36db40 RCX: 0000000000000000
RDX: 000000000001cd71 RSI: ffffffff815b623f RDI: ffffed1010ec8eb3
RBP: ffff88804a36d080 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000002000000
R13: ffff88804a36ead0 R14: 0000000000000000 R15: 0000000000000004
ieee80211_set_mcast_rate+0x37/0x40 net/mac80211/cfg.c:2290
rdev_set_mcast_rate net/wireless/rdev-ops.h:1192 [inline]
nl80211_set_mcast_rate+0x355/0x970 net/wireless/nl80211.c:9111
genl_family_rcv_msg+0x6bf/0xd50 net/netlink/genetlink.c:602
genl_rcv_msg+0xdf/0x1b0 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+0x717/0xcc0 net/netlink/af_netlink.c:1909
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc7/0x130 net/socket.c:632
___sys_sendmsg+0x7bb/0x8f0 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/0x670 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45dd99
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f75a4f47c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002bf40 RCX: 000000000045dd99
RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000004
RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007ffd5b8aabbf R14: 00007f75a4f489c0 R15: 000000000118bf2c
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

unread,
Oct 6, 2020, 10:46:25 AM10/6/20
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: b09c3451 Linux 4.19.149
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17a9efff900000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=159d0063900000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10f9e0d0500000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+e7b7d0...@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
------------[ cut here ]------------
wlan1: Failed check-sdata-in-driver check, flags: 0x4
WARNING: CPU: 0 PID: 6535 at net/mac80211/driver-ops.h:17 check_sdata_in_driver net/mac80211/driver-ops.h:17 [inline]
WARNING: CPU: 0 PID: 6535 at net/mac80211/driver-ops.h:17 drv_bss_info_changed net/mac80211/driver-ops.h:173 [inline]
WARNING: CPU: 0 PID: 6535 at net/mac80211/driver-ops.h:17 ieee80211_bss_info_change_notify+0x886/0x980 net/mac80211/main.c:204
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 6535 Comm: syz-executor291 Not tainted 4.19.149-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+0x22c/0x33e lib/dump_stack.c:118
panic+0x2ac/0x565 kernel/panic.c:186
__warn.cold+0x20/0x5a 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+0x1e1/0x330 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:check_sdata_in_driver net/mac80211/driver-ops.h:17 [inline]
RIP: 0010:drv_bss_info_changed net/mac80211/driver-ops.h:173 [inline]
RIP: 0010:ieee80211_bss_info_change_notify+0x886/0x980 net/mac80211/main.c:204
Code: 00 00 48 8b ab 28 05 00 00 48 85 ed 74 53 e8 91 75 26 fa e8 8c 75 26 fa 44 89 fa 48 89 ee 48 c7 c7 e0 51 cd 88 e8 b0 21 f7 f9 <0f> 0b e9 b7 f8 ff ff e8 6e 75 26 fa 0f 0b e9 ce fa ff ff e8 62 75
RSP: 0018:ffff8880a0d07608 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff888087c1db00 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815b623f RDI: ffffed10141a0eb3
RBP: ffff888087c1d040 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000002000000
R13: ffff888087c1ea90 R14: 0000000000000000 R15: 0000000000000004
ieee80211_set_mcast_rate+0x37/0x40 net/mac80211/cfg.c:2290
rdev_set_mcast_rate net/wireless/rdev-ops.h:1192 [inline]
nl80211_set_mcast_rate+0x355/0x970 net/wireless/nl80211.c:9111
genl_family_rcv_msg+0x6bf/0xd50 net/netlink/genetlink.c:602
genl_rcv_msg+0xdf/0x1b0 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+0x717/0xcc0 net/netlink/af_netlink.c:1909
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc7/0x130 net/socket.c:632
___sys_sendmsg+0x7bb/0x8f0 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/0x670 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x442039
Code: e8 ac 00 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 7b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fffbe59dd48 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000442039
RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000001d00000000 R09: 0000001d00000000
R10: 0000001d00000000 R11: 0000000000000246 R12: 0000000000000032
R13: 0000000000000000 R14: 000000000000000c R15: 0000000000000004
Reply all
Reply to author
Forward
0 new messages