WARNING in __cfg80211_ibss_joined

7 views
Skip to first unread message

syzbot

unread,
Nov 1, 2020, 12:19:20 PM11/1/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: f5d8eef0 Linux 4.19.154
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15092dea500000
kernel config: https://syzkaller.appspot.com/x/.config?x=be9b9357b4680aa1
dashboard link: https://syzkaller.appspot.com/bug?extid=09f2dde8438cc109f77d
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+09f2dd...@syzkaller.appspotmail.com

bridge0: port 1(bridge_slave_0) entered disabled state
batman_adv: batadv0: Interface deactivated: batadv_slave_0
batman_adv: batadv0: Interface deactivated: batadv_slave_1
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
------------[ cut here ]------------
WARNING: CPU: 0 PID: 9525 at net/wireless/ibss.c:36 __cfg80211_ibss_joined.cold+0x41/0x48 net/wireless/ibss.c:36
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 9525 Comm: kworker/u4:7 Not tainted 4.19.154-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: cfg80211 cfg80211_event_work
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:__cfg80211_ibss_joined.cold+0x41/0x48 net/wireless/ibss.c:36
Code: ff e8 e0 9a ba f9 48 c7 c7 e0 c8 65 89 e8 e3 94 a5 f9 0f 0b e9 69 c6 ff ff e8 c8 9a ba f9 48 c7 c7 e0 c8 65 89 e8 cb 94 a5 f9 <0f> 0b e9 51 c6 ff ff e8 b0 9a ba f9 48 c7 c7 e0 c8 65 89 e8 b3 94
RSP: 0000:ffff888055bafc00 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffff88809ec28f50 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814fdb21 RDI: ffffed100ab75f72
RBP: ffff88809ec28480 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 1ffff1100ab75f81
R13: ffff88809ff1c018 R14: 0000000000000000 R15: 0000000000000006
cfg80211_process_wdev_events+0x3db/0x5b0 net/wireless/util.c:846
cfg80211_process_rdev_events+0x6e/0x100 net/wireless/util.c:872
cfg80211_event_work+0x1a/0x20 net/wireless/core.c:305
process_one_work+0x864/0x1570 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,
Feb 21, 2021, 11:29:18 AM2/21/21
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 255b58a2 Linux 4.19.176
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17c0bca8d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=b270830ae46c1d6f
dashboard link: https://syzkaller.appspot.com/bug?extid=09f2dde8438cc109f77d
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16912446d00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16aa3acad00000

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

wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: 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
------------[ cut here ]------------
WARNING: CPU: 1 PID: 23 at net/wireless/ibss.c:36 __cfg80211_ibss_joined.cold+0x41/0x48 net/wireless/ibss.c:36
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 23 Comm: kworker/u4:1 Not tainted 4.19.176-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: cfg80211 cfg80211_event_work
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
panic+0x26a/0x50e 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+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:__cfg80211_ibss_joined.cold+0x41/0x48 net/wireless/ibss.c:36
Code: ff e8 b2 23 51 f9 48 c7 c7 20 0e 66 89 e8 50 85 df ff 0f 0b e9 eb 11 77 ff e8 9a 23 51 f9 48 c7 c7 20 0e 66 89 e8 38 85 df ff <0f> 0b e9 d3 11 77 ff e8 82 23 51 f9 48 c7 c7 20 0e 66 89 e8 20 85
RSP: 0018:ffff8880b504fc00 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffff8880926fcf90 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814de301 RDI: ffffed1016a09f72
RBP: ffff8880926fc4c0 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 1ffff11016a09f81
R13: ffff8880af196e18 R14: 0000000000000000 R15: 0000000000000007
cfg80211_process_wdev_events+0x3db/0x5b0 net/wireless/util.c:846
cfg80211_process_rdev_events+0x6e/0x100 net/wireless/util.c:872
cfg80211_event_work+0x1a/0x20 net/wireless/core.c:305
process_one_work+0x864/0x1570 kernel/workqueue.c:2152
worker_thread+0x64c/0x1130 kernel/workqueue.c:2295
Reply all
Reply to author
Forward
0 new messages