------------[ cut here ]------------ WARNING: CPU: 3 PID: 6530 at fs/buffer.c:1130 mark_buffer_dirty+0x376/0x3e0 fs/buffer.c:1130 Modules linked in: CPU: 3 PID: 6530 Comm: syz-executor.1 Not tainted 6.4.0-rc4-syzkaller-00265-g4ecd704a4c51 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:mark_buffer_dirty+0x376/0x3e0 fs/buffer.c:1130 Code: e9 8f 77 8d ff e8 8a 77 8d ff 48 89 ef e8 b2 13 e8 ff 5b 5d e9 7b 77 8d ff e8 76 77 8d ff 0f 0b e9 10 fe ff ff e8 6a 77 8d ff <0f> 0b e9 b7 fc ff ff e8 5e 77 8d ff 0f 0b e9 d6 fc ff ff 48 89 df RSP: 0018:ffffc90028b3f350 EFLAGS: 00010216 RAX: 0000000000020cc4 RBX: ffff8880758ab000 RCX: ffffc900063f9000 RDX: 0000000000040000 RSI: ffffffff81f6ced6 RDI: 0000000000000001 RBP: 1ffff92005167e00 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: dffffc0000000000 R15: ffff88801a8972c8 FS: 0000000000000000(0000) GS:ffff88802c900000(0063) knlGS:00000000f7f81b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000000040de14 CR3: 0000000076140000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __nilfs_mark_inode_dirty+0xac/0x240 fs/nilfs2/inode.c:1115 nilfs_mark_inode_dirty_sync fs/nilfs2/nilfs.h:292 [inline] nilfs_get_block+0x58d/0xa50 fs/nilfs2/inode.c:120 __block_write_begin_int+0x3bd/0x14b0 fs/buffer.c:2064 __block_write_begin fs/buffer.c:2114 [inline] block_page_mkwrite+0x34b/0x540 fs/buffer.c:2588 nilfs_page_mkwrite+0x835/0x18f0 fs/nilfs2/file.c:99 do_page_mkwrite+0x1a1/0x690 mm/memory.c:2931 wp_page_shared mm/memory.c:3280 [inline] do_wp_page+0x356/0x33c0 mm/memory.c:3362 handle_pte_fault mm/memory.c:4964 [inline] __handle_mm_fault+0x1635/0x41c0 mm/memory.c:5089 handle_mm_fault+0x2af/0x9f0 mm/memory.c:5243 do_user_addr_fault+0x51a/0x1210 arch/x86/mm/fault.c:1440 handle_page_fault arch/x86/mm/fault.c:1534 [inline] exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1590 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:rep_stos_alternative+0x40/0x80 arch/x86/lib/clear_page_64.S:96 Code: ff c7 48 ff c9 75 f6 c3 48 89 07 48 83 c7 08 83 e9 08 74 f3 83 f9 08 73 ef eb e2 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <48> 89 07 48 89 47 08 48 89 47 10 48 89 47 18 48 89 47 20 48 89 47 RSP: 0018:ffffc90028b3fbb0 EFLAGS: 00050202 RAX: 0000000000000000 RBX: 000000007ffce000 RCX: 0000000000000080 RDX: 0000000000040000 RSI: ffffffff84114c46 RDI: 0000000020032000 RBP: 0000000020031080 R08: 0000000000000001 R09: ffffffff8e7a7d97 R10: fffffbfff1cf4fb2 R11: 0000000000000001 R12: 0000000000031000 R13: ffffc90028b3fd90 R14: 0000000000001000 R15: 0000000020032080 __clear_user arch/x86/include/asm/uaccess_64.h:174 [inline] clear_user arch/x86/include/asm/uaccess_64.h:191 [inline] iov_iter_zero+0x266/0x1200 lib/iov_iter.c:851 read_iter_zero+0x96/0x310 drivers/char/mem.c:497 call_read_iter include/linux/fs.h:1862 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x4b1/0x8a0 fs/read_write.c:470 ksys_read+0x12b/0x250 fs/read_write.c:613 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7fa7579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7f815cc EFLAGS: 00000296 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 0000000020000080 RDX: 00000000ffffff1c RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: ff c7 inc %edi 2: 48 ff c9 dec %rcx 5: 75 f6 jne 0xfffffffd 7: c3 retq 8: 48 89 07 mov %rax,(%rdi) b: 48 83 c7 08 add $0x8,%rdi f: 83 e9 08 sub $0x8,%ecx 12: 74 f3 je 0x7 14: 83 f9 08 cmp $0x8,%ecx 17: 73 ef jae 0x8 19: eb e2 jmp 0xfffffffd 1b: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 22: 00 00 00 00 26: 0f 1f 40 00 nopl 0x0(%rax) * 2a: 48 89 07 mov %rax,(%rdi) <-- trapping instruction 2d: 48 89 47 08 mov %rax,0x8(%rdi) 31: 48 89 47 10 mov %rax,0x10(%rdi) 35: 48 89 47 18 mov %rax,0x18(%rdi) 39: 48 89 47 20 mov %rax,0x20(%rdi) 3d: 48 rex.W 3e: 89 .byte 0x89 3f: 47 rex.RXB