INFO: task syz-executor.0:9846 blocked for more than 143 seconds. Not tainted 5.11.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28376 pid: 9846 ppid: 8460 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5078 schedule+0x14b/0x200 kernel/sched/core.c:5157 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+0x112/0x120 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] chown_common+0x2e1/0x590 fs/open.c:671 do_fchownat+0x104/0x1c0 fs/open.c:704 __do_sys_lchown fs/open.c:729 [inline] __se_sys_lchown fs/open.c:727 [inline] __x64_sys_lchown+0x81/0x90 fs/open.c:727 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 RSP: 002b:00007f17b0db9c68 EFLAGS: 00000246 ORIG_RAX: 000000000000005e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 000000000119c068 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00007ffdad153d7f R14: 00007f17b0dba9c0 R15: 000000000119c034 INFO: task syz-executor.0:9858 blocked for more than 143 seconds. Not tainted 5.11.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27800 pid: 9858 ppid: 8460 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5078 schedule+0x14b/0x200 kernel/sched/core.c:5157 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+0x112/0x120 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] lock_mount+0x6a/0x2f0 fs/namespace.c:2198 do_new_mount_fc fs/namespace.c:2824 [inline] do_new_mount fs/namespace.c:2883 [inline] path_mount+0x20d1/0x2a00 fs/namespace.c:3211 do_mount fs/namespace.c:3224 [inline] __do_sys_mount fs/namespace.c:3432 [inline] __se_sys_mount+0x28c/0x320 fs/namespace.c:3409 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 RSP: 002b:00007f17b0d77c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e219 RDX: 0000000020002100 RSI: 00000000200020c0 RDI: 0000000000000000 RBP: 000000000119c1c8 R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c184 R13: 00007ffdad153d7f R14: 00007f17b0d789c0 R15: 000000000119c184 INFO: task syz-executor.0:9861 blocked for more than 143 seconds. Not tainted 5.11.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29408 pid: 9861 ppid: 8460 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5078 schedule+0x14b/0x200 kernel/sched/core.c:5157 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+0x112/0x120 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] chown_common+0x2e1/0x590 fs/open.c:671 do_fchownat+0x104/0x1c0 fs/open.c:704 __do_sys_lchown fs/open.c:729 [inline] __se_sys_lchown fs/open.c:727 [inline] __x64_sys_lchown+0x81/0x90 fs/open.c:727 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e219 RSP: 002b:00007f17b0d56c68 EFLAGS: 00000246 ORIG_RAX: 000000000000005e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 000000000119c260 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c22c R13: 00007ffdad153d7f R14: 00007f17b0d579c0 R15: 000000000119c22c Showing all locks held in the system: 1 lock held by khungtaskd/1637: #0: ffffffff8bd11740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8112: #0: ffff88801c90b4f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:947 4 locks held by syz-executor.0/9841: 2 locks held by syz-executor.0/9846: #0: ffff888072156460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:354 #1: ffff888076a38150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff888076a38150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: chown_common+0x2e1/0x590 fs/open.c:671 1 lock held by syz-executor.0/9858: #0: ffff888076a38150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff888076a38150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x6a/0x2f0 fs/namespace.c:2198 2 locks held by syz-executor.0/9861: #0: ffff888072156460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:354 #1: ffff888076a38150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #1: ffff888076a38150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: chown_common+0x2e1/0x590 fs/open.c:671 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1637 Comm: khungtaskd Not tainted 5.11.0-rc5-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+0x137/0x1be 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:296 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8112 Comm: in:imklog Not tainted 5.11.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mark_lock+0x1/0x2030 kernel/locking/lockdep.c:4372 Code: ff ff 48 c7 c1 c8 c3 13 8d 80 e1 07 80 c1 03 38 c1 7c a0 48 c7 c7 c8 c3 13 8d e8 fa 0c 5f 00 eb 92 e8 f3 c2 eb 07 0f 1f 00 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 f0 48 81 ec f0 00 00 RSP: 0018:ffffc9000b72f5f0 EFLAGS: 00000046 RAX: 0000000000000005 RBX: 0000000000000003 RCX: ffffffff815b799f RDX: 0000000000000008 RSI: ffff888014badcf0 RDI: ffff888014bad340 RBP: ffffc9000b72f7b0 R08: dffffc0000000000 R09: fffffbfff1de12a5 R10: fffffbfff1de12a5 R11: 0000000000000000 R12: ffff888014bad340 R13: ffff888014badd10 R14: ffff888014badcf0 R15: ffff888014badd10 FS: 00007f454cd62700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f71a3e19000 CR3: 000000001cefe000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4332 [inline] __lock_acquire+0xccf/0x5e90 kernel/locking/lockdep.c:4786 lock_acquire+0x114/0x5e0 kernel/locking/lockdep.c:5442 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:259 rcu_read_lock include/linux/rcupdate.h:648 [inline] is_bpf_text_address+0x27/0x270 kernel/bpf/core.c:700 kernel_text_address kernel/extable.c:151 [inline] __kernel_text_address+0x93/0x100 kernel/extable.c:105 unwind_get_return_address+0x48/0x80 arch/x86/kernel/unwind_orc.c:318 arch_stack_walk+0x98/0xe0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0xad/0x150 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:401 [inline] ____kasan_kmalloc+0xbd/0xf0 mm/kasan/common.c:429 kasan_kmalloc include/linux/kasan.h:219 [inline] kmem_cache_alloc_trace+0x200/0x300 mm/slub.c:2919 kmalloc include/linux/slab.h:552 [inline] syslog_print kernel/printk/printk.c:1430 [inline] do_syslog+0xfbc/0x1450 kernel/printk/printk.c:1586 kmsg_read+0x8c/0xc0 fs/proc/kmsg.c:40 vfs_read+0x213/0xa80 fs/read_write.c:494 ksys_read+0x11b/0x220 fs/read_write.c:634 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f454f3a522d 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:00007f454cd41580 EFLAGS: 00000293 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f454f3a522d RDX: 0000000000001fa0 RSI: 00007f454cd41da0 RDI: 0000000000000004 RBP: 000055b53f7a29d0 R08: 0000000000000000 R09: 0000000000000000 R10: 2ce33e6c02ce33e7 R11: 0000000000000293 R12: 00007f454cd41da0 R13: 0000000000001fa0 R14: 0000000000001f9f R15: 00007f454cd41e03