------------[ cut here ]------------ kernel BUG at fs/buffer.c:553! invalid opcode: 0000 [#1] PREEMPT SMP KASAN loop_reread_partitions: partition scan of loop0 (˙8¤bÜ=7]c²´) failed (rc=-16) CPU: 0 PID: 12662 Comm: syz-executor.0 Not tainted 4.19.125-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mark_buffer_dirty_inode+0x2f8/0x3c0 fs/buffer.c:553 team0: Device ipvlan1 failed to register rx_handler Code: 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 75 4d 48 89 6b 58 4c 89 ef e8 82 8b 69 05 e9 00 fe ff ff e8 98 f5 b2 ff <0f> 0b 4c 89 ff e8 6e a0 e8 ff e9 e5 fd ff ff e8 64 a0 e8 ff e9 6e RSP: 0018:ffff88803b7ff290 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8880801b0e70 RCX: ffffc90005ae4000 RDX: 0000000000040000 RSI: ffffffff81b49538 RDI: ffff8880420d4ef8 RBP: ffff8880420d4d98 R08: 0000000000000000 R09: 0000000000000002 R10: ffffed1015cc473a R11: ffff8880ae6239d3 R12: ffff8880800d9d20 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888044d44000 FS: 00007f809e287700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fefde307830 CR3: 0000000091015000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fat_mirror_bhs+0x2e4/0x4c0 fs/fat/fatent.c:398 fat_alloc_clusters+0xc62/0xed0 fs/fat/fatent.c:543 fat_add_cluster+0x6d/0xf0 fs/fat/inode.c:101 __fat_get_block fs/fat/inode.c:148 [inline] fat_get_block+0x2fb/0x8f0 fs/fat/inode.c:183 __block_write_begin_int+0x47d/0x1770 fs/buffer.c:1978 __block_write_begin fs/buffer.c:2028 [inline] block_write_begin+0x58/0x2e0 fs/buffer.c:2087 cont_write_begin+0x531/0x7f0 fs/buffer.c:2440 fat_write_begin+0x8d/0x120 fs/fat/inode.c:229 cont_expand_zero fs/buffer.c:2367 [inline] cont_write_begin+0x2e1/0x7f0 fs/buffer.c:2430 fat_write_begin+0x8d/0x120 fs/fat/inode.c:229 generic_cont_expand_simple+0x106/0x170 fs/buffer.c:2331 fat_cont_expand+0x71/0x2b0 fs/fat/file.c:231 fat_setattr+0xa1e/0xc60 fs/fat/file.c:510 notify_change+0x709/0xfc0 fs/attr.c:334 do_truncate+0x134/0x1f0 fs/open.c:63 do_sys_ftruncate+0x48e/0x560 fs/open.c:194 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45ca69 Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f809e286c78 EFLAGS: 00000246 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00000000004dc8c0 RCX: 000000000045ca69 RDX: 0000000000000000 RSI: 0000000000208200 RDI: 0000000000000008 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000000e9 R14: 00000000004c3941 R15: 00007f809e2876d4 Modules linked in: ---[ end trace ad8790883590e50d ]--- RIP: 0010:mark_buffer_dirty_inode+0x2f8/0x3c0 fs/buffer.c:553 Code: 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 75 4d 48 89 6b 58 4c 89 ef e8 82 8b 69 05 e9 00 fe ff ff e8 98 f5 b2 ff <0f> 0b 4c 89 ff e8 6e a0 e8 ff e9 e5 fd ff ff e8 64 a0 e8 ff e9 6e RSP: 0018:ffff88803b7ff290 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8880801b0e70 RCX: ffffc90005ae4000 RDX: 0000000000040000 RSI: ffffffff81b49538 RDI: ffff8880420d4ef8 print_req_error: I/O error, dev loop0, sector 0 print_req_error: I/O error, dev loop0, sector 0 audit: type=1804 audit(1591036563.558:78): pid=12680 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir942449317/syzkaller.1xHqMA/70/bus" dev="sda1" ino=16265 res=1 Buffer I/O error on dev loop0, logical block 0, async page read RBP: ffff8880420d4d98 R08: 0000000000000000 R09: 0000000000000002 R10: ffffed1015cc473a R11: ffff8880ae6239d3 R12: ffff8880800d9d20 print_req_error: I/O error, dev loop0, sector 0 Buffer I/O error on dev loop0, logical block 0, async page read R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888044d44000 audit: type=1804 audit(1591036563.618:79): pid=12682 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.3" name="/root/syzkaller-testdir942449317/syzkaller.1xHqMA/70/bus" dev="sda1" ino=16265 res=1 FS: 00007f809e287700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8ec99d4db8 CR3: 0000000091015000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 audit: type=1804 audit(1591036563.628:80): pid=12684 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.3" name="/root/syzkaller-testdir942449317/syzkaller.1xHqMA/70/bus" dev="sda1" ino=16265 res=1 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400