Hello,
syzbot found the following issue on:
HEAD commit: 7eaef76fbc46 Linux 6.1.20
git tree: linux-6.1.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=13c5ef21c80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=29ad3fe3c7b61175
dashboard link:
https://syzkaller.appspot.com/bug?extid=06ac196aa9b02158d28c
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=1449c086c80000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=125b5e4ac80000
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/34f95428f5fb/disk-7eaef76f.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/1bdd9b2c390d/vmlinux-7eaef76f.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/419140981cfa/Image-7eaef76f.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+06ac19...@syzkaller.appspotmail.com
------------[ cut here ]------------
WARNING: CPU: 0 PID: 153 at net/wireless/ibss.c:37 __cfg80211_ibss_joined+0x3f4/0x508 net/wireless/ibss.c:37
Modules linked in:
CPU: 0 PID: 153 Comm: kworker/u4:4 Not tainted 6.1.20-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: cfg80211 cfg80211_event_work
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __cfg80211_ibss_joined+0x3f4/0x508 net/wireless/ibss.c:37
lr : __cfg80211_ibss_joined+0x3f4/0x508 net/wireless/ibss.c:37
sp : ffff80001db579a0
x29: ffff80001db57a30 x28: ffff0000ce4fc000 x27: ffff0000ce4fcc90
x26: 1ffff00003b6af38 x25: dfff800000000000 x24: ffff0000ce4fc000
x23: 0000000000000006 x22: ffff0000d9da3658 x21: ffff0000ce4fcc90
x20: ffff0000c9f95018 x19: ffff0000ce4fcdf0 x18: 0000000000000140
x17: ffff0000cb3e7288 x16: ffff800008503bb4 x15: 0000000000000000
x14: 1ffff00002ae60b0 x13: dfff800000000000 x12: 0000000000000003
x11: ff808000119f6534 x10: 0000000000000000 x9 : ffff8000119f6534
x8 : ffff0000c4eb8000 x7 : ffff800011937200 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000006 x1 : ffff8000123ad060 x0 : 0000000000000000
Call trace:
__cfg80211_ibss_joined+0x3f4/0x508 net/wireless/ibss.c:37
cfg80211_process_wdev_events+0x328/0x450 net/wireless/util.c:986
cfg80211_process_rdev_events+0xc8/0x12c net/wireless/util.c:1012
cfg80211_event_work+0x34/0x4c net/wireless/core.c:328
process_one_work+0x868/0x16f4 kernel/workqueue.c:2289
worker_thread+0x8e4/0xfec kernel/workqueue.c:2436
kthread+0x24c/0x2d4 kernel/kthread.c:376
ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
irq event stamp: 71142
hardirqs last enabled at (71141): [<ffff8000081cafb0>] __local_bh_enable_ip+0x258/0x4d0 kernel/softirq.c:401
hardirqs last disabled at (71142): [<ffff8000122560d4>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (71140): [<ffff8000119377c0>] spin_unlock_bh include/linux/spinlock.h:395 [inline]
softirqs last enabled at (71140): [<ffff8000119377c0>] cfg80211_get_bss+0x7ec/0xce0 net/wireless/scan.c:1471
softirqs last disabled at (71138): [<ffff800011937200>] spin_lock_bh include/linux/spinlock.h:355 [inline]
softirqs last disabled at (71138): [<ffff800011937200>] cfg80211_get_bss+0x22c/0xce0 net/wireless/scan.c:1445
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 153 at net/wireless/ibss.c:37 __cfg80211_ibss_joined+0x3f4/0x508 net/wireless/ibss.c:37
Modules linked in:
CPU: 0 PID: 153 Comm: kworker/u4:4 Tainted: G W 6.1.20-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: cfg80211 cfg80211_event_work
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __cfg80211_ibss_joined+0x3f4/0x508 net/wireless/ibss.c:37
lr : __cfg80211_ibss_joined+0x3f4/0x508 net/wireless/ibss.c:37
sp : ffff80001db579a0
x29: ffff80001db57a30 x28: ffff0000ce4fc000 x27: ffff0000ce4fcc90
x26: 1ffff00003b6af38 x25: dfff800000000000 x24: ffff0000ce4fc000
x23: 0000000000000006 x22: ffff0000d9da3658 x21: ffff0000ce4fcc90
x20: ffff0000ca8ae018 x19: ffff0000ce4fcdf0 x18: 0000000000000140
x17: ffff0000cb3e7288 x16: ffff800008503bb4 x15: 0000000000000000
x14: 1ffff00002ae60b0 x13: dfff800000000000 x12: 0000000000000003
x11: ff808000119f6534
x10: 0000000000000000 x9 : ffff8000119f6534
x8 : ffff0000c4eb8000 x7 : ffff800011937200 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000006 x1 : ffff8000123ad060 x0 : 0000000000000000
Call trace:
__cfg80211_ibss_joined+0x3f4/0x508 net/wireless/ibss.c:37
cfg80211_process_wdev_events+0x328/0x450 net/wireless/util.c:986
cfg80211_process_rdev_events+0xc8/0x12c net/wireless/util.c:1012
cfg80211_event_work+0x34/0x4c net/wireless/core.c:328
process_one_work+0x868/0x16f4 kernel/workqueue.c:2289
worker_thread+0x8e4/0xfec kernel/workqueue.c:2436
kthread+0x24c/0x2d4 kernel/kthread.c:376
ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
irq event stamp: 71168
hardirqs last enabled at (71167): [<ffff8000081cafb0>] __local_bh_enable_ip+0x258/0x4d0 kernel/softirq.c:401
hardirqs last disabled at (71168): [<ffff8000122560d4>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (71166): [<ffff8000119377c0>] spin_unlock_bh include/linux/spinlock.h:395 [inline]
softirqs last enabled at (71166): [<ffff8000119377c0>] cfg80211_get_bss+0x7ec/0xce0 net/wireless/scan.c:1471
softirqs last disabled at (71164): [<ffff800011937200>] spin_lock_bh include/linux/spinlock.h:355 [inline]
softirqs last disabled at (71164): [<ffff800011937200>] cfg80211_get_bss+0x22c/0xce0 net/wireless/scan.c:1445
---[ end trace 0000000000000000 ]---
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: BSS 50:50:50:50:50:50 switches to unsupported channel (0 MHz), disconnecting
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches