INFO: task syz-executor.5:9916 blocked for more than 143 seconds. Not tainted 5.11.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:29728 pid: 9916 ppid: 8350 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4324 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5075 schedule+0x14b/0x200 kernel/sched/core.c:5154 rwsem_down_write_slowpath+0xd69/0x1370 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write_nested+0x11c/0x130 kernel/locking/rwsem.c:1517 inode_lock_nested include/linux/fs.h:810 [inline] filename_create+0x146/0x6b0 fs/namei.c:3596 user_path_create fs/namei.c:3654 [inline] do_mkdirat+0x5a/0x370 fs/namei.c:3832 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465007 RSP: 002b:00007f02e0460fa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000465007 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020000080 RBP: 00007f02e0461040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000020000080 R14: 00007f02e0461000 R15: 0000000000000000 INFO: task syz-executor.5:9917 blocked for more than 143 seconds. Not tainted 5.11.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28128 pid: 9917 ppid: 8350 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4324 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5075 schedule+0x14b/0x200 kernel/sched/core.c:5154 rwsem_down_write_slowpath+0xd69/0x1370 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x117/0x120 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:775 [inline] lock_mount+0x6a/0x2f0 fs/namespace.c:2229 do_new_mount_fc fs/namespace.c:2859 [inline] do_new_mount fs/namespace.c:2918 [inline] path_mount+0x20b2/0x29a0 fs/namespace.c:3246 do_mount fs/namespace.c:3259 [inline] __do_sys_mount fs/namespace.c:3467 [inline] __se_sys_mount+0x28c/0x320 fs/namespace.c:3444 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465ef9 RSP: 002b:00007f02e0440188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 0000000000465ef9 RDX: 0000000020002100 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 00000000004bcd1c R08: 0000000020004300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0b0 R13: 00007ffd1922523f R14: 00007f02e0440300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/u4:4/192: #0: ffff8880b9d34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1321 [inline] #0: ffff8880b9d34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0xd8/0xe70 kernel/sched/core.c:4992 #1: ffff8880b9d1f808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x224/0x5c0 kernel/sched/psi.c:833 #2: ffff8880b9d24018 (&base->lock){..-.}-{2:2}, at: lock_timer_base+0x12a/0x270 kernel/time/timer.c:944 1 lock held by khungtaskd/1651: #0: ffffffff8c710000 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8035: #0: ffff8880143fcd70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:961 2 locks held by syz-executor.5/9909: 2 locks held by syz-executor.5/9916: #0: ffff8880196ba460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:375 #1: ffff8880759d0150 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff8880759d0150 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: filename_create+0x146/0x6b0 fs/namei.c:3596 1 lock held by syz-executor.5/9917: #0: ffff8880759d0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #0: ffff8880759d0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x6a/0x2f0 fs/namespace.c:2229 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1651 Comm: khungtaskd Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x125/0x19e lib/dump_stack.c:120 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xce9/0xd30 kernel/hung_task.c:294 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4789 Comm: systemd-journal Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:30 [inline] RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:52 [inline] RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:173 [inline] RIP: 0010:unwind_next_frame+0x525/0x1f40 arch/x86/kernel/unwind_orc.c:443 Code: f9 02 48 c1 e8 3f 48 01 c8 48 83 e0 fe 49 8d 1c 47 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 75 27 <48> 63 03 48 01 d8 48 8d 4b 04 4c 39 e0 4c 0f 46 f9 48 8d 43 fc 4c RSP: 0018:ffffc90000f1f960 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffffff8dc5591c RCX: dffffc0000000000 RDX: ffffffff8e3d7528 RSI: ffffffff8167470d RDI: ffffffff8134ba59 RBP: ffffffff8dc5591c R08: 0000000000000010 R09: ffffc90000f1fad8 R10: fffff520001e3f51 R11: 0000000000000000 R12: ffffffff8167470c R13: ffffffff8dc5591c R14: ffffffff8dc5591c R15: ffffffff8dc5591c FS: 00007f56b78ee8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f56b4d05000 CR3: 0000000026572000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0xb2/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xad/0x150 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x3d/0x70 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:356 ____kasan_slab_free+0xe2/0x110 mm/kasan/common.c:362 kasan_slab_free include/linux/kasan.h:192 [inline] slab_free_hook mm/slub.c:1547 [inline] slab_free_freelist_hook+0xdd/0x1b0 mm/slub.c:1580 slab_free mm/slub.c:3143 [inline] kmem_cache_free+0x85/0x160 mm/slub.c:3159 file_free fs/file_table.c:55 [inline] __fput+0x563/0x7b0 fs/file_table.c:298 task_work_run+0x146/0x1c0 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x10b/0x1e0 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x48/0x180 kernel/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f56b6e7d840 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:00007fff12dbd3f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: fffffffffffffffe RBX: 00007fff12dbd700 RCX: 00007f56b6e7d840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 000056494d4c6a50 RBP: 000000000000000d R08: 000000000000ffc0 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 000056494d4b9040 R14: 00007fff12dbd6c0 R15: 000056494d4c6400