syzbot has found a reproducer for the following issue on:
HEAD commit: 311d8503ef9f Linux 6.1.107
git tree: linux-6.1.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=10e64d43980000
kernel config:
https://syzkaller.appspot.com/x/.config?x=2867015e9d1abb4c
userspace arch: arm64
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=1482b263980000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=14aeec8f980000
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/b07a428f9e33/disk-311d8503.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/78b6435593b7/vmlinux-311d8503.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/ca3d4d2e330e/Image-311d8503.gz.xz
WARNING: CPU: 0 PID: 4287 at net/wireless/core.h:231 wdev_lock+0xd0/0xe8 net/wireless/core.h:231
Modules linked in:
CPU: 0 PID: 4287 Comm: syz-executor362 Not tainted 6.1.107-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : wdev_lock+0xd0/0xe8 net/wireless/core.h:231
lr : wdev_lock+0xd0/0xe8 net/wireless/core.h:231
sp : ffff800020e96cc0
x29: ffff800020e96cc0 x28: 1fffe0001a174993 x27: dfff800000000000
x26: 1fffe0001a191000 x25: ffff0000d0ba4c90 x24: 0000000000000000
x23: ffff0000d0ba4c98 x22: ffff7000041d2dac x21: 00000000000007d0
x20: 0000000000000000 x19: ffff0000d0ba4c90 x18: ffff800020e96b00
x17: ffff800018a93000 x16: ffff8000084fa148 x15: ffff8000104d3f60
x14: 1ffff00002b380b0 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff8000119f4174
x8 : ffff0000d9a30000 x7 : 0000000000000000 x6 : 00000000000007d0
x5 : ffff0000de664068 x4 : ffff800020e96d94 x3 : ffff80000ac83588
x2 : 0000000000000004 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
wdev_lock+0xd0/0xe8 net/wireless/core.h:231
nl80211_send_iface+0x6f4/0x1194 net/wireless/nl80211.c:3852
nl80211_dump_interface+0x38c/0x5cc net/wireless/nl80211.c:3985
netlink_dump+0x4a4/0xac8 net/netlink/af_netlink.c:2232
__netlink_dump_start+0x470/0x680 net/netlink/af_netlink.c:2334
genl_family_rcv_msg_dumpit net/netlink/genetlink.c:714 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:830 [inline]
genl_rcv_msg+0x7b4/0xc2c net/netlink/genetlink.c:850
netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2507
genl_rcv+0x38/0x50 net/netlink/genetlink.c:861
netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
netlink_unicast+0x65c/0x898 net/netlink/af_netlink.c:1352
netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1874
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
____sys_sendmsg+0x55c/0x848 net/socket.c:2514
___sys_sendmsg net/socket.c:2568 [inline]
__sys_sendmsg+0x26c/0x33c net/socket.c:2597
__do_sys_sendmsg net/socket.c:2606 [inline]
__se_sys_sendmsg net/socket.c:2604 [inline]
__arm64_sys_sendmsg+0x80/0x94 net/socket.c:2604
__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:140
do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204
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:585
irq event stamp: 15202
hardirqs last enabled at (15201): [<ffff80000897bedc>] kasan_quarantine_put+0xdc/0x204 mm/kasan/quarantine.c:242
hardirqs last disabled at (15202): [<ffff800012284414>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (15186): [<ffff8000104de930>] spin_unlock_bh include/linux/spinlock.h:396 [inline]
softirqs last enabled at (15186): [<ffff8000104de930>] release_sock+0x178/0x1cc net/core/sock.c:3511
softirqs last disabled at (15184): [<ffff8000104de7f4>] spin_lock_bh include/linux/spinlock.h:356 [inline]
softirqs last disabled at (15184): [<ffff8000104de7f4>] release_sock+0x3c/0x1cc net/core/sock.c:3498
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4287 at net/wireless/core.h:239 wdev_unlock+0xcc/0xe4 net/wireless/core.h:239
Modules linked in:
CPU: 0 PID: 4287 Comm: syz-executor362 Tainted: G W 6.1.107-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : wdev_unlock+0xcc/0xe4 net/wireless/core.h:239
lr : wdev_unlock+0xcc/0xe4 net/wireless/core.h:239
sp : ffff800020e96cc0
x29: ffff800020e96cc0 x28: 1fffe0001a174993 x27: dfff800000000000
x26: 1fffe0001a191000 x25: ffff0000d0ba4c90 x24: 0000000000000000
x23: 0000000000000000 x22: ffff7000041d2dac x21: 00000000000007d0
x20: 0000000000000000 x19: ffff0000d0ba4c90 x18: 1fffe0003679f576
x17: ffff8000159bd000 x16: ffff8000084fa148 x15: 0000000000000000
x14: 0000000000000009 x13: ffff0000d9a30000 x12: 0000000000ff0100
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff8000119f4aec
x8 : ffff0000d9a30000 x7 : ffff80000827d408 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000826b0e4
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
wdev_unlock+0xcc/0xe4 net/wireless/core.h:239
nl80211_send_iface+0x954/0x1194 net/wireless/nl80211.c:3878
nl80211_dump_interface+0x38c/0x5cc net/wireless/nl80211.c:3985
netlink_dump+0x4a4/0xac8 net/netlink/af_netlink.c:2232
__netlink_dump_start+0x470/0x680 net/netlink/af_netlink.c:2334
genl_family_rcv_msg_dumpit net/netlink/genetlink.c:714 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:830 [inline]
genl_rcv_msg+0x7b4/0xc2c net/netlink/genetlink.c:850
netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2507
genl_rcv+0x38/0x50 net/netlink/genetlink.c:861
netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
netlink_unicast+0x65c/0x898 net/netlink/af_netlink.c:1352
netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1874
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
____sys_sendmsg+0x55c/0x848 net/socket.c:2514
___sys_sendmsg net/socket.c:2568 [inline]
__sys_sendmsg+0x26c/0x33c net/socket.c:2597
__do_sys_sendmsg net/socket.c:2606 [inline]
__se_sys_sendmsg net/socket.c:2604 [inline]
__arm64_sys_sendmsg+0x80/0x94 net/socket.c:2604
__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:140
do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204
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:585
irq event stamp: 15256
hardirqs last enabled at (15255): [<ffff80000827d4a8>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline]
hardirqs last enabled at (15255): [<ffff80000827d4a8>] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5000
hardirqs last disabled at (15256): [<ffff800012284414>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (15246): [<ffff8000081c80cc>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last enabled at (15246): [<ffff8000081c80cc>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599
softirqs last disabled at (15205): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:605
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4287 at net/wireless/core.h:231 wdev_lock+0xd0/0xe8 net/wireless/core.h:231
Modules linked in:
CPU: 0 PID: 4287 Comm: syz-executor362 Tainted: G W 6.1.107-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : wdev_lock+0xd0/0xe8 net/wireless/core.h:231
lr : wdev_lock+0xd0/0xe8 net/wireless/core.h:231
sp : ffff800020e96cc0
x29: ffff800020e96cc0 x28: 1fffe0001a172993 x27: dfff800000000000
x26: 1fffe0001a181000 x25: ffff0000d0b94c90 x24: 0000000000000000
x23: ffff0000d0b94c98 x22: ffff7000041d2dac x21: 00000000000007d0
x20: 0000000000000000 x19: ffff0000d0b94c90 x18: 1fffe0003679f576
x17: ffff8000159bd000 x16: ffff8000084fa148 x15: 0000000000000000
x14: 1ffff00002b380b0 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff8000119f4174
x8 : ffff0000d9a30000 x7 : 0000000000000000 x6 : 00000000000007d0
x5 : ffff0000de6640d0 x4 : ffff800020e96d94 x3 : ffff80000ac83588
x2 : 0000000000000004 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
wdev_lock+0xd0/0xe8 net/wireless/core.h:231
nl80211_send_iface+0x6f4/0x1194 net/wireless/nl80211.c:3852
nl80211_dump_interface+0x38c/0x5cc net/wireless/nl80211.c:3985
netlink_dump+0x4a4/0xac8 net/netlink/af_netlink.c:2232
__netlink_dump_start+0x470/0x680 net/netlink/af_netlink.c:2334
genl_family_rcv_msg_dumpit net/netlink/genetlink.c:714 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:830 [inline]
genl_rcv_msg+0x7b4/0xc2c net/netlink/genetlink.c:850
netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2507
genl_rcv+0x38/0x50 net/netlink/genetlink.c:861
netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
netlink_unicast+0x65c/0x898 net/netlink/af_netlink.c:1352
netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1874
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
____sys_sendmsg+0x55c/0x848 net/socket.c:2514
___sys_sendmsg net/socket.c:2568 [inline]
__sys_sendmsg+0x26c/0x33c net/socket.c:2597
__do_sys_sendmsg net/socket.c:2606 [inline]
__se_sys_sendmsg net/socket.c:2604 [inline]
__arm64_sys_sendmsg+0x80/0x94 net/socket.c:2604
__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:140
do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204
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:585
irq event stamp: 15282
hardirqs last enabled at (15281): [<ffff800012286828>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline]
hardirqs last enabled at (15281): [<ffff800012286828>] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94
hardirqs last disabled at (15282): [<ffff800012284414>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (15276): [<ffff8000081c80cc>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last enabled at (15276): [<ffff8000081c80cc>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599
softirqs last disabled at (15259): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:605
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4287 at net/wireless/core.h:239 wdev_unlock+0xcc/0xe4 net/wireless/core.h:239
Modules linked in:
CPU: 0 PID: 4287 Comm: syz-executor362 Tainted: G W 6.1.107-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : wdev_unlock+0xcc/0xe4 net/wireless/core.h:239
lr : wdev_unlock+0xcc/0xe4 net/wireless/core.h:239
sp : ffff800020e96cc0
x29: ffff800020e96cc0 x28: 1fffe0001a172993 x27: dfff800000000000
x26: 1fffe0001a181000 x25: ffff0000d0b94c90 x24: 0000000000000000
x23: 0000000000000000 x22: ffff7000041d2dac x21: 00000000000007d0
x20: 0000000000000000 x19: ffff0000d0b94c90 x18: 1fffe0003679f576
x17: ffff8000159bd000 x16: ffff8000084fa148 x15: 0000000000000000
x14: 0000000000000009 x13: ffff0000d9a30000 x12: 0000000000ff0100
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff8000119f4aec
x8 : ffff0000d9a30000 x7 : ffff8000119f4160 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000082fbc10
x2 : ffff0000d9a30000 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
wdev_unlock+0xcc/0xe4 net/wireless/core.h:239
nl80211_send_iface+0x954/0x1194 net/wireless/nl80211.c:3878
nl80211_dump_interface+0x38c/0x5cc net/wireless/nl80211.c:3985
netlink_dump+0x4a4/0xac8 net/netlink/af_netlink.c:2232
__netlink_dump_start+0x470/0x680 net/netlink/af_netlink.c:2334
genl_family_rcv_msg_dumpit net/netlink/genetlink.c:714 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:830 [inline]
genl_rcv_msg+0x7b4/0xc2c net/netlink/genetlink.c:850
netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2507
genl_rcv+0x38/0x50 net/netlink/genetlink.c:861
netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
netlink_unicast+0x65c/0x898 net/netlink/af_netlink.c:1352
netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1874
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
____sys_sendmsg+0x55c/0x848 net/socket.c:2514
___sys_sendmsg net/socket.c:2568 [inline]
__sys_sendmsg+0x26c/0x33c net/socket.c:2597
__do_sys_sendmsg net/socket.c:2606 [inline]
__se_sys_sendmsg net/socket.c:2604 [inline]
__arm64_sys_sendmsg+0x80/0x94 net/socket.c:2604
__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:140
do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204
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:585
irq event stamp: 15392
hardirqs last enabled at (15391): [<ffff800012286828>] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline]
hardirqs last enabled at (15391): [<ffff800012286828>] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94
hardirqs last disabled at (15392): [<ffff800012284414>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (15386): [<ffff8000081c80cc>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last enabled at (15386): [<ffff8000081c80cc>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599
softirqs last disabled at (15285): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:605
---[ end trace 0000000000000000 ]---
---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.