INFO: task kworker/0:44:8648 blocked for more than 430 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:44 state:D stack:0 pid:8648 tgid:8648 ppid:2 task_flags:0x4208060 flags:0x00000000 Workqueue: events bpf_prog_free_deferred Call trace: [<81a643fc>] (__schedule) from [<81a65390>] (__schedule_loop kernel/sched/core.c:7011 [inline]) [<81a643fc>] (__schedule) from [<81a65390>] (schedule+0x2c/0x130 kernel/sched/core.c:7026) r10:ea4e1d84 r9:00000002 r8:60000113 r7:829171a0 r6:ea4e1d8c r5:85370c00 r4:85370c00 [<81a65364>] (schedule) from [<81a65778>] (schedule_preempt_disabled+0x18/0x24 kernel/sched/core.c:7083) r5:85370c00 r4:8291719c [<81a65760>] (schedule_preempt_disabled) from [<81a68328>] (__mutex_lock_common kernel/locking/mutex.c:676 [inline]) [<81a65760>] (schedule_preempt_disabled) from [<81a68328>] (__mutex_lock.constprop.0+0x350/0xa24 kernel/locking/mutex.c:760) [<81a67fd8>] (__mutex_lock.constprop.0) from [<81a68ad0>] (__mutex_lock_slowpath+0x14/0x18 kernel/locking/mutex.c:1049) r10:8280c960 r9:00000001 r8:00000000 r7:ffffffff r6:00000000 r5:ea4e1e08 r4:00000000 [<81a68abc>] (__mutex_lock_slowpath) from [<81a68b10>] (mutex_lock+0x3c/0x40 kernel/locking/mutex.c:274) [<81a68ad4>] (mutex_lock) from [<804ea31c>] (_vm_unmap_aliases+0x68/0x240 mm/vmalloc.c:2918) [<804ea2b4>] (_vm_unmap_aliases) from [<804ee0fc>] (vm_reset_perms mm/vmalloc.c:3349 [inline]) [<804ea2b4>] (_vm_unmap_aliases) from [<804ee0fc>] (vfree+0x16c/0x210 mm/vmalloc.c:3428) r10:83016170 r9:00000001 r8:00000000 r7:ffffffff r6:00000000 r5:86090340 r4:00000000 [<804edf90>] (vfree) from [<80559048>] (execmem_free+0x30/0x50 mm/execmem.c:503) r9:83018405 r8:85370c00 r7:00000000 r6:83018400 r5:00001000 r4:7f2b4000 [<80559018>] (execmem_free) from [<803c5f98>] (bpf_jit_free_exec+0x10/0x14 kernel/bpf/core.c:1052) r5:00001000 r4:df9e3000 [<803c5f88>] (bpf_jit_free_exec) from [<803c6378>] (bpf_jit_binary_free kernel/bpf/core.c:1098 [inline]) [<803c5f88>] (bpf_jit_free_exec) from [<803c6378>] (bpf_jit_free+0x68/0xe4 kernel/bpf/core.c:1221) [<803c6310>] (bpf_jit_free) from [<803c7420>] (bpf_prog_free_deferred+0x140/0x158 kernel/bpf/core.c:2898) r5:8607e78c r4:86306280 [<803c72e0>] (bpf_prog_free_deferred) from [<802785a0>] (process_one_work+0x1b4/0x4f4 kernel/workqueue.c:3263) r7:dddcfd80 r6:83018400 r5:8607e78c r4:86306280 [<802783ec>] (process_one_work) from [<802791e8>] (process_scheduled_works kernel/workqueue.c:3346 [inline]) [<802783ec>] (process_one_work) from [<802791e8>] (worker_thread+0x1fc/0x3d8 kernel/workqueue.c:3427) r10:61c88647 r9:85370c00 r8:863062ac r7:82804d40 r6:dddcfd80 r5:dddcfda0 r4:86306280 [<80278fec>] (worker_thread) from [<8028020c>] (kthread+0x12c/0x280 kernel/kthread.c:463) r10:00000000 r9:86306280 r8:80278fec r7:ea2b1e60 r6:86ec0d00 r5:85370c00 r4:00000001 [<802800e0>] (kthread) from [<80200114>] (ret_from_fork+0x14/0x20 arch/arm/kernel/entry-common.S:137) Exception stack(0xea4e1fb0 to 0xea4e1ff8) 1fa0: 00000000 00000000 00000000 00000000 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:802800e0 r4:85c6ef80 INFO: task kworker/0:44:8648 is blocked on a mutex likely owned by task kworker/0:10:6182. task:kworker/0:10 state:R running task stack:0 pid:6182 tgid:6182 ppid:2 task_flags:0x4208060 flags:0x00000000 Workqueue: events bpf_prog_free_deferred Call trace: [<81a643fc>] (__schedule) from [<81a657c4>] (preempt_schedule_irq+0x40/0xa8 kernel/sched/core.c:7256) r10:8280c9b4 r9:833a1800 r8:80200c04 r7:dfb85d54 r6:ffffffff r5:833a1800 r4:00000000 [<81a65784>] (preempt_schedule_irq) from [<80200c24>] (svc_preempt+0x8/0x18) Exception stack(0xdfb85d20 to 0xdfb85d68) 5d20: bacfa000 ea3f3000 00000001 80239bf8 7f24c000 00000001 82acb1c4 82aca5a0 5d40: 7f24c000 ea3f3000 8280c9b4 dfb85d9c dfb85da0 dfb85d70 80230af0 80239c10 5d60: 800b0113 ffffffff r5:800b0113 r4:80239c10 [<80230a8c>] (flush_tlb_kernel_range) from [<804ea0e0>] (__purge_vmap_area_lazy+0x284/0x458 mm/vmalloc.c:2342) r4:82acb1e4 [<804e9e5c>] (__purge_vmap_area_lazy) from [<804ea498>] (_vm_unmap_aliases+0x1e4/0x240 mm/vmalloc.c:2957) r10:00000000 r9:00000000 r8:00000000 r7:ffffffff r6:dfb85dc0 r5:dfb85e08 r4:dfb85dc0 [<804ea2b4>] (_vm_unmap_aliases) from [<804ee0fc>] (vm_reset_perms mm/vmalloc.c:3349 [inline]) [<804ea2b4>] (_vm_unmap_aliases) from [<804ee0fc>] (vfree+0x16c/0x210 mm/vmalloc.c:3428) r10:83016170 r9:00000001 r8:00000000 r7:ffffffff r6:00000000 r5:86090d40 r4:00000000 [<804edf90>] (vfree) from [<80559048>] (execmem_free+0x30/0x50 mm/execmem.c:503) r9:83018405 r8:833a1800 r7:00000000 r6:83018400 r5:00001000 r4:7f2b6000 [<80559018>] (execmem_free) from [<803c5f98>] (bpf_jit_free_exec+0x10/0x14 kernel/bpf/core.c:1052) r5:00001000 r4:df9f7000 [<803c5f88>] (bpf_jit_free_exec) from [<803c6378>] (bpf_jit_binary_free kernel/bpf/core.c:1098 [inline]) [<803c5f88>] (bpf_jit_free_exec) from [<803c6378>] (bpf_jit_free+0x68/0xe4 kernel/bpf/core.c:1221) [<803c6310>] (bpf_jit_free) from [<803c7420>] (bpf_prog_free_deferred+0x140/0x158 kernel/bpf/core.c:2898) r5:84b68b8c r4:853e7200 [<803c72e0>] (bpf_prog_free_deferred) from [<802785a0>] (process_one_work+0x1b4/0x4f4 kernel/workqueue.c:3263) r7:dddcfd80 r6:83018400 r5:84b68b8c r4:853e7200 [<802783ec>] (process_one_work) from [<802791e8>] (process_scheduled_works kernel/workqueue.c:3346 [inline]) [<802783ec>] (process_one_work) from [<802791e8>] (worker_thread+0x1fc/0x3d8 kernel/workqueue.c:3427) r10:61c88647 r9:833a1800 r8:853e722c r7:82804d40 r6:dddcfd80 r5:dddcfda0 r4:853e7200 [<80278fec>] (worker_thread) from [<8028020c>] (kthread+0x12c/0x280 kernel/kthread.c:463) r10:00000000 r9:853e7200 r8:80278fec r7:ea661e60 r6:86e30a80 r5:833a1800 r4:00000001 [<802800e0>] (kthread) from [<80200114>] (ret_from_fork+0x14/0x20 arch/arm/kernel/entry-common.S:137) Exception stack(0xdfb85fb0 to 0xdfb85ff8) 5fa0: 00000000 00000000 00000000 00000000 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:802800e0 r4:85e2c880 NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT Hardware name: ARM-Versatile Express Call trace: [<80201a24>] (dump_backtrace) from [<80201b20>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:257) r7:00000000 r6:00070113 r5:60070193 r4:82252738 [<80201b08>] (show_stack) from [<8021f8f8>] (__dump_stack lib/dump_stack.c:94 [inline]) [<80201b08>] (show_stack) from [<8021f8f8>] (dump_stack_lvl+0x70/0x7c lib/dump_stack.c:120) [<8021f888>] (dump_stack_lvl) from [<8021f91c>] (dump_stack+0x18/0x1c lib/dump_stack.c:129) r5:00000001 r4:00000001 [<8021f904>] (dump_stack) from [<81a4e014>] (nmi_cpu_backtrace+0x160/0x17c lib/nmi_backtrace.c:113) [<81a4deb4>] (nmi_cpu_backtrace) from [<81a4e160>] (nmi_trigger_cpumask_backtrace+0x130/0x1d8 lib/nmi_backtrace.c:62) r7:00000001 r6:8280c690 r5:8281ae34 r4:ffffffff [<81a4e030>] (nmi_trigger_cpumask_backtrace) from [<802304fc>] (arch_trigger_cpumask_backtrace+0x18/0x1c arch/arm/kernel/smp.c:852) r9:8281ba28 r8:8280c810 r7:000b9c01 r6:00007e75 r5:82abf7d4 r4:84073c0c [<802304e4>] (arch_trigger_cpumask_backtrace) from [<8037faf0>] (trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]) [<802304e4>] (arch_trigger_cpumask_backtrace) from [<8037faf0>] (check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline]) [<802304e4>] (arch_trigger_cpumask_backtrace) from [<8037faf0>] (watchdog+0x5d0/0x850 kernel/hung_task.c:495) [<8037f520>] (watchdog) from [<8028020c>] (kthread+0x12c/0x280 kernel/kthread.c:463) r10:00000000 r9:00000000 r8:8037f520 r7:832d3180 r6:832d3180 r5:832e2400 r4:00000001 [<802800e0>] (kthread) from [<80200114>] (ret_from_fork+0x14/0x20 arch/arm/kernel/entry-common.S:137) Exception stack(0xdf8d9fb0 to 0xdf8d9ff8) 9fa0: 00000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:802800e0 r4:838c8240 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 29720 Comm: kworker/u8:0 Not tainted syzkaller #0 PREEMPT Hardware name: ARM-Versatile Express Workqueue: events_unbound nsim_dev_trap_report_work PC is at queue_delayed_work_on+0x70/0x74 kernel/workqueue.c:2567 LR is at __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] LR is at _raw_spin_unlock_irqrestore+0x30/0x54 kernel/locking/spinlock.c:194 pc : [<80279eec>] lr : [<81a6e26c>] psr: 60000013 sp : ea275e48 ip : ea275db0 fp : ea275e6c r10: 864595c4 r9 : 86459580 r8 : 60000013 r7 : 0000000a r6 : 8300e800 r5 : 00000008 r4 : 86459580 r3 : 85942400 r2 : 00000000 r1 : 00000000 r0 : 00000001 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 30c5387d Table: 85e72640 DAC: fffffffd Call trace: [<80279e7c>] (queue_delayed_work_on) from [<80e60e10>] (queue_delayed_work include/linux/workqueue.h:684 [inline]) [<80279e7c>] (queue_delayed_work_on) from [<80e60e10>] (nsim_dev_trap_report_work+0x350/0x410 drivers/net/netdevsim/dev.c:870) r9:86459580 r8:85eda200 r7:85eda100 r6:81d95f98 r5:86459968 r4:85eda168 [<80e60ac0>] (nsim_dev_trap_report_work) from [<802785a0>] (process_one_work+0x1b4/0x4f4 kernel/workqueue.c:3263) r10:8300e870 r9:83019805 r8:85942400 r7:8300e600 r6:83019800 r5:86459580 r4:85853c00 [<802783ec>] (process_one_work) from [<802791e8>] (process_scheduled_works kernel/workqueue.c:3346 [inline]) [<802783ec>] (process_one_work) from [<802791e8>] (worker_thread+0x1fc/0x3d8 kernel/workqueue.c:3427) r10:61c88647 r9:85942400 r8:85853c2c r7:82804d40 r6:8300e600 r5:8300e620 r4:85853c00 [<80278fec>] (worker_thread) from [<8028020c>] (kthread+0x12c/0x280 kernel/kthread.c:463) r10:00000000 r9:85853c00 r8:80278fec r7:dfafde60 r6:85853400 r5:85942400 r4:00000001 [<802800e0>] (kthread) from [<80200114>] (ret_from_fork+0x14/0x20 arch/arm/kernel/entry-common.S:137) Exception stack(0xea275fb0 to 0xea275ff8) 5fa0: 00000000 00000000 00000000 00000000 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:802800e0 r4:86d40080