RSP: 002b:00007f47716a7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f47736c9180 RCX: 00007f4773481ba9 RDX: 0000200000000080 RSI: 00000000401c5820 RDI: 0000000000000008 RBP: 00007f47716a7090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f47736c9218 R14: 00007f47736c9180 R15: 00007fff21f090a8 ================================================================== 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+0x2c7/0x2010 fs/xfs/xfs_log_cil.c:1264 Write of size 104 at addr 0000000000000000 by task syz.7.913/9132 CPU: 1 PID: 9132 Comm: syz.7.913 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Call Trace: dump_stack_lvl+0x168/0x230 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+0x27b/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+0x2c7/0x2010 fs/xfs/xfs_log_cil.c:1264 __xfs_trans_commit+0x6b2/0xc50 fs/xfs/xfs_trans.c:881 xfs_trans_roll+0x121/0x420 fs/xfs/xfs_trans.c:1009 xfs_defer_trans_roll+0x46c/0x990 fs/xfs/libxfs/xfs_defer.c:297 xfs_defer_finish+0xc0/0x180 fs/xfs/libxfs/xfs_defer.c:525 xfs_dquot_disk_alloc+0x713/0xa40 fs/xfs/xfs_dquot.c:376 xfs_qm_dqread_alloc fs/xfs/xfs_dquot.c:647 [inline] xfs_qm_dqread+0x319/0x650 fs/xfs/xfs_dquot.c:692 xfs_qm_dqget+0x1d2/0x460 fs/xfs/xfs_dquot.c:897 xfs_qm_vop_dqalloc+0x80d/0xd80 fs/xfs/xfs_qm.c:1733 xfs_fileattr_set+0x397/0x1790 fs/xfs/xfs_ioctl.c:1410 vfs_fileattr_set+0x842/0xaf0 fs/ioctl.c:700 ioctl_fssetxattr fs/ioctl.c:762 [inline] do_vfs_ioctl+0x136a/0x1de0 fs/ioctl.c:849 __do_sys_ioctl fs/ioctl.c:872 [inline] __se_sys_ioctl+0x83/0x170 fs/ioctl.c:860 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:0x7f4773481ba9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f47716a7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f47736c9180 RCX: 00007f4773481ba9 RDX: 0000200000000080 RSI: 00000000401c5820 RDI: 0000000000000008 RBP: 00007f47716a7090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f47736c9218 R14: 00007f47736c9180 R15: 00007fff21f090a8 ==================================================================