watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz.4.178:7331] Modules linked in: irq event stamp: 9075 hardirqs last enabled at (9074): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:85 [inline] hardirqs last enabled at (9074): [] exit_to_kernel_mode+0xdc/0x10c arch/arm64/kernel/entry-common.c:95 hardirqs last disabled at (9075): [] __el1_irq arch/arm64/kernel/entry-common.c:557 [inline] hardirqs last disabled at (9075): [] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:575 softirqs last enabled at (1612): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1618): [] spin_lock_bh include/linux/spinlock.h:356 [inline] softirqs last disabled at (1618): [] sock_devmem_dontneed+0x1d8/0x5fc net/core/sock.c:1086 CPU: 0 UID: 0 PID: 7331 Comm: syz.4.178 Not tainted 6.12.0-rc7-syzkaller-g887407160d72 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __xa_erase+0xb0/0x1e0 lib/xarray.c:1510 lr : __xa_erase+0x84/0x1e0 lib/xarray.c:1509 sp : ffff8000a1c876e0 x29: ffff8000a1c87780 x28: ffff8000a1c87a30 x27: 0000000000000000 x26: ffff0000f3eb7a00 x25: ffff0000f3eb7a04 x24: ffff8000a1c876e0 x23: dfff800000000000 x22: ffff700014390edc x21: ffff0000cfbf3b00 x20: 000000007dac9611 x19: ffff8000a1c87700 x18: 0000000000000000 x17: 0000000000000000 x16: ffff800080585ea8 x15: 0000000000000003 x14: 1ffff00014390ee4 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 000000000003ffff x9 : ffff8000a8560000 x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000010 x2 : 0000000000000008 x1 : 000000007dac9611 x0 : ffff8000a1c87710 Call trace: __xa_erase+0xb0/0x1e0 lib/xarray.c:1510 (P) __xa_erase+0x84/0x1e0 lib/xarray.c:1509 (L) sock_devmem_dontneed+0x2a0/0x5fc net/core/sock.c:1089 sk_setsockopt+0x7b4/0x3150 net/core/sock.c:1280 sock_setsockopt+0x68/0x80 net/core/sock.c:1633 do_sock_setsockopt+0x238/0x4e0 net/socket.c:2330 __sys_setsockopt+0x128/0x1a8 net/socket.c:2357 __do_sys_setsockopt net/socket.c:2366 [inline] __se_sys_setsockopt net/socket.c:2363 [inline] __arm64_sys_setsockopt+0xb8/0xd4 net/socket.c:2363 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 13 Comm: kworker/u8:1 Not tainted 6.12.0-rc7-syzkaller-g887407160d72 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : should_resched arch/arm64/include/asm/preempt.h:79 [inline] pc : __local_bh_enable_ip+0x228/0x44c kernel/softirq.c:389 lr : __local_bh_enable_ip+0x224/0x44c kernel/softirq.c:387 sp : ffff8000978f7990 x29: ffff8000978f79a0 x28: dfff800000000000 x27: 1fffe00019de5afd x26: 0000000000000000 x25: ffff0000f13ec240 x24: 0000000000000001 x23: 1fffe0001833c001 x22: dfff800000000000 x21: ffff80008b1e2994 x20: ffff0001b366e800 x19: ffff0000c19e0008 x18: 1fffe000366cb476 x17: ffff80008f80d000 x16: ffff800080355c58 x15: 0000000000000001 x14: 1fffe0001e27d848 x13: ffff8000978f8000 x12: 0000000000000003 x11: 0000000000000000 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : 000000000019a9ff x7 : ffff80008b1e2770 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 0000000000000080 x0 : ffff800123efb000 Call trace: __daif_local_irq_enable arch/arm64/include/asm/irqflags.h:26 [inline] (P) arch_local_irq_enable arch/arm64/include/asm/irqflags.h:48 [inline] (P) __local_bh_enable_ip+0x228/0x44c kernel/softirq.c:387 (P) __local_bh_enable_ip+0x224/0x44c kernel/softirq.c:387 (L) __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] _raw_spin_unlock_bh+0x3c/0x4c kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] batadv_nc_purge_paths+0x2f4/0x378 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x2e4/0x580 net/batman-adv/network-coding.c:720 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862