lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <695f12fe.050a0220.1c677c.0388.GAE@google.com>
Date: Wed, 07 Jan 2026 18:14:22 -0800
From: syzbot <syzbot+97f2c05378c5d68dcb8c@...kaller.appspotmail.com>
To: cem@...nel.org, linux-kernel@...r.kernel.org, linux-xfs@...r.kernel.org, 
	syzkaller-bugs@...glegroups.com
Subject: [syzbot] [xfs?] KMSAN: uninit-value in xlog_sync

Hello,

syzbot found the following issue on:

HEAD commit:    aacb0a6d604a Merge tag 'pmdomain-v6.19-rc3' of git://git.k..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1709369a580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=b3903bdf68407a14
dashboard link: https://syzkaller.appspot.com/bug?extid=97f2c05378c5d68dcb8c
compiler:       Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/24545d9fc2ef/disk-aacb0a6d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/f2a05b79c179/vmlinux-aacb0a6d.xz
kernel image: https://storage.googleapis.com/syzbot-assets/171d38d2cf56/bzImage-aacb0a6d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+97f2c05378c5d68dcb8c@...kaller.appspotmail.com

=====================================================
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:1551 [inline]
 xlog_sync+0x973/0xdf0 fs/xfs/xfs_log.c:1789
 xlog_state_release_iclog+0x310/0x690 fs/xfs/xfs_log.c:568
 xlog_force_iclog fs/xfs/xfs_log.c:803 [inline]
 xlog_force_and_check_iclog fs/xfs/xfs_log.c:2815 [inline]
 xlog_force_lsn+0x8c6/0xba0 fs/xfs/xfs_log.c:2987
 xfs_log_force_seq+0x234/0x700 fs/xfs/xfs_log.c:3052
 xfs_fsync_flush_log fs/xfs/xfs_file.c:119 [inline]
 xfs_file_fsync+0x69c/0xdf0 fs/xfs/xfs_file.c:162
 vfs_fsync_range+0x1a1/0x240 fs/sync.c:188
 generic_write_sync include/linux/fs.h:2616 [inline]
 iomap_dio_complete+0xbd1/0x1030 fs/iomap/direct-io.c:125
 iomap_dio_rw+0x13c/0x180 fs/iomap/direct-io.c:851
 xfs_file_dio_write_aligned+0x23f/0x410 fs/xfs/xfs_file.c:707
 xfs_file_dio_write fs/xfs/xfs_file.c:910 [inline]
 xfs_file_write_iter+0x1025/0x10c0 fs/xfs/xfs_file.c:1122
 iter_file_splice_write+0x12b3/0x20b0 fs/splice.c:738
 do_splice_from fs/splice.c:938 [inline]
 direct_splice_actor+0x31a/0x7d0 fs/splice.c:1161
 splice_direct_to_actor+0x9a2/0x1550 fs/splice.c:1105
 do_splice_direct_actor fs/splice.c:1204 [inline]
 do_splice_direct+0x1e0/0x350 fs/splice.c:1230
 do_sendfile+0x9eb/0x1110 fs/read_write.c:1370
 __do_sys_sendfile64 fs/read_write.c:1431 [inline]
 __se_sys_sendfile64+0x1e3/0x280 fs/read_write.c:1417
 __x64_sys_sendfile64+0xbd/0x120 fs/read_write.c:1417
 x64_sys_call+0x3a6f/0x3e70 arch/x86/include/generated/asm/syscalls_64.h:41
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd3/0xf80 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:1525
 xlog_sync+0x136/0xdf0 fs/xfs/xfs_log.c:1771
 xlog_state_release_iclog+0x310/0x690 fs/xfs/xfs_log.c:568
 xlog_force_iclog fs/xfs/xfs_log.c:803 [inline]
 xlog_force_and_check_iclog fs/xfs/xfs_log.c:2815 [inline]
 xlog_force_lsn+0x8c6/0xba0 fs/xfs/xfs_log.c:2987
 xfs_log_force_seq+0x234/0x700 fs/xfs/xfs_log.c:3052
 xfs_fsync_flush_log fs/xfs/xfs_file.c:119 [inline]
 xfs_file_fsync+0x69c/0xdf0 fs/xfs/xfs_file.c:162
 vfs_fsync_range+0x1a1/0x240 fs/sync.c:188
 generic_write_sync include/linux/fs.h:2616 [inline]
 iomap_dio_complete+0xbd1/0x1030 fs/iomap/direct-io.c:125
 iomap_dio_rw+0x13c/0x180 fs/iomap/direct-io.c:851
 xfs_file_dio_write_aligned+0x23f/0x410 fs/xfs/xfs_file.c:707
 xfs_file_dio_write fs/xfs/xfs_file.c:910 [inline]
 xfs_file_write_iter+0x1025/0x10c0 fs/xfs/xfs_file.c:1122
 iter_file_splice_write+0x12b3/0x20b0 fs/splice.c:738
 do_splice_from fs/splice.c:938 [inline]
 direct_splice_actor+0x31a/0x7d0 fs/splice.c:1161
 splice_direct_to_actor+0x9a2/0x1550 fs/splice.c:1105
 do_splice_direct_actor fs/splice.c:1204 [inline]
 do_splice_direct+0x1e0/0x350 fs/splice.c:1230
 do_sendfile+0x9eb/0x1110 fs/read_write.c:1370
 __do_sys_sendfile64 fs/read_write.c:1431 [inline]
 __se_sys_sendfile64+0x1e3/0x280 fs/read_write.c:1417
 __x64_sys_sendfile64+0xbd/0x120 fs/read_write.c:1417
 x64_sys_call+0x3a6f/0x3e70 arch/x86/include/generated/asm/syscalls_64.h:41
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd3/0xf80 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:1937 [inline]
 xlog_write_full fs/xfs/xfs_log.c:1972 [inline]
 xlog_write+0x1d5b/0x2380 fs/xfs/xfs_log.c:2241
 xlog_cil_write_chain fs/xfs/xfs_log_cil.c:1077 [inline]
 xlog_cil_push_work+0x2fc0/0x46e0 fs/xfs/xfs_log_cil.c:1429
 process_one_work kernel/workqueue.c:3257 [inline]
 process_scheduled_works+0xb91/0x1d80 kernel/workqueue.c:3340
 worker_thread+0xedf/0x1590 kernel/workqueue.c:3421
 kthread+0xd5c/0xf00 kernel/kthread.c:463
 ret_from_fork+0x208/0x710 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246

Uninit was stored to memory at:
 xlog_copy_iovec fs/xfs/xfs_log.h:123 [inline]
 xfs_inode_item_format_data_fork+0x78a/0x1240 fs/xfs/xfs_inode_item.c:377
 xfs_inode_item_format+0x2004/0x2360 fs/xfs/xfs_inode_item.c:675
 xlog_cil_insert_format_items fs/xfs/xfs_log_cil.c:505 [inline]
 xlog_cil_insert_items fs/xfs/xfs_log_cil.c:556 [inline]
 xlog_cil_commit+0x16cc/0x4750 fs/xfs/xfs_log_cil.c:1752
 __xfs_trans_commit+0x55c/0xf60 fs/xfs/xfs_trans.c:870
 xfs_trans_commit+0x227/0x270 fs/xfs/xfs_trans.c:928
 xfs_iomap_write_unwritten+0x926/0x10d0 fs/xfs/xfs_iomap.c:697
 xfs_dio_write_end_io+0x821/0xc40 fs/xfs/xfs_file.c:589
 iomap_dio_complete+0x174/0x1030 fs/iomap/direct-io.c:89
 iomap_dio_rw+0x13c/0x180 fs/iomap/direct-io.c:851
 xfs_file_dio_write_aligned+0x23f/0x410 fs/xfs/xfs_file.c:707
 xfs_file_dio_write fs/xfs/xfs_file.c:910 [inline]
 xfs_file_write_iter+0x1025/0x10c0 fs/xfs/xfs_file.c:1122
 iter_file_splice_write+0x12b3/0x20b0 fs/splice.c:738
 do_splice_from fs/splice.c:938 [inline]
 direct_splice_actor+0x31a/0x7d0 fs/splice.c:1161
 splice_direct_to_actor+0x9a2/0x1550 fs/splice.c:1105
 do_splice_direct_actor fs/splice.c:1204 [inline]
 do_splice_direct+0x1e0/0x350 fs/splice.c:1230
 do_sendfile+0x9eb/0x1110 fs/read_write.c:1370
 __do_sys_sendfile64 fs/read_write.c:1431 [inline]
 __se_sys_sendfile64+0x1e3/0x280 fs/read_write.c:1417
 __x64_sys_sendfile64+0xbd/0x120 fs/read_write.c:1417
 x64_sys_call+0x3a6f/0x3e70 arch/x86/include/generated/asm/syscalls_64.h:41
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd3/0xf80 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:4960 [inline]
 slab_alloc_node mm/slub.c:5263 [inline]
 __do_kmalloc_node mm/slub.c:5656 [inline]
 __kmalloc_node_track_caller_noprof+0xb77/0x1c90 mm/slub.c:5764
 __do_krealloc mm/slub.c:7014 [inline]
 krealloc_node_align_noprof+0x478/0xf60 mm/slub.c:7073
 xfs_broot_realloc+0x361/0x480 fs/xfs/libxfs/xfs_inode_fork.c:431
 xfs_bmap_broot_realloc+0x507/0x640 fs/xfs/libxfs/xfs_bmap_btree.c:-1
 xfs_bmap_extents_to_btree+0x1f8/0x1440 fs/xfs/libxfs/xfs_bmap.c:660
 xfs_bmap_add_extent_hole_real+0x226e/0x3050 fs/xfs/libxfs/xfs_bmap.c:2791
 xfs_bmapi_allocate+0x48d6/0x4f50 fs/xfs/libxfs/xfs_bmap.c:3977
 xfs_bmapi_write+0x10a3/0x26b0 fs/xfs/libxfs/xfs_bmap.c:4267
 xfs_iomap_write_direct+0x6f0/0xa50 fs/xfs/xfs_iomap.c:335
 xfs_direct_write_iomap_begin+0x1a37/0x2570 fs/xfs/xfs_iomap.c:1009
 iomap_iter+0x975/0x1390 fs/iomap/iter.c:110
 __iomap_dio_rw+0x15cc/0x3950 fs/iomap/direct-io.c:752
 iomap_dio_rw+0x5d/0x180 fs/iomap/direct-io.c:847
 xfs_file_dio_write_aligned+0x23f/0x410 fs/xfs/xfs_file.c:707
 xfs_file_dio_write fs/xfs/xfs_file.c:910 [inline]
 xfs_file_write_iter+0x1025/0x10c0 fs/xfs/xfs_file.c:1122
 iter_file_splice_write+0x12b3/0x20b0 fs/splice.c:738
 do_splice_from fs/splice.c:938 [inline]
 direct_splice_actor+0x31a/0x7d0 fs/splice.c:1161
 splice_direct_to_actor+0x9a2/0x1550 fs/splice.c:1105
 do_splice_direct_actor fs/splice.c:1204 [inline]
 do_splice_direct+0x1e0/0x350 fs/splice.c:1230
 do_sendfile+0x9eb/0x1110 fs/read_write.c:1370
 __do_sys_sendfile64 fs/read_write.c:1431 [inline]
 __se_sys_sendfile64+0x1e3/0x280 fs/read_write.c:1417
 __x64_sys_sendfile64+0xbd/0x120 fs/read_write.c:1417
 x64_sys_call+0x3a6f/0x3e70 arch/x86/include/generated/asm/syscalls_64.h:41
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd3/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

CPU: 0 UID: 0 PID: 10729 Comm: syz.4.1732 Not tainted syzkaller #0 PREEMPT(none) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
=====================================================


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@...glegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ