INFO: task syz-executor172:10861 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-executor172 D26944 10861 8103 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 io_schedule+0xb5/0x120 kernel/sched/core.c:5181 bit_wait_io+0x12/0x90 kernel/sched/wait_bit.c:207 __wait_on_bit_lock+0xb5/0x170 kernel/sched/wait_bit.c:89 out_of_line_wait_on_bit_lock+0xd2/0x100 kernel/sched/wait_bit.c:116 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer+0x52/0x60 fs/buffer.c:65 lock_buffer include/linux/buffer_head.h:374 [inline] __sync_dirty_buffer+0x2a6/0x320 fs/buffer.c:3178 __ext4_handle_dirty_metadata+0x234/0x590 fs/ext4/ext4_jbd2.c:300 ext4_finish_convert_inline_dir fs/ext4/inline.c:1173 [inline] ext4_convert_inline_data_nolock+0x967/0xd10 fs/ext4/inline.c:1249 ext4_try_add_inline_entry+0x338/0x570 fs/ext4/inline.c:1322 ext4_add_entry+0x33c/0xbb0 fs/ext4/namei.c:2117 ext4_mkdir+0x6f5/0xe10 fs/ext4/namei.c:2711 vfs_mkdir+0x508/0x7a0 fs/namei.c:3819 do_mkdirat+0x262/0x2d0 fs/namei.c:3842 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fc871b2a779 Code: Bad RIP value. RSP: 002b:00007fc871ad62f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fc871bb0780 RCX: 00007fc871b2a779 RDX: 00007fc871b2a779 RSI: 0000000000000000 RDI: 0000000020000300 RBP: 00007fc871b7d780 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000073 R11: 0000000000000246 R12: 7261637369646f6e R13: 0030656c69662f2e R14: 6569727261626f6e R15: 00007fc871bb0788 Showing all locks held in the system: 1 lock held by khungtaskd/1571: #0: 00000000207eab1c (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7782: #0: 00000000df023b0c (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 3 locks held by syz-executor172/10861: #0: 00000000a83ebffa (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000a83ebffa (sb_writers#3){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000230a7ff9 (&type->i_mutex_dir_key#3/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 00000000230a7ff9 (&type->i_mutex_dir_key#3/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638 #2: 00000000142fa41f (&ei->xattr_sem){++++}, at: ext4_write_lock_xattr fs/ext4/xattr.h:141 [inline] #2: 00000000142fa41f (&ei->xattr_sem){++++}, at: ext4_try_add_inline_entry+0xfc/0x570 fs/ext4/inline.c:1280 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1571 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 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: 10 Comm: rcu_preempt Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:__sanitizer_cov_trace_pc+0x47/0x50 kernel/kcov.c:111 Code: 90 60 13 00 00 83 fa 02 75 20 48 8b 88 68 13 00 00 8b 80 64 13 00 00 48 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 0f 1f 84 00 00 00 00 00 49 89 f1 49 89 fa 65 48 8b 34 25 c0 df RSP: 0018:ffff8880b5a67d48 EFLAGS: 00000093 RAX: ffff8880b5a4e280 RBX: 0000000000000001 RCX: ffffffff83771e23 RDX: 0000000000000000 RSI: ffffffff83771e31 RDI: 0000000000000005 RBP: ffffffff88b3e120 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff88b3e0e0 R14: dffffc0000000000 R15: 000000000002be80 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7fc34cd000 CR3: 00000000a102a000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_preemption_disabled+0x41/0x280 lib/smp_processor_id.c:51 rcu_gp_cleanup kernel/rcu/tree.c:2115 [inline] rcu_gp_kthread+0x147b/0x21c0 kernel/rcu/tree.c:2244 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415