Process accounting resumed ------------[ cut here ]------------ kernel BUG at fs/fat/inode.c:161! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 9871 Comm: syz-executor.4 Not tainted 4.14.300-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 task: ffff8880a8e8a6c0 task.stack: ffff8880931c8000 RIP: 0010:__fat_get_block fs/fat/inode.c:161 [inline] RIP: 0010:fat_get_block+0x647/0x750 fs/fat/inode.c:176 RSP: 0018:ffff8880931cf5f0 EFLAGS: 00010202 RAX: 0000000000040000 RBX: ffff88805256c1f8 RCX: ffffc90009894000 RDX: 0000000000009c20 RSI: ffffffff81cffdc7 RDI: ffff88805256d5a0 RBP: ffff88805256d658 R08: ffff8880931cf688 R09: 0000000000000000 R10: 0000000000000000 R11: ffff8880a8e8a6c0 R12: ffff8880a4db0e80 R13: 0000000000000000 R14: 000000000000000b R15: 0000000000000001 FS: 00007fb248fe8700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f325000 CR3: 00000000a3836000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __block_write_begin_int+0x35c/0x11d0 fs/buffer.c:2038 __block_write_begin fs/buffer.c:2088 [inline] block_write_begin+0x58/0x270 fs/buffer.c:2147 cont_write_begin+0x4a3/0x740 fs/buffer.c:2497 fat_write_begin+0x89/0x170 fs/fat/inode.c:222 generic_perform_write+0x1d5/0x430 mm/filemap.c:3055 __generic_file_write_iter+0x227/0x590 mm/filemap.c:3180 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208 call_write_iter include/linux/fs.h:1780 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x44c/0x630 fs/read_write.c:482 __kernel_write+0xf5/0x330 fs/read_write.c:501 do_acct_process+0xba6/0xfe0 kernel/acct.c:520 acct_pin_kill+0x27/0x100 kernel/acct.c:174 pin_kill+0x14a/0x650 fs/fs_pin.c:50 SYSC_acct kernel/acct.c:291 [inline] SyS_acct+0x5e9/0x850 kernel/acct.c:273 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 Code: 17 af ff e9 bd fa ff ff 48 8b 7c 24 20 e8 f2 16 af ff e9 f4 fb ff ff 48 8b 7c 24 38 e8 f3 15 af ff e9 52 fe ff ff e8 f9 59 85 ff <0f> 0b e8 f2 59 85 ff 0f 0b e8 ab 17 af ff e9 b1 fa ff ff 48 8b RIP: __fat_get_block fs/fat/inode.c:161 [inline] RSP: ffff8880931cf5f0 RIP: fat_get_block+0x647/0x750 fs/fat/inode.c:176 RSP: ffff8880931cf5f0 ---[ end trace 2f3908dab76b7af6 ]---