RDX: 0000000020000000 RSI: 00000000401c5820 RDI: 0000000000000004 RBP: 00007f2034bf51d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffe04f4a32f R14: 00007f2034bf5300 R15: 0000000000022000 ================================================================== 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+0x383/0x24b0 fs/xfs/xfs_log_cil.c:1264 Write of size 88 at addr 0000000000000000 by task syz-executor.0/3961 CPU: 0 PID: 3961 Comm: syz-executor.0 Not tainted 5.15.110-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 __kasan_report mm/kasan/report.c:438 [inline] kasan_report+0x161/0x1c0 mm/kasan/report.c:451 kasan_check_range+0x27e/0x290 mm/kasan/generic.c:189 memset+0x1f/0x40 mm/kasan/shadow.c:44 xlog_cil_alloc_shadow_bufs fs/xfs/xfs_log_cil.c:225 [inline] xlog_cil_commit+0x383/0x24b0 fs/xfs/xfs_log_cil.c:1264 __xfs_trans_commit+0x7e8/0xdd0 fs/xfs/xfs_trans.c:881 xfs_fileattr_set+0x11a1/0x1910 fs/xfs/xfs_ioctl.c:1478 vfs_fileattr_set+0x8f3/0xd30 fs/ioctl.c:700 ioctl_fssetxattr fs/ioctl.c:762 [inline] do_vfs_ioctl+0x1736/0x2b70 fs/ioctl.c:849 __do_sys_ioctl fs/ioctl.c:872 [inline] __se_sys_ioctl+0x81/0x160 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f20358830f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2034bf5168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f20359a2f80 RCX: 00007f20358830f9 RDX: 0000000020000000 RSI: 00000000401c5820 RDI: 0000000000000004 RBP: 00007f2034bf51d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffe04f4a32f R14: 00007f2034bf5300 R15: 0000000000022000 ==================================================================