INFO: task syz-executor.2:8246 can't die for more than 143 seconds. task:syz-executor.2 state:D stack:29752 pid: 8246 ppid: 6879 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:3777 [inline] __schedule+0xea9/0x2230 kernel/sched/core.c:4526 schedule+0xd0/0x2a0 kernel/sched/core.c:4601 schedule_timeout+0x1d8/0x250 kernel/time/timer.c:1855 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x163/0x260 kernel/sched/completion.c:138 io_sq_thread_stop fs/io_uring.c:6906 [inline] io_finish_async fs/io_uring.c:6920 [inline] io_sq_offload_create fs/io_uring.c:7595 [inline] io_uring_create fs/io_uring.c:8671 [inline] io_uring_setup+0x1495/0x29a0 fs/io_uring.c:8744 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5b9 Code: Bad RIP value. RSP: 002b:00007f24998d0c78 EFLAGS: 00000246 ORIG_RAX: 00000000000001a9 RAX: ffffffffffffffda RBX: 0000000000008540 RCX: 000000000045d5b9 RDX: 0000000000000000 RSI: 0000000020001540 RDI: 00000000000030ff RBP: 000000000118cf78 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffc8758eacf R14: 00007f24998d19c0 R15: 000000000118cf4c INFO: task syz-executor.2:8246 blocked for more than 143 seconds. Not tainted 5.9.0-rc3-next-20200903-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29752 pid: 8246 ppid: 6879 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:3777 [inline] __schedule+0xea9/0x2230 kernel/sched/core.c:4526 schedule+0xd0/0x2a0 kernel/sched/core.c:4601 schedule_timeout+0x1d8/0x250 kernel/time/timer.c:1855 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x163/0x260 kernel/sched/completion.c:138 io_sq_thread_stop fs/io_uring.c:6906 [inline] io_finish_async fs/io_uring.c:6920 [inline] io_sq_offload_create fs/io_uring.c:7595 [inline] io_uring_create fs/io_uring.c:8671 [inline] io_uring_setup+0x1495/0x29a0 fs/io_uring.c:8744 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5b9 Code: Bad RIP value. RSP: 002b:00007f24998d0c78 EFLAGS: 00000246 ORIG_RAX: 00000000000001a9 RAX: ffffffffffffffda RBX: 0000000000008540 RCX: 000000000045d5b9 RDX: 0000000000000000 RSI: 0000000020001540 RDI: 00000000000030ff RBP: 000000000118cf78 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffc8758eacf R14: 00007f24998d19c0 R15: 000000000118cf4c INFO: task io_uring-sq:8253 blocked for more than 144 seconds. Not tainted 5.9.0-rc3-next-20200903-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:io_uring-sq state:D stack:31120 pid: 8253 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:3777 [inline] __schedule+0xea9/0x2230 kernel/sched/core.c:4526 schedule+0xd0/0x2a0 kernel/sched/core.c:4601 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:4660 kthread+0x2ac/0x4a0 kernel/kthread.c:285 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Showing all locks held in the system: 1 lock held by khungtaskd/1172: #0: ffffffff89c67500 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5829 1 lock held by in:imklog/6538: #0: ffff888094b793f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:930 3 locks held by kworker/u4:8/8327: #0: ffff8880ae635fd8 (&rq->lock){-.-.}-{2:2}, at: newidle_balance+0x77f/0xe30 kernel/sched/fair.c:10555 #1: ffffffff89c67500 (rcu_read_lock){....}-{1:2}, at: cpu_of kernel/sched/sched.h:1072 [inline] #1: ffffffff89c67500 (rcu_read_lock){....}-{1:2}, at: __update_idle_core+0x39/0x3e0 kernel/sched/fair.c:6014 #2: ffff8880ae6255d8 (&base->lock){..-.}-{2:2}, at: lock_timer_base+0x55/0x1a0 kernel/time/timer.c:947 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1172 Comm: khungtaskd Not tainted 5.9.0-rc3-next-20200903-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x198/0x1fd lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x223 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:147 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:253 [inline] watchdog+0xd89/0xf30 kernel/hung_task.c:339 kthread+0x3b5/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3897 Comm: systemd-journal Not tainted 5.9.0-rc3-next-20200903-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:28 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:134 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:165 [inline] RIP: 0010:check_memory_region_inline mm/kasan/generic.c:183 [inline] RIP: 0010:check_memory_region+0x44/0x180 mm/kasan/generic.c:192 Code: 01 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 c7 0f 86 05 01 00 00 49 83 e9 01 48 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 ca <48> c1 ed 03 49 c1 ea 03 48 01 c5 49 01 c2 48 89 e8 49 8d 5a 01 48 RSP: 0018:ffffc90000007ab0 EFLAGS: 00000082 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff815a1d47 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8c6ab9a0 RBP: ffffffff8c6ab9a0 R08: 0000000000000000 R09: ffffffff8c6ab9a7 R10: ffffffff8c6ab9a7 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888094120bda R14: ffff888094120280 R15: 0000000000000000 FS: 00007fe9404f08c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe93d8cd188 CR3: 00000000946ba000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] __lock_acquire+0xf67/0x5570 kernel/locking/lockdep.c:4396 lock_acquire+0x1f3/0xae0 kernel/locking/lockdep.c:5006 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x94/0xce kernel/locking/spinlock.c:159 debug_object_deactivate lib/debugobjects.c:710 [inline] debug_object_deactivate+0x101/0x300 lib/debugobjects.c:698 debug_timer_deactivate kernel/time/timer.c:732 [inline] debug_deactivate kernel/time/timer.c:781 [inline] detach_timer kernel/time/timer.c:826 [inline] expire_timers kernel/time/timer.c:1447 [inline] __run_timers.part.0+0x51a/0xaa0 kernel/time/timer.c:1755 __run_timers kernel/time/timer.c:1736 [inline] run_timer_softirq+0xae/0x1a0 kernel/time/timer.c:1768 __do_softirq+0x1f7/0xa91 kernel/softirq.c:298 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline] do_softirq_own_stack+0x9d/0xd0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x235/0x280 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x51/0xf0 arch/x86/kernel/apic/apic.c:1091 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581 RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:770 [inline] RIP: 0010:kmem_cache_free.part.0+0x90/0x1e0 mm/slab.c:3694 Code: 48 89 de 48 89 ef 4c 89 ea e8 dc 25 00 00 84 c0 74 50 4d 85 f6 75 5e 48 83 3d 83 2c 01 08 00 0f 84 10 01 00 00 4c 89 e7 57 9d <0f> 1f 44 00 00 4c 8b 64 24 28 0f 1f 44 00 00 65 8b 05 fa 84 4c 7e RSP: 0018:ffffc90002697d78 EFLAGS: 00000286 RAX: 000000000014b887 RBX: ffff88808f2ee1c0 RCX: 1ffffffff1578f39 RDX: ffff888094120280 RSI: 0000000000000000 RDI: 0000000000000286 RBP: ffff8880aa242c00 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000286 R13: ffffffff81c44b41 R14: 0000000000000200 R15: dffffc0000000000 putname+0xe1/0x120 fs/namei.c:259 do_sys_openat2+0x153/0x420 fs/open.c:1177 do_sys_open fs/open.c:1184 [inline] __do_sys_open fs/open.c:1192 [inline] __se_sys_open fs/open.c:1188 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1188 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fe93fa80840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007fff4b338878 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fff4b338b80 RCX: 00007fe93fa80840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000563fd3340020 RBP: 000000000000000d R08: 000000000000ffc0 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000563fd3334040 R14: 00007fff4b338b40 R15: 0000563fd333fe40