Hello,
syzbot found the following issue on:
HEAD commit: cd89d487374c Merge tag '6.17-rc6-smb3-client-fixes' of git..
git tree: upstream
console output:
https://syzkaller.appspot.com/x/log.txt?x=12f07e42580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=6e0c213d0735f5dd
dashboard link:
https://syzkaller.appspot.com/bug?extid=ae2cac47a9c553713274
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
CC: [
ak...@linux-foundation.org axelra...@google.com da...@redhat.com han...@cmpxchg.org linux-...@vger.kernel.org linu...@kvack.org lorenzo...@oracle.com mho...@kernel.org shakee...@linux.dev wei...@google.com yua...@google.com zhengq...@bytedance.com]
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/fc2828b7b602/disk-cd89d487.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/f8144cce2d27/vmlinux-cd89d487.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/2dfeac647538/bzImage-cd89d487.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+ae2cac...@syzkaller.appspotmail.com
EXT4-fs (loop6): encrypted files will use data=ordered instead of data journaling mode
EXT4-fs (loop6): 1 truncate cleaned up
EXT4-fs (loop6): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none.
==================================================================
BUG: KCSAN: data-race in invalidate_inode_pages2_range / xas_store
write to 0xffff8881098f76b0 of 8 bytes by task 8457 on cpu 1:
xas_delete_node lib/xarray.c:506 [inline]
update_node lib/xarray.c:767 [inline]
xas_store+0xc77/0xce0 lib/xarray.c:852
page_cache_delete mm/filemap.c:141 [inline]
__filemap_remove_folio+0x195/0x2a0 mm/filemap.c:224
__remove_mapping+0x338/0x460 mm/vmscan.c:813
remove_mapping+0x22/0x90 mm/vmscan.c:846
mapping_evict_folio mm/truncate.c:314 [inline]
mapping_try_invalidate+0x26a/0x3f0 mm/truncate.c:535
invalidate_mapping_pages+0x27/0x40 mm/truncate.c:577
ext4_dio_write_iter fs/ext4/file.c:629 [inline]
ext4_file_write_iter+0xe70/0xf00 fs/ext4/file.c:721
iter_file_splice_write+0x666/0xa60 fs/splice.c:738
do_splice_from fs/splice.c:938 [inline]
direct_splice_actor+0x156/0x2a0 fs/splice.c:1161
splice_direct_to_actor+0x312/0x680 fs/splice.c:1105
do_splice_direct_actor fs/splice.c:1204 [inline]
do_splice_direct+0xda/0x150 fs/splice.c:1230
do_sendfile+0x380/0x650 fs/read_write.c:1370
__do_sys_sendfile64 fs/read_write.c:1431 [inline]
__se_sys_sendfile64 fs/read_write.c:1417 [inline]
__x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1417
x64_sys_call+0x2bb0/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:41
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
read to 0xffff8881098f76b0 of 8 bytes by task 8449 on cpu 0:
xa_empty include/linux/xarray.h:411 [inline]
mapping_empty include/linux/pagemap.h:145 [inline]
invalidate_inode_pages2_range+0x43/0x3d0 mm/truncate.c:658
filemap_invalidate_pages+0x16d/0x1a0 mm/filemap.c:2827
kiocb_invalidate_pages+0x6e/0x80 mm/filemap.c:2835
__iomap_dio_rw+0x5d4/0x1250 fs/iomap/direct-io.c:698
iomap_dio_rw+0x40/0x90 fs/iomap/direct-io.c:818
ext4_dio_write_iter fs/ext4/file.c:580 [inline]
ext4_file_write_iter+0xad9/0xf00 fs/ext4/file.c:721
iter_file_splice_write+0x666/0xa60 fs/splice.c:738
do_splice_from fs/splice.c:938 [inline]
direct_splice_actor+0x156/0x2a0 fs/splice.c:1161
splice_direct_to_actor+0x312/0x680 fs/splice.c:1105
do_splice_direct_actor fs/splice.c:1204 [inline]
do_splice_direct+0xda/0x150 fs/splice.c:1230
do_sendfile+0x380/0x650 fs/read_write.c:1370
__do_sys_sendfile64 fs/read_write.c:1431 [inline]
__se_sys_sendfile64 fs/read_write.c:1417 [inline]
__x64_sys_sendfile64+0x105/0x150 fs/read_write.c:1417
x64_sys_call+0x2bb0/0x2ff0 arch/x86/include/generated/asm/syscalls_64.h:41
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
value changed: 0xffff88810049e492 -> 0xffff8881099f5daa
Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 8449 Comm: syz.6.1556 Tainted: G W syzkaller #0 PREEMPT(voluntary)
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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
syzk...@googlegroups.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