WARNING in __cfg80211_ibss_joined

9 views
Skip to first unread message

syzbot

unread,
Sep 24, 2020, 9:20:21 AM9/24/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=13b19d9b900000
kernel config: https://syzkaller.appspot.com/x/.config?x=3990958d85b55e59
dashboard link: https://syzkaller.appspot.com/bug?extid=2da49cf28199dad792b6
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+2da49c...@syzkaller.appspotmail.com

IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5 at net/wireless/ibss.c:36 __cfg80211_ibss_joined+0x33a/0x3d0 net/wireless/ibss.c:36
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 5 Comm: kworker/u4:0 Not tainted 4.14.198-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: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:__cfg80211_ibss_joined+0x33a/0x3d0 net/wireless/ibss.c:36
RSP: 0018:ffff8880a983fc48 EFLAGS: 00010297
RAX: ffff8880a982c140 RBX: ffff888057d69810 RCX: 1ffff1101530594c
RDX: 0000000000000000 RSI: ffff8880a982ca40 RDI: ffff8880a982c9c4
RBP: ffff888057d68d40 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff11015307f8a
R13: ffff88809b1fab18 R14: 0000000000000000 R15: ffff888057d69888
cfg80211_process_wdev_events+0x1f5/0x580 net/wireless/util.c:961
cfg80211_process_rdev_events+0x63/0xa0 net/wireless/util.c:984
cfg80211_event_work+0x1a/0x20 net/wireless/core.c:305
process_one_work+0x793/0x14a0 kernel/workqueue.c:2116
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
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
CPU: 0 PID: 9432 Comm: syz-executor.5 Not tainted 4.14.198-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
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0x10a/0x154 lib/fault-inject.c:149
should_failslab+0xd6/0x130 mm/failslab.c:32
slab_pre_alloc_hook mm/slab.h:421 [inline]
slab_alloc mm/slab.c:3376 [inline]
kmem_cache_alloc_trace+0x47/0x3d0 mm/slab.c:3616
kmalloc include/linux/slab.h:488 [inline]
proc_self_get_link+0x15e/0x1c0 fs/proc/self.c:21
get_link fs/namei.c:1092 [inline]
link_path_walk+0xc47/0x10a0 fs/namei.c:2160
path_openat+0x15e/0x2970 fs/namei.c:3568
do_filp_open+0x179/0x3c0 fs/namei.c:3603
do_sys_open+0x296/0x410 fs/open.c:1081
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x417aa1
RSP: 002b:00007fcea753cbb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fcea753cbd0 RCX: 0000000000417aa1
RDX: 00007fcea753cbdf RSI: 0000000000000002 RDI: 00007fcea753cbd0
RBP: 00007fcea753cca0 R08: 0000000000000000 R09: 000000000000000f
R10: 0000000000000004 R11: 0000000000000293 R12: 0000000000000004
R13: 00007ffc7ef21daf R14: 00007fcea753d9c0 R15: 000000000118cf4c
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, 12:56:21 PM9/24/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=14a881c3900000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13ff928d900000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1476adc5900000

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

wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
------------[ cut here ]------------
WARNING: CPU: 1 PID: 2335 at net/wireless/ibss.c:36 __cfg80211_ibss_joined+0x33a/0x3d0 net/wireless/ibss.c:36
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 2335 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: cfg80211 cfg80211_event_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:__cfg80211_ibss_joined+0x33a/0x3d0 net/wireless/ibss.c:36
RSP: 0018:ffff8880a15c7c48 EFLAGS: 00010297
RAX: ffff8880a15b8300 RBX: ffff8880a0d98c90 RCX: 1ffff110142b7184
RDX: 0000000000000000 RSI: ffff8880a15b8c00 RDI: ffff8880a15b8b84
RBP: ffff8880a0d981c0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff110142b8f8a
R13: ffff88809fe5a118 R14: 0000000000000000 R15: ffff8880a0d98d08
cfg80211_process_wdev_events+0x1f5/0x580 net/wireless/util.c:961
cfg80211_process_rdev_events+0x63/0xa0 net/wireless/util.c:984
cfg80211_event_work+0x1a/0x20 net/wireless/core.c:305
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
Reply all
Reply to author
Forward
0 new messages