syzbot


KMSAN: uninit-value in xlog_sync

Status: upstream: reported on 2026/01/08 02:14
Subsystems: xfs
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+97f2c05378c5d68dcb8c@syzkaller.appspotmail.com
First crash: 156d, last: 1d21h
✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision Error
28ec2f9b-3e97-4147-8445-0d831c2987ae assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ✅ UserNamespace: ✅ VMGuestTrigger: ❌ VMHostTrigger: ❌ KMSAN: uninit-value in xlog_sync 2026/05/30 19:04 2026/05/30 19:04 2026/05/30 19:43 6b4a844333e83556da95d61d7f207e7ef5cd4bc6
ec04954e-3d3a-4425-b106-ab1ff874471c assessment-security 💥 KMSAN: uninit-value in xlog_sync 2026/05/14 11:33 2026/05/14 11:33 2026/05/14 11:34 6ccb967e465e832a7bfd7a116ad00d52a0923a5d failed to run ["git" "pull" "origin" "HEAD" "--depth=1" "--allow-unrelated-histories"]: exit status 128 From /app/workdir/repo/linux * branch HEAD -> FETCH_HEAD Updating files: 21% (19803/93016) Updating files: 22% (20464/93016) Updating files: 23% (21394/93016) Updating files: 24% (22324/93016) Updating files: 25% (23254/93016) Updating files: 26% (24185/93016) Updating files: 27% (25115/93016) Updating files: 28% (26045/93016) Updating files: 29% (26975/93016) Updating files: 30% (27905/93016) Updating files: 31% (28835/93016) Updating files: 31% (29152/93016) Updating files: 32% (29766/93016) Updating files: 33% (30696/93016) Updating files: 34% (31626/93016) error: unable to write file drivers/clk/qcom/gpucc-sm6350.c error: unable to write file drivers/clk/qcom/gpucc-sm6375.c error: unable to write file drivers/clk/qcom/gpucc-sm8150.c error: unable to write file drivers/clk/qcom/gpucc-sm8250.c error: unable to write file drivers/clk/qcom/gpucc-sm8350.c error: unable to write file drivers/clk/qcom/gpucc-sm8450.c error: unable to write file drivers/clk/qcom/gpucc-sm8550.c error: unable to write file drivers/clk/qcom/gpucc-sm8650.c error: unable to write file drivers/clk/qcom/gpucc-x1e80100.c error: unable to write file drivers/clk/qcom/gpucc-x1p42100.c error: unable to write file drivers/clk/qcom/gxclkctl-kaanapali.c error: unable to write file drivers/clk/qcom/hfpll.c error: unable to write file drivers/clk/qcom/ipq-cmn-pll.c error: unable to write file drivers/clk/qcom/kpss-xcc.c error: unable to write file drivers/clk/qcom/krait-cc.c error: unable to write file drivers/clk/qcom/lcc-ipq806x.c error: unable to write file drivers/clk/qcom/lcc-msm8960.c error: unable to create file drivers/clk/qcom/lpass-gfm-sm8250.c: No space left on device error: unable to create file drivers/clk/qcom/lpassaudiocc-sc7280.c: No space left on device error: unable to create file drivers/clk/qcom/lpasscc-sc7280.c: No space left on device error: unable to create file drivers/clk/qcom/lpasscc-sc8280xp.c: No space left on device error: unable to create file drivers/clk/qcom/lpasscc-sdm845.c: No space left on device error: unable to create file drivers/clk/qcom/lpasscc-sm6115.c: No space left on device error: unable to create file drivers/clk/qcom/lpasscorecc-sc7180.c: No space left on device error: unable to create file drivers/clk/qcom/lpasscorecc-sc7280.c: No space left on device error: unable to create file drivers/clk/qcom/mmcc-apq8084.c: No space left on device error: unable to create file drivers/clk/qcom/mmcc-msm8960.c: No space left on device error: unable to create file drivers/clk/qcom/mmcc-msm8974.c: No space left on device error: unable to create file drivers/clk/qcom/mmcc-msm8994.c: No space left on device error: unable to create file drivers/clk/qcom/mmcc-msm8996.c: No space left on device error: unable to create file drivers/clk/qcom/mmcc-msm8998.c: No space left on device error: unable to create file drivers/clk/qcom/mmcc-sdm660.c: No space left on device error: unable to create file drivers/clk/qcom/nsscc-ipq5424.c: No space left on device error: unable to create file drivers/clk/qcom/nsscc-ipq9574.c: No space left on device error: unable to create file drivers/clk/qcom/nsscc-qca8k.c: No space left on device error: unable to create file drivers/clk/qcom/q6sstop-qcs404.c: No space left on device error: unable to create file drivers/clk/qcom/reset.c: No space left on device error: unable to create file drivers/clk/qcom/reset.h: No space left on device error: unable to create file drivers/clk/qcom/tcsrcc-glymur.c: No space left on device error: unable to create file drivers/clk/qcom/tcsrcc-kaanapali.c: No space left on device error: unable to create file drivers/clk/qcom/tcsrcc-sm8550.c: No space left on device error: unable to create file drivers/clk/qcom/tcsrcc-sm8650.c: No space left on device error: unable to create file drivers/clk/qcom/tcsrcc-sm8750.c: No space left on device error: unable to create file drivers/clk/qcom/tcsrcc-x1e80100.c: No space left on device error: unable to creat
ae25e52d-30d3-4288-8edb-a0cfb27adaf8 repro KMSAN: uninit-value in xlog_sync 2026/03/06 14:52 2026/03/06 14:52 2026/03/06 15:02 31e9c887f7dc24e04b3ca70d0d54fc34141844b0
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [xfs?] KMSAN: uninit-value in xlog_sync 0 (1) 2026/01/08 02:14

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in crc32c_arch lib/crc/x86/crc32.h:90 [inline]
BUG: KMSAN: uninit-value in crc32c+0x131/0x540 lib/crc/crc32-main.c:86
 crc32c_arch lib/crc/x86/crc32.h:90 [inline]
 crc32c+0x131/0x540 lib/crc/crc32-main.c:86
 xfs_start_cksum_update fs/xfs/libxfs/xfs_cksum.h:41 [inline]
 xlog_cksum fs/xfs/xfs_log.c:1513 [inline]
 xlog_sync+0x924/0xdb0 fs/xfs/xfs_log.c:1751
 xlog_state_release_iclog+0x30b/0x6d0 fs/xfs/xfs_log.c:518
 xlog_force_iclog fs/xfs/xfs_log.c:753 [inline]
 xlog_force_and_check_iclog fs/xfs/xfs_log.c:2751 [inline]
 xlog_force_lsn+0x8eb/0xbc0 fs/xfs/xfs_log.c:2923
 xfs_log_force_seq+0x236/0x6d0 fs/xfs/xfs_log.c:2988
 xfs_fsync_flush_log fs/xfs/xfs_file.c:120 [inline]
 xfs_file_fsync+0x68e/0xe00 fs/xfs/xfs_file.c:163
 vfs_fsync_range+0x135/0x1c0 fs/sync.c:186
 generic_write_sync include/linux/fs.h:2654 [inline]
 iomap_dio_complete+0xf01/0x13a0 fs/iomap/direct-io.c:152
 iomap_dio_rw+0x13c/0x180 fs/iomap/direct-io.c:905
 xfs_file_dio_write_aligned+0x506/0x840 fs/xfs/xfs_file.c:780
 xfs_file_dio_write fs/xfs/xfs_file.c:989 [inline]
 xfs_file_write_iter+0xff0/0x1090 fs/xfs/xfs_file.c:1201
 iter_file_splice_write+0x12d8/0x20c0 fs/splice.c:736
 do_splice_from fs/splice.c:936 [inline]
 direct_splice_actor+0x31a/0x7d0 fs/splice.c:1159
 splice_direct_to_actor+0x9a3/0x1560 fs/splice.c:1103
 do_splice_direct_actor fs/splice.c:1202 [inline]
 do_splice_direct+0x1e0/0x350 fs/splice.c:1228
 do_sendfile+0x9fc/0x1130 fs/read_write.c:1372
 __do_sys_sendfile64 fs/read_write.c:1433 [inline]
 __se_sys_sendfile64+0x1ea/0x290 fs/read_write.c:1419
 __x64_sys_sendfile64+0xbd/0x120 fs/read_write.c:1419
 x64_sys_call+0x3aa4/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:41
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x15d/0x3c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 xlog_pack_data+0x257/0x450 fs/xfs/xfs_log.c:1487
 xlog_sync+0x175/0xdb0 fs/xfs/xfs_log.c:1733
 xlog_state_release_iclog+0x30b/0x6d0 fs/xfs/xfs_log.c:518
 xlog_force_iclog fs/xfs/xfs_log.c:753 [inline]
 xlog_force_and_check_iclog fs/xfs/xfs_log.c:2751 [inline]
 xlog_force_lsn+0x8eb/0xbc0 fs/xfs/xfs_log.c:2923
 xfs_log_force_seq+0x236/0x6d0 fs/xfs/xfs_log.c:2988
 xfs_fsync_flush_log fs/xfs/xfs_file.c:120 [inline]
 xfs_file_fsync+0x68e/0xe00 fs/xfs/xfs_file.c:163
 vfs_fsync_range+0x135/0x1c0 fs/sync.c:186
 generic_write_sync include/linux/fs.h:2654 [inline]
 iomap_dio_complete+0xf01/0x13a0 fs/iomap/direct-io.c:152
 iomap_dio_rw+0x13c/0x180 fs/iomap/direct-io.c:905
 xfs_file_dio_write_aligned+0x506/0x840 fs/xfs/xfs_file.c:780
 xfs_file_dio_write fs/xfs/xfs_file.c:989 [inline]
 xfs_file_write_iter+0xff0/0x1090 fs/xfs/xfs_file.c:1201
 iter_file_splice_write+0x12d8/0x20c0 fs/splice.c:736
 do_splice_from fs/splice.c:936 [inline]
 direct_splice_actor+0x31a/0x7d0 fs/splice.c:1159
 splice_direct_to_actor+0x9a3/0x1560 fs/splice.c:1103
 do_splice_direct_actor fs/splice.c:1202 [inline]
 do_splice_direct+0x1e0/0x350 fs/splice.c:1228
 do_sendfile+0x9fc/0x1130 fs/read_write.c:1372
 __do_sys_sendfile64 fs/read_write.c:1433 [inline]
 __se_sys_sendfile64+0x1ea/0x290 fs/read_write.c:1419
 __x64_sys_sendfile64+0xbd/0x120 fs/read_write.c:1419
 x64_sys_call+0x3aa4/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:41
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x15d/0x3c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was stored to memory at:
 xlog_write_iovec fs/xfs/xfs_log.c:1913 [inline]
 xlog_write_full fs/xfs/xfs_log.c:1940 [inline]
 xlog_write+0x1a75/0x20f0 fs/xfs/xfs_log.c:2180
 xlog_cil_write_chain fs/xfs/xfs_log_cil.c:1175 [inline]
 xlog_cil_push_work+0x355c/0x5080 fs/xfs/xfs_log_cil.c:1518
 process_one_work kernel/workqueue.c:3314 [inline]
 process_scheduled_works+0xb65/0x1e40 kernel/workqueue.c:3397
 worker_thread+0xee4/0x1590 kernel/workqueue.c:3478
 kthread+0x53a/0x5f0 kernel/kthread.c:436
 ret_from_fork+0x20f/0x8d0 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Uninit was stored to memory at:
 xlog_format_copy fs/xfs/xfs_log.h:78 [inline]
 xfs_inode_item_format_data_fork+0x3ba/0xc00 fs/xfs/xfs_inode_item.c:376
 xfs_inode_item_format+0x1fb4/0x2280 fs/xfs/xfs_inode_item.c:672
 xlog_cil_insert_format_items fs/xfs/xfs_log_cil.c:603 [inline]
 xlog_cil_insert_items fs/xfs/xfs_log_cil.c:654 [inline]
 xlog_cil_commit+0x18ad/0x47d0 fs/xfs/xfs_log_cil.c:1841
 __xfs_trans_commit+0x55a/0xf40 fs/xfs/xfs_trans.c:868
 xfs_trans_commit+0x227/0x270 fs/xfs/xfs_trans.c:926
 xfs_iomap_write_unwritten+0x921/0x10e0 fs/xfs/xfs_iomap.c:700
 xfs_dio_write_end_io+0x7fc/0xc40 fs/xfs/xfs_file.c:682
 iomap_dio_complete+0x183/0x13a0 fs/iomap/direct-io.c:112
 iomap_dio_rw+0x13c/0x180 fs/iomap/direct-io.c:905
 xfs_file_dio_write_aligned+0x506/0x840 fs/xfs/xfs_file.c:780
 xfs_file_dio_write fs/xfs/xfs_file.c:989 [inline]
 xfs_file_write_iter+0xff0/0x1090 fs/xfs/xfs_file.c:1201
 iter_file_splice_write+0x12d8/0x20c0 fs/splice.c:736
 do_splice_from fs/splice.c:936 [inline]
 direct_splice_actor+0x31a/0x7d0 fs/splice.c:1159
 splice_direct_to_actor+0x9a3/0x1560 fs/splice.c:1103
 do_splice_direct_actor fs/splice.c:1202 [inline]
 do_splice_direct+0x1e0/0x350 fs/splice.c:1228
 do_sendfile+0x9fc/0x1130 fs/read_write.c:1372
 __do_sys_sendfile64 fs/read_write.c:1433 [inline]
 __se_sys_sendfile64+0x1ea/0x290 fs/read_write.c:1419
 __x64_sys_sendfile64+0xbd/0x120 fs/read_write.c:1419
 x64_sys_call+0x3aa4/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:41
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x15d/0x3c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was created at:
 slab_post_alloc_hook mm/slub.c:4577 [inline]
 slab_alloc_node mm/slub.c:4899 [inline]
 __do_kmalloc_node mm/slub.c:5295 [inline]
 __kmalloc_node_track_caller_noprof+0x4f6/0x1750 mm/slub.c:5408
 __do_krealloc mm/slub.c:6711 [inline]
 krealloc_node_align_noprof+0x515/0xf20 mm/slub.c:6770
 xfs_broot_realloc+0x361/0x480 fs/xfs/libxfs/xfs_inode_fork.c:431
 xfs_bmap_broot_realloc+0x243/0x650 fs/xfs/libxfs/xfs_bmap_btree.c:-1
 xfs_bmap_extents_to_btree+0x1f8/0x1430 fs/xfs/libxfs/xfs_bmap.c:660
 xfs_bmap_add_extent_hole_real+0x2267/0x3040 fs/xfs/libxfs/xfs_bmap.c:2791
 xfs_bmapi_allocate+0x48d2/0x4f50 fs/xfs/libxfs/xfs_bmap.c:3977
 xfs_bmapi_write+0x10a9/0x26f0 fs/xfs/libxfs/xfs_bmap.c:4267
 xfs_iomap_write_direct+0x6f0/0xa50 fs/xfs/xfs_iomap.c:338
 xfs_direct_write_iomap_begin+0x1a37/0x2570 fs/xfs/xfs_iomap.c:1012
 iomap_iter+0x9a6/0x14a0 fs/iomap/iter.c:110
 __iomap_dio_rw+0x14e8/0x3990 fs/iomap/direct-io.c:806
 iomap_dio_rw+0x5d/0x180 fs/iomap/direct-io.c:901
 xfs_file_dio_write_aligned+0x506/0x840 fs/xfs/xfs_file.c:780
 xfs_file_dio_write fs/xfs/xfs_file.c:989 [inline]
 xfs_file_write_iter+0xff0/0x1090 fs/xfs/xfs_file.c:1201
 iter_file_splice_write+0x12d8/0x20c0 fs/splice.c:736
 do_splice_from fs/splice.c:936 [inline]
 direct_splice_actor+0x31a/0x7d0 fs/splice.c:1159
 splice_direct_to_actor+0x9a3/0x1560 fs/splice.c:1103
 do_splice_direct_actor fs/splice.c:1202 [inline]
 do_splice_direct+0x1e0/0x350 fs/splice.c:1228
 do_sendfile+0x9fc/0x1130 fs/read_write.c:1372
 __do_sys_sendfile64 fs/read_write.c:1433 [inline]
 __se_sys_sendfile64+0x1ea/0x290 fs/read_write.c:1419
 __x64_sys_sendfile64+0xbd/0x120 fs/read_write.c:1419
 x64_sys_call+0x3aa4/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:41
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x15d/0x3c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

CPU: 0 UID: 0 PID: 11335 Comm: syz.7.876 Tainted: G             L      syzkaller #0 PREEMPT(lazy) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
=====================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/07 20:15 upstream 979c294509f9 cc095639 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in xlog_sync
2026/03/16 04:09 upstream f338e7738378 ee8d34d6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in xlog_sync
2026/01/04 02:11 upstream aacb0a6d604a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in xlog_sync
* Struck through repros no longer work on HEAD.