RDX: 0000000000002000 RSI: 0000000000000008 RDI: 0000000000000006 RBP: 00007fb62eeba090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fb630eda038 R14: 00007fb630ed9fa0 R15: 00007ffdac4ce458 ================================================================== BUG: KASAN: null-ptr-deref in xlog_cil_alloc_shadow_bufs fs/xfs/xfs_log_cil.c:225 [inline] BUG: KASAN: null-ptr-deref in xlog_cil_commit+0x2d8/0x2050 fs/xfs/xfs_log_cil.c:1264 Write of size 104 at addr 0000000000000000 by task syz.3.163/4975 CPU: 1 PID: 4975 Comm: syz.3.163 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 __kasan_report mm/kasan/report.c:438 [inline] kasan_report+0xd5/0x130 mm/kasan/report.c:451 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x235/0x290 mm/kasan/generic.c:189 memset+0x1e/0x40 mm/kasan/shadow.c:44 xlog_cil_alloc_shadow_bufs fs/xfs/xfs_log_cil.c:225 [inline] xlog_cil_commit+0x2d8/0x2050 fs/xfs/xfs_log_cil.c:1264 __xfs_trans_commit+0x6b4/0xc60 fs/xfs/xfs_trans.c:881 xfs_bmapi_convert_delalloc+0xb63/0xdb0 fs/xfs/libxfs/xfs_bmap.c:4663 xfs_convert_blocks fs/xfs/xfs_aops.c:245 [inline] xfs_map_blocks+0x96b/0x1350 fs/xfs/xfs_aops.c:366 iomap_writepage_map fs/iomap/buffered-io.c:1320 [inline] iomap_do_writepage+0x657/0x2160 fs/iomap/buffered-io.c:1485 write_cache_pages+0x9b7/0x1000 mm/page-writeback.c:2277 iomap_writepages+0x5a/0x210 fs/iomap/buffered-io.c:1516 xfs_vm_writepages+0x14a/0x1c0 fs/xfs/xfs_aops.c:488 do_writepages+0x476/0x6e0 mm/page-writeback.c:2386 filemap_fdatawrite_wbc+0x1eb/0x240 mm/filemap.c:400 __filemap_fdatawrite_range mm/filemap.c:433 [inline] filemap_write_and_wait_range+0x126/0x3d0 mm/filemap.c:704 xfs_flush_unmap_range+0xb3/0x110 fs/xfs/xfs_bmap_util.c:949 xfs_file_fallocate+0x21c/0xb80 fs/xfs/xfs_file.c:951 vfs_fallocate+0x587/0x6f0 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0xbd/0x100 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fb630c60819 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb62eeba028 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fb630ed9fa0 RCX: 00007fb630c60819 RDX: 0000000000002000 RSI: 0000000000000008 RDI: 0000000000000006 RBP: 00007fb62eeba090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fb630eda038 R14: 00007fb630ed9fa0 R15: 00007ffdac4ce458 ==================================================================