EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue INFO: task syz-executor366:8097 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-executor366 D26224 8097 8095 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_convert_inline_data_nolock+0x5c9/0xd10 fs/ext4/inline.c:1246 ext4_convert_inline_data+0x347/0x3a0 fs/ext4/inline.c:2033 ext4_page_mkwrite+0x209/0x1320 fs/ext4/inode.c:6295 do_page_mkwrite+0xd4/0x410 mm/memory.c:2486 wp_page_shared mm/memory.c:2794 [inline] do_wp_page+0x980/0x2210 mm/memory.c:2894 handle_pte_fault mm/memory.c:4191 [inline] __handle_mm_fault+0x258b/0x41c0 mm/memory.c:4299 handle_mm_fault+0x436/0xb10 mm/memory.c:4336 __do_page_fault+0x68e/0xd60 arch/x86/mm/fault.c:1412 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1205 RIP: 0033:0x7f13da26ac7f Code: Bad RIP value. RSP: 002b:00007ffe46935580 EFLAGS: 00010217 RAX: 00000000200006c2 RBX: 0030656c69662f2e RCX: 000000000000001b RDX: 0000000000000002 RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000028011 R11: 0000000000000246 R12: 00007ffe469355b0 R13: 0000000000000000 R14: 431bde82d7b634db R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/1571: #0: 0000000081733372 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7799: #0: 000000000aa34253 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 4 locks held by syz-executor366/8097: #0: 00000000d5e78498 (&mm->mmap_sem){++++}, at: __do_page_fault+0x398/0xd60 arch/x86/mm/fault.c:1341 #1: 000000007ae07de9 (sb_pagefaults){.+.+}, at: sb_start_pagefault include/linux/fs.h:1608 [inline] #1: 000000007ae07de9 (sb_pagefaults){.+.+}, at: ext4_page_mkwrite+0x1c4/0x1320 fs/ext4/inode.c:6290 #2: 000000006083755c (&ei->i_mmap_sem){++++}, at: ext4_page_mkwrite+0x201/0x1320 fs/ext4/inode.c:6293 #3: 00000000eda7daa8 (&ei->xattr_sem){++++}, at: ext4_write_lock_xattr fs/ext4/xattr.h:141 [inline] #3: 00000000eda7daa8 (&ei->xattr_sem){++++}, at: ext4_convert_inline_data+0x20a/0x3a0 fs/ext4/inline.c:2031 ============================================= 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/01/2011 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: 8046 Comm: kworker/u4:5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfn (flush-7:0) RIP: 0010:__read_once_size include/linux/compiler.h:263 [inline] RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:2317 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:2337 [inline] RIP: 0010:validate_chain kernel/locking/lockdep.c:2391 [inline] RIP: 0010:__lock_acquire+0xbb3/0x3ff0 kernel/locking/lockdep.c:3416 Code: 80 46 86 c8 61 48 b8 00 00 00 00 00 fc ff df 49 0f af cc 48 c1 e9 31 4c 8d 04 cd 40 75 d1 8c 4c 89 c2 48 c1 ea 03 80 3c 02 00 <0f> 85 83 25 00 00 48 8b 1c cd 40 75 d1 8c 48 85 db 74 55 48 83 eb RSP: 0018:ffff88808db1f150 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: c9451baf6145ee4d RCX: 00000000000047e3 RDX: 1ffffffff19a768b RSI: 00000000c9bc1f8d RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffff8cd3b458 R09: 0000000000000005 R10: ffff888098400ed0 R11: 0000000000000000 R12: 89cc5296d6d49c4e R13: ffff888098400580 R14: ffff888098400ee8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa29916e000 CR3: 00000000a1629000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:152 sb_mark_inode_writeback+0x8e/0x490 fs/fs-writeback.c:1066 __test_set_page_writeback+0xf76/0x1750 mm/page-writeback.c:2791 set_page_writeback include/linux/page-flags.h:497 [inline] __block_write_full_page+0x651/0xf60 fs/buffer.c:1772 block_write_full_page+0x1f3/0x260 fs/buffer.c:2951 __writepage+0x5e/0xe0 mm/page-writeback.c:2305 write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240 generic_writepages mm/page-writeback.c:2329 [inline] generic_writepages+0xdb/0x150 mm/page-writeback.c:2318 do_writepages+0xe5/0x290 mm/page-writeback.c:2344 __writeback_single_inode+0x10c/0x11d0 fs/fs-writeback.c:1385 writeback_sb_inodes+0x537/0xef0 fs/fs-writeback.c:1647 __writeback_inodes_wb+0xc6/0x280 fs/fs-writeback.c:1716 wb_writeback+0x841/0xcc0 fs/fs-writeback.c:1822 wb_check_old_data_flush fs/fs-writeback.c:1924 [inline] wb_do_writeback fs/fs-writeback.c:1977 [inline] wb_workfn+0x8ba/0x1250 fs/fs-writeback.c:2006 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 ---------------- Code disassembly (best guess), 5 bytes skipped: 0: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 7: fc ff df a: 49 0f af cc imul %r12,%rcx e: 48 c1 e9 31 shr $0x31,%rcx 12: 4c 8d 04 cd 40 75 d1 lea -0x732e8ac0(,%rcx,8),%r8 19: 8c 1a: 4c 89 c2 mov %r8,%rdx 1d: 48 c1 ea 03 shr $0x3,%rdx 21: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) * 25: 0f 85 83 25 00 00 jne 0x25ae <-- trapping instruction 2b: 48 8b 1c cd 40 75 d1 mov -0x732e8ac0(,%rcx,8),%rbx 32: 8c 33: 48 85 db test %rbx,%rbx 36: 74 55 je 0x8d 38: 48 rex.W 39: 83 .byte 0x83 3a: eb .byte 0xeb