INFO: task syz-executor.1:10773 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.1 state:D stack:29656 pid:10773 ppid: 8368 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4324 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5075 schedule+0xcf/0x270 kernel/sched/core.c:5154 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write_nested+0x13b/0x150 kernel/locking/rwsem.c:1517 inode_lock_nested include/linux/fs.h:810 [inline] filename_create+0x15a/0x490 fs/namei.c:3596 user_path_create fs/namei.c:3654 [inline] do_mkdirat+0xa0/0x310 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:00007f5ed5291fa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000465007 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020000080 RBP: 00007f5ed5292040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000020000080 R14: 00007f5ed5292000 R15: 0000000000000000 INFO: task syz-executor.1:10807 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.1 state:D stack:27696 pid:10807 ppid: 8368 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4324 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5075 schedule+0xcf/0x270 kernel/sched/core.c:5154 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:775 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2229 do_new_mount_fc fs/namespace.c:2859 [inline] do_new_mount fs/namespace.c:2918 [inline] path_mount+0x14d6/0x1f90 fs/namespace.c:3246 do_mount fs/namespace.c:3259 [inline] __do_sys_mount fs/namespace.c:3467 [inline] __se_sys_mount fs/namespace.c:3444 [inline] __x64_sys_mount+0x27f/0x300 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:00007f5ed5250188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c158 RCX: 0000000000465ef9 RDX: 0000000020002100 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 00000000004bcd1c R08: 0000000020004300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c158 R13: 00007ffcd59eeb2f R14: 00007f5ed5250300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1653: #0: ffffffff8bf747e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6327 1 lock held by in:imklog/8080: #0: ffff8880212ceff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:961 2 locks held by syz-executor.1/10767: 2 locks held by syz-executor.1/10773: #0: ffff8880259da460 (sb_writers#14){.+.+}-{0:0}, at: filename_create+0x104/0x490 fs/namei.c:3591 #1: ffff888073471590 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff888073471590 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: filename_create+0x15a/0x490 fs/namei.c:3596 1 lock held by syz-executor.1/10807: #0: ffff888073471590 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #0: ffff888073471590 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2229 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1653 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+0xfa/0x151 lib/dump_stack.c:120 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:209 [inline] watchdog+0xd48/0xfb0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 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: 8080 Comm: in:imklog Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:90 [inline] RIP: 0010:lock_is_held_type+0x42/0x130 kernel/locking/lockdep.c:5542 Code: c4 04 85 c9 0f 84 d0 00 00 00 65 8b 05 27 65 00 77 85 c0 0f 85 c1 00 00 00 65 4c 8b 24 25 00 f0 01 00 41 8b 94 24 84 09 00 00 <85> d2 0f 85 a8 00 00 00 48 89 fd 41 89 f6 9c 8f 04 24 fa 48 c7 c7 RSP: 0018:ffffc9000bd7fa18 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8bf74720 RBP: 0000000000000000 R08: 0000000000000001 R09: ffffffff8faae907 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88801be8d340 R13: 0000000000000001 R14: 000000000000035f R15: 00007f396b5a20ff FS: 00007f396b5c2700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0514b3c000 CR3: 0000000018a8d000 CR4: 0000000000350ee0 Call Trace: lock_is_held include/linux/lockdep.h:278 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_kfree include/trace/events/kmem.h:138 [inline] kfree+0x2ec/0x3b0 mm/slub.c:4163 syslog_print+0x37b/0x430 kernel/printk/printk.c:1488 do_syslog.part.0+0x31c/0x7e0 kernel/printk/printk.c:1588 do_syslog+0x49/0x60 kernel/printk/printk.c:1569 kmsg_read+0x90/0xb0 fs/proc/kmsg.c:40 pde_read fs/proc/inode.c:321 [inline] proc_reg_read+0x119/0x300 fs/proc/inode.c:331 vfs_read+0x1b5/0x570 fs/read_write.c:494 ksys_read+0x12d/0x250 fs/read_write.c:634 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f396dc0522d Code: c1 20 00 00 75 10 b8 00 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24 b8 00 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 97 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f396b5a1580 EFLAGS: 00000293 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f396dc0522d RDX: 0000000000001fa0 RSI: 00007f396b5a1da0 RDI: 0000000000000004 RBP: 000056137b25a9d0 R08: 0000000000000000 R09: 0000000000000000 R10: 2ce33e6c02ce33e7 R11: 0000000000000293 R12: 00007f396b5a1da0 R13: 0000000000001fa0 R14: 0000000000001f9f R15: 00007f396b5a1e1e