INFO: task syz-executor.2:10646 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28648 10646 8157 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 schedule_timeout+0x92d/0xfe0 kernel/time/timer.c:1794 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common+0x29c/0x470 kernel/sched/completion.c:115 rdma_destroy_id+0x4c9/0x950 drivers/infiniband/core/cma.c:1750 ucma_close+0x140/0x360 drivers/infiniband/core/ucma.c:1819 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f7c6e71bf8b Code: Bad RIP value. RSP: 002b:00007ffd334b2500 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007f7c6e71bf8b RDX: 00007f7c6e2e37a0 RSI: ffffffffffffffff RDI: 0000000000000005 RBP: 00007f7c6e88b980 R08: 0000000000000000 R09: 00007f7c6e2de000 R10: 00007f7c6e2e37a8 R11: 0000000000000293 R12: 000000000033bdaf R13: 00007ffd334b2600 R14: 00007f7c6e889f80 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/1572: #0: 00000000b88db280 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7813: #0: 00000000a3861fd8 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 5 locks held by syz-executor.3/8403: #0: 000000004ada8193 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 000000004ada8193 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 #1: 00000000b88db280 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 00000000b88db280 (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 #2: 00000000b88db280 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #2: 00000000b88db280 (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 #3: 00000000878ab25d (&mm->context.lock){+.+.}, at: ldt_dup_context+0x38/0x260 arch/x86/kernel/ldt.c:367 #4: 000000001fd60d74 (&(ptlock_ptr(page))->rlock#2/1){+.+.}, at: copy_pte_range mm/memory.c:1094 [inline] #4: 000000001fd60d74 (&(ptlock_ptr(page))->rlock#2/1){+.+.}, at: copy_pmd_range mm/memory.c:1165 [inline] #4: 000000001fd60d74 (&(ptlock_ptr(page))->rlock#2/1){+.+.}, at: copy_pud_range mm/memory.c:1199 [inline] #4: 000000001fd60d74 (&(ptlock_ptr(page))->rlock#2/1){+.+.}, at: copy_p4d_range mm/memory.c:1221 [inline] #4: 000000001fd60d74 (&(ptlock_ptr(page))->rlock#2/1){+.+.}, at: copy_page_range+0xdc1/0x2ff0 mm/memory.c:1283 2 locks held by syz-executor.1/29006: 2 locks held by syz-executor.4/29011: 2 locks held by syz-executor.0/29012: 2 locks held by syz-executor.5/29018: 2 locks held by syz-executor.3/29019: #0: 0000000081adaacb (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 0000000081adaacb (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 #1: 00000000b88db280 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 00000000b88db280 (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 2 locks held by syz-executor.0/29030: 2 locks held by syz-executor.5/29032: #0: 0000000081adaacb (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 0000000081adaacb (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 #1: 00000000b88db280 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 00000000b88db280 (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 2 locks held by syz-executor.5/29043: 3 locks held by syz-executor.3/29044: 3 locks held by syz-executor.0/29053: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1572 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4693 Comm: systemd-journal Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:debug_spin_unlock kernel/locking/spinlock_debug.c:97 [inline] RIP: 0010:do_raw_spin_unlock+0x24/0x230 kernel/locking/spinlock_debug.c:134 Code: 83 4c 00 eb b2 90 48 b8 00 00 00 00 00 fc ff df 41 55 41 54 55 48 89 fd 48 83 c7 04 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 <83> e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 bc 01 00 00 81 7d 04 ad RSP: 0018:ffff8880a0dcf988 EFLAGS: 00000803 RAX: ffffffff8d3a3f8c RBX: 0000000000000086 RCX: 1ffff110141b89ce RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffffffff8d3a3f8c RBP: ffffffff8d3a3f88 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000009 R12: dead000000000200 R13: ffff88807c6ea000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f82e4bcd8c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f82e1cfe008 CR3: 00000000a11d4000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:159 [inline] _raw_spin_unlock_irqrestore+0x23/0xe0 kernel/locking/spinlock.c:184 __debug_check_no_obj_freed lib/debugobjects.c:798 [inline] debug_check_no_obj_freed+0x201/0x490 lib/debugobjects.c:817 free_pages_prepare mm/page_alloc.c:1056 [inline] __free_pages_ok+0x22d/0xd30 mm/page_alloc.c:1279 slab_destroy mm/slab.c:1713 [inline] slabs_destroy+0x90/0xd0 mm/slab.c:1729 cache_flusharray mm/slab.c:3490 [inline] ___cache_free+0x295/0x3a0 mm/slab.c:3532 qlink_free mm/kasan/quarantine.c:147 [inline] qlist_free_all+0x79/0x140 mm/kasan/quarantine.c:166 quarantine_reduce+0x1a9/0x230 mm/kasan/quarantine.c:259 kasan_kmalloc+0xa2/0x160 mm/kasan/kasan.c:538 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc mm/slab.c:3397 [inline] kmem_cache_alloc+0x110/0x370 mm/slab.c:3557 prepare_creds+0x39/0x510 kernel/cred.c:255 do_faccessat+0x94/0x7a0 fs/open.c:359 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f82e3e889c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffe0a037698 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffe0a03a6c0 RCX: 00007f82e3e889c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000055a44da479a3 RBP: 00007ffe0a0377e0 R08: 000055a44da3d3e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 000055a44ed828a0 R15: 00007ffe0a037cd0