WARNING in sta_info_insert_rcu

30 views
Skip to first unread message

syzbot

unread,
Sep 24, 2020, 7:41:21 AM9/24/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: d09b8017 Linux 4.19.147
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11d3d69b900000
kernel config: https://syzkaller.appspot.com/x/.config?x=47cc70be3c316a0a
dashboard link: https://syzkaller.appspot.com/bug?extid=7b4f03f1c10942ef9a68
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+7b4f03...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 1 PID: 21151 at net/mac80211/sta_info.c:458 sta_info_insert_check net/mac80211/sta_info.c:458 [inline]
WARNING: CPU: 1 PID: 21151 at net/mac80211/sta_info.c:458 sta_info_insert_rcu.cold+0x104/0x280 net/mac80211/sta_info.c:636
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 21151 Comm: kworker/u4:11 Not tainted 4.19.147-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy11 ieee80211_iface_work
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:sta_info_insert_check net/mac80211/sta_info.c:458 [inline]
RIP: 0010:sta_info_insert_rcu.cold+0x104/0x280 net/mac80211/sta_info.c:636
Code: 74 24 30 48 c7 c7 00 29 1c 8b e8 05 96 6a fc 0f b6 44 24 30 e9 10 5a ff ff e8 26 67 26 fa 48 c7 c7 c0 29 cd 88 e8 49 e2 0f fa <0f> 0b 41 bd ea ff ff ff e9 4d 63 ff ff e8 08 67 26 fa 0f b6 f3 48
RSP: 0018:ffff888037b3fa60 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffff8880495cd100 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815b523f RDI: ffffed1006f67f3e
RBP: 0000000000000001 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 000000008540bf2f
R13: ffff888089080348 R14: ffff888089080300 R15: 000000000000bc07
ieee80211_ibss_finish_sta+0x277/0x380 net/mac80211/ibss.c:601
ieee80211_ibss_work+0x2b6/0xec0 net/mac80211/ibss.c:1692
ieee80211_iface_work+0x828/0x900 net/mac80211/iface.c:1366
process_one_work+0x796/0x14e0 kernel/workqueue.c:2155
worker_thread+0x64c/0x1130 kernel/workqueue.c:2298
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
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,
Sep 24, 2020, 8:10:19 AM9/24/20
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: d09b8017 Linux 4.19.147
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14db2c81900000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12921cc3900000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10b02409900000

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

IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
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 ]------------
WARNING: CPU: 0 PID: 6429 at net/mac80211/sta_info.c:458 sta_info_insert_check net/mac80211/sta_info.c:458 [inline]
WARNING: CPU: 0 PID: 6429 at net/mac80211/sta_info.c:458 sta_info_insert_rcu.cold+0x104/0x280 net/mac80211/sta_info.c:636
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 6429 Comm: kworker/u4:6 Not tainted 4.19.147-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy2 ieee80211_iface_work
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:sta_info_insert_check net/mac80211/sta_info.c:458 [inline]
RIP: 0010:sta_info_insert_rcu.cold+0x104/0x280 net/mac80211/sta_info.c:636
Code: 74 24 30 48 c7 c7 00 29 1c 8b e8 05 96 6a fc 0f b6 44 24 30 e9 10 5a ff ff e8 26 67 26 fa 48 c7 c7 c0 29 cd 88 e8 49 e2 0f fa <0f> 0b 41 bd ea ff ff ff e9 4d 63 ff ff e8 08 67 26 fa 0f b6 f3 48
RSP: 0018:ffff88809ec8fa60 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffff88808446a980 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815b523f RDI: ffffed1013d91f3e
RBP: 0000000000000001 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 000000008540bf2f
R13: ffff888087fe8408 R14: ffff888087fe83c0 R15: 000000000000bd07

syzbot

unread,
Sep 27, 2020, 6:10:15 PM9/27/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: cbfa1702 Linux 4.14.198
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=152711d3900000
kernel config: https://syzkaller.appspot.com/x/.config?x=3990958d85b55e59
dashboard link: https://syzkaller.appspot.com/bug?extid=5c2fd4fe5d3518478fda
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+5c2fd4...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 1 PID: 2383 at net/mac80211/sta_info.c:463 sta_info_insert_check net/mac80211/sta_info.c:463 [inline]
WARNING: CPU: 1 PID: 2383 at net/mac80211/sta_info.c:463 sta_info_insert_rcu+0x1cf/0x1f40 net/mac80211/sta_info.c:609
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 2383 Comm: kworker/u4:4 Not tainted 4.14.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy4 ieee80211_iface_work
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
ISO 9660 Extensions: Microsoft Joliet Level 3
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:sta_info_insert_check net/mac80211/sta_info.c:463 [inline]
RIP: 0010:sta_info_insert_rcu+0x1cf/0x1f40 net/mac80211/sta_info.c:609
RSP: 0018:ffff8880a1077ad8 EFLAGS: 00010297
RAX: ffff8880a1062140 RBX: ffff888051015480 RCX: 00000000bd63276f
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88805101654c
RBP: ffff88804af18840 R08: 0000000000000000 R09: 0000000000040635
R10: ffff8880a1062a40 R11: ffff8880a1062140 R12: 00000000bd63377f
R13: 0000000000000001 R14: ffff88805161a008 R15: ffff88804af18888
ieee80211_ibss_finish_sta+0x1db/0x2b0 net/mac80211/ibss.c:601
ieee80211_ibss_work+0x260/0xc90 net/mac80211/ibss.c:1692
ieee80211_iface_work+0x690/0x770 net/mac80211/iface.c:1383
process_one_work+0x793/0x14a0 kernel/workqueue.c:2116
worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250
kthread+0x30d/0x420 kernel/kthread.c:232
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Kernel Offset: disabled
Rebooting in 86400 seconds..


syzbot

unread,
Sep 27, 2020, 6:25:15 PM9/27/20
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: cbfa1702 Linux 4.14.198
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=12c9806b900000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13446bcf900000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1501718d900000

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

IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
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 ]------------
WARNING: CPU: 0 PID: 2972 at net/mac80211/sta_info.c:463 sta_info_insert_check net/mac80211/sta_info.c:463 [inline]
WARNING: CPU: 0 PID: 2972 at net/mac80211/sta_info.c:463 sta_info_insert_rcu+0x1cf/0x1f40 net/mac80211/sta_info.c:609
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 2972 Comm: kworker/u4:4 Not tainted 4.14.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy2 ieee80211_iface_work
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:sta_info_insert_check net/mac80211/sta_info.c:463 [inline]
RIP: 0010:sta_info_insert_rcu+0x1cf/0x1f40 net/mac80211/sta_info.c:609
RSP: 0018:ffff88809d83fad8 EFLAGS: 00010297
RAX: ffff88809d81a180 RBX: ffff88808d935380 RCX: 00000000bd63276f
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88808d93644c
RBP: ffff8880978a0c00 R08: 0000000000000000 R09: ffffffff8951e762
R10: 000000000011e148 R11: ffff88809d81a180 R12: 00000000bd63377f
R13: 0000000000000001 R14: ffff888094aa18c8 R15: ffff8880978a0c48
Reply all
Reply to author
Forward
0 new messages