INFO: task syz-executor.5:28295 blocked for more than 143 seconds. Not tainted 5.14.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28104 pid:28295 ppid: 9140 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0x93a/0x26f0 kernel/sched/core.c:5940 schedule+0xd3/0x270 kernel/sched/core.c:6019 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6078 __mutex_lock_common kernel/locking/mutex.c:1036 [inline] __mutex_lock+0x7b6/0x10a0 kernel/locking/mutex.c:1104 __pipe_lock fs/pipe.c:87 [inline] pipe_release+0x49/0x320 fs/pipe.c:703 __fput+0x288/0x920 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0xbd4/0x2a60 kernel/exit.c:825 do_group_exit+0x125/0x310 kernel/exit.c:922 get_signal+0x47f/0x2160 kernel/signal.c:2808 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:209 irqentry_exit_to_user_mode+0x5/0x40 kernel/entry/common.c:315 asm_exc_general_protection+0x1e/0x30 arch/x86/include/asm/idtentry.h:562 RIP: 0033:0x4665f1 RSP: 002b:0000000020000000 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 000000000056c260 RCX: 00000000004665e9 RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000004000000 RBP: 00000000004bfcc4 R08: 0000000020000140 R09: 0000000000000000 R10: 0000000020000100 R11: 0000000000000246 R12: 000000000056c260 R13: 0000000000a9fb1f R14: 00007f6baa28c300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:0/8: #0: ffff888010869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:620 [inline] #0: ffff888010869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888010869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff888010869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff888010869138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x871/0x1630 kernel/workqueue.c:2247 #1: ffffc90000cd7db0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1630 kernel/workqueue.c:2251 1 lock held by khungtaskd/1655: #0: ffffffff8b97b9c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by systemd-udevd/4875: 1 lock held by in:imklog/8178: #0: ffff888024d8c370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 1 lock held by syz-executor.5/28292: #0: ffff888014ff2c68 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_lock_nested fs/pipe.c:66 [inline] #0: ffff888014ff2c68 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_lock+0x5a/0x70 fs/pipe.c:74 1 lock held by syz-executor.5/28295: #0: ffff888014ff2c68 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:87 [inline] #0: ffff888014ff2c68 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_release+0x49/0x320 fs/pipe.c:703 2 locks held by syz-executor.0/843: 1 lock held by syz-executor.4/859: #0: ffff88814e8c3228 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88814e8c3228 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault+0x9d5/0x11c0 arch/x86/mm/fault.c:1341 5 locks held by syz-executor.4/862: 1 lock held by syz-executor.4/890: #0: ffff88814e8c3228 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88814e8c3228 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault+0x9d5/0x11c0 arch/x86/mm/fault.c:1341 1 lock held by syz-executor.0/874: #0: ffff888022110868 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_lock_nested fs/pipe.c:66 [inline] #0: ffff888022110868 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_lock+0x5a/0x70 fs/pipe.c:74 1 lock held by syz-executor.5/902: #0: ffffffff8b984e28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #0: ffffffff8b984e28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x2d5/0x620 kernel/rcu/tree_exp.h:837 1 lock held by syz-executor.2/887: #0: ffff8880b9d51a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:460 [inline] #0: ffff8880b9d51a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1307 [inline] #0: ffff8880b9d51a98 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1610 [inline] #0: ffff8880b9d51a98 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x233/0x26f0 kernel/sched/core.c:5854 1 lock held by syz-executor.1/889: #0: ffff888022110c68 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_lock_nested fs/pipe.c:66 [inline] #0: ffff888022110c68 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_lock+0x5a/0x70 fs/pipe.c:74 1 lock held by syz-executor.5/899: #0: ffffffff8b984e28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #0: ffffffff8b984e28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4fc/0x620 kernel/rcu/tree_exp.h:837 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1655 Comm: khungtaskd Not tainted 5.14.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xd0a/0xfc0 kernel/hung_task.c:295 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 889 Comm: syz-executor.1 Not tainted 5.14.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3682 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3702 [inline] RIP: 0010:validate_chain kernel/locking/lockdep.c:3757 [inline] RIP: 0010:__lock_acquire+0x1671/0x54a0 kernel/locking/lockdep.c:5015 Code: 49 0f af ef 48 c1 ed 30 48 8d 04 ed 00 18 c4 8f 48 89 c2 48 89 44 24 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 <0f> 85 10 3b 00 00 48 8b 1c ed 00 18 c4 8f 48 85 db 74 58 48 83 eb RSP: 0018:ffffc90000dc0618 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff815ab9df RDX: 1ffffffff1f8af9b RSI: 0000000000000008 RDI: ffffffff8fcd18a0 RBP: 0000000000002c9b R08: 0000000000000000 R09: ffffffff8fcd18a7 R10: fffffbfff1f9a314 R11: 0000000000000000 R12: ffff888169ea5f78 R13: ffff888169ea54c0 R14: 0000000000000000 R15: 5198900cfc7cfb74 FS: 00007fa77cef7700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000544038 CR3: 000000014a990000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:159 debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:656 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x27/0x3e0 kernel/time/hrtimer.c:982 __run_hrtimer kernel/time/hrtimer.c:1554 [inline] __hrtimer_run_queues+0xb02/0xe50 kernel/time/hrtimer.c:1601 hrtimer_interrupt+0x330/0xa00 kernel/time/hrtimer.c:1663 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1089 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1106 sysvec_apic_timer_interrupt+0x40/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:191 Code: 74 24 10 e8 3a 88 2e f8 48 89 ef e8 e2 fd 2e f8 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 c3 d7 22 f8 65 8b 05 bc 73 d5 76 85 c0 74 0a 5b 5d c3 e8 a0 2f RSP: 0018:ffffc90000dc0c08 EFLAGS: 00000206 RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff1fa47b2 RDX: 0000000000000000 RSI: 0000000000000102 RDI: 0000000000000001 RBP: ffff8880b9d40240 R08: 0000000000000001 R09: ffffffff8fcd197f R10: 0000000000000001 R11: 0000000000000000 R12: 000000010000a69f R13: ffff8880b9d40240 R14: 0000000000000000 R15: 00000000ffffffff __mod_timer+0x837/0xe30 kernel/time/timer.c:1063 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1417 expire_timers kernel/time/timer.c:1462 [inline] __run_timers.part.0+0x675/0xa50 kernel/time/timer.c:1731 __run_timers kernel/time/timer.c:1712 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1744 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x16e/0x1c0 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_is_held_type+0xfd/0x140 kernel/locking/lockdep.c:5673 Code: 00 00 b8 ff ff ff ff 65 0f c1 05 6e 2b d8 76 83 f8 01 75 29 9c 58 f6 c4 02 75 3d 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 45 31 ed eb b9 0f 0b 48 RSP: 0018:ffffc9001e0374b8 EFLAGS: 00000286 RAX: 0000000000000046 RBX: 0000000000000003 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8b97b900 R08: 0000000000000000 R09: ffffffff8d6c5857 R10: fffffbfff1ad8b0a R11: 0000000000000001 R12: ffff888169ea54c0 R13: 0000000000000000 R14: 00000000ffffffff R15: ffff888169ea5f00 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x442/0x510 kernel/locking/lockdep.c:5596 __fs_reclaim_acquire mm/page_alloc.c:4555 [inline] fs_reclaim_acquire+0x117/0x160 mm/page_alloc.c:4569 prepare_alloc_pages+0x15c/0x580 mm/page_alloc.c:5167 __alloc_pages+0x12f/0x500 mm/page_alloc.c:5380 alloc_pages+0x18c/0x2a0 mm/mempolicy.c:2244 __pte_alloc_one include/asm-generic/pgalloc.h:63 [inline] pte_alloc_one+0x16/0x230 arch/x86/mm/pgtable.c:33 __pte_alloc+0x1f/0x2d0 mm/memory.c:439 copy_pte_range mm/memory.c:1021 [inline] copy_pmd_range mm/memory.c:1156 [inline] copy_pud_range mm/memory.c:1193 [inline] copy_p4d_range mm/memory.c:1217 [inline] copy_page_range+0x1789/0x4420 mm/memory.c:1290 dup_mmap kernel/fork.c:598 [inline] dup_mm+0x9e7/0x1380 kernel/fork.c:1379 copy_mm kernel/fork.c:1431 [inline] copy_process+0x71ec/0x74d0 kernel/fork.c:2119 kernel_clone+0xe7/0xac0 kernel/fork.c:2509 __do_sys_clone+0xc8/0x110 kernel/fork.c:2626 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa77cef7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 9999999999999999 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000004bfcc4 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 0000000000a9fb1f R14: 00007fa77cef7300 R15: 0000000000022000