Hello,
syzbot found the following issue on:
HEAD commit: 6449a0ba6843 Linux 6.1.19
git tree: linux-6.1.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=14400b1ac80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=75eadb21ef1208e4
dashboard link:
https://syzkaller.appspot.com/bug?extid=1389ba95c0bb5e9df1f6
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=10bf4406c80000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=139411e2c80000
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/dc227ecd3e21/disk-6449a0ba.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/1d08e21b50c2/vmlinux-6449a0ba.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/71a43f2c4d2c/Image-6449a0ba.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+1389ba...@syzkaller.appspotmail.com
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4311 at net/mac80211/offchannel.c:403 ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:403
Modules linked in:
CPU: 1 PID: 4311 Comm: syz-executor103 Not tainted 6.1.19-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:403
lr : ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:403
sp : ffff80001dba6f50
x29: ffff80001dba6f50 x28: 0000000000000001 x27: dfff800000000000
x26: ffff0000d9c03000 x25: ffff0000ce9eac70 x24: ffff0000ce9eab48
x23: ffff0000ce9a55a0 x22: ffff0000ca3cf000 x21: dfff800000000000
x20: 0000000000000001 x19: ffff0000ce9e8e00 x18: 1fffe000368b4376
x17: ffff80001572d000 x16: ffff800008503bb4 x15: 0000000000000000
x14: 1ffff00002ae60b0 x13: dfff800000000000 x12: 0000000000000001
x11: ff80800011aea7a4 x10: 0000000000000000 x9 : ffff800011aea7a4
x8 : ffff0000ccc89b40 x7 : ffff800011b0c124 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000123237f0
x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
ieee80211_start_next_roc+0x1bc/0x204 net/mac80211/offchannel.c:403
__ieee80211_scan_completed+0x7d0/0xc28 net/mac80211/scan.c:509
ieee80211_scan_cancel+0xf0/0x894 net/mac80211/scan.c:1308
ieee80211_do_stop+0x148/0x197c net/mac80211/iface.c:461
ieee80211_runtime_change_iftype net/mac80211/iface.c:1905 [inline]
ieee80211_if_change_type+0x478/0xcf4 net/mac80211/iface.c:1943
ieee80211_change_iface+0x6c/0x418 net/mac80211/cfg.c:217
rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline]
cfg80211_change_iface+0x928/0x1344 net/wireless/util.c:1084
nl80211_set_interface+0x3f8/0x6f0 net/wireless/nl80211.c:4169
genl_family_rcv_msg_doit net/netlink/genetlink.c:756 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:833 [inline]
genl_rcv_msg+0x948/0xc2c net/netlink/genetlink.c:850
netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2550
genl_rcv+0x38/0x50 net/netlink/genetlink.c:861
netlink_unicast_kernel net/netlink/af_netlink.c:1328 [inline]
netlink_unicast+0x660/0x8d4 net/netlink/af_netlink.c:1354
netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1931
sock_sendmsg_nosec net/socket.c:716 [inline]
sock_sendmsg net/socket.c:736 [inline]
__sys_sendto+0x3b4/0x504 net/socket.c:2117
__do_sys_sendto net/socket.c:2129 [inline]
__se_sys_sendto net/socket.c:2125 [inline]
__arm64_sys_sendto+0xd8/0xf8 net/socket.c:2125
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
irq event stamp: 2598
hardirqs last enabled at (2597): [<ffff800012332a3c>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
hardirqs last enabled at (2597): [<ffff800012332a3c>] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194
hardirqs last disabled at (2598): [<ffff80001224fad4>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (2594): [<ffff800011a9ad4c>] spin_unlock_bh include/linux/spinlock.h:395 [inline]
softirqs last enabled at (2594): [<ffff800011a9ad4c>] ieee80211_configure_filter+0x7f0/0x181c net/mac80211/main.c:74
softirqs last disabled at (2592): [<ffff800011a9a958>] spin_lock_bh include/linux/spinlock.h:355 [inline]
softirqs last disabled at (2592): [<ffff800011a9a958>] ieee80211_configure_filter+0x3fc/0x181c net/mac80211/main.c:70
---[ end trace 0000000000000000 ]---
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches