KCSAN: data-race in _copy_to_iter / ext4_multi_mount_protect

Status: moderation: reported C repro on 2026/10/08 09:27
Labels: prio:low race:benign
[Documentation on labels]
Reported-by: syzbot+6de484202011f9d77f6b@syzkaller.appspotmail.com
First crash: 8h05m, last: 8h05m
▶ ▼ ✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision
fb1bfff8 assessment-kcsan Benign: ✅ ❓ KCSAN: data-race in _copy_to_iter / ext4_multi_mount_protect 2026/10/08 09:28 2026/10/08 09:28 2026/10/08 10:20 4f6a9fcf
04cd8e7a assessment-kcsan Benign: ✅ ❓ KCSAN: data-race in _copy_to_iter / ext4_multi_mount_protect 2026/10/08 09:27 2026/10/08 09:28 2026/10/08 10:51 4f6a9fcf
194ef510 assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ KCSAN: data-race in _copy_to_iter / ext4_multi_mount_protect 2026/10/08 09:27 2026/10/08 09:28 2026/10/08 10:10 4f6a9fcf

Sample crash report:
==================================================================
BUG: KCSAN: data-race in _copy_to_iter / ext4_multi_mount_protect

write to 0xffff888105bc3004 of 4 bytes by task 3639 on cpu 0:
 ext4_multi_mount_protect+0x20d/0x600 fs/ext4/mmp.c:348
 __ext4_fill_super fs/ext4/super.c:5522 [inline]
 ext4_fill_super+0x227f/0x37b0 fs/ext4/super.c:5855
 get_tree_bdev_flags+0x291/0x300 fs/super.c:1872
 get_tree_bdev+0x1f/0x30 fs/super.c:1895
 ext4_get_tree+0x1c/0x30 fs/ext4/super.c:5887
 vfs_get_tree+0x57/0x1d0 fs/super.c:1932
 fc_mount fs/namespace.c:1198 [inline]
 do_new_mount_fc fs/namespace.c:3772 [inline]
 do_new_mount+0x288/0x8d0 fs/namespace.c:3848
 path_mount+0x4ad/0xb90 fs/namespace.c:4168
 do_mount fs/namespace.c:4181 [inline]
 __do_sys_mount fs/namespace.c:4397 [inline]
 __se_sys_mount+0x28c/0x2e0 fs/namespace.c:4374
 __x64_sys_mount+0x67/0x80 fs/namespace.c:4374
 x64_sys_call+0xc3b/0x2550 arch/x86/include/generated/asm/syscalls_64.h:166
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888105bc3000 of 512 bytes by task 3641 on cpu 1:
 instrument_copy_to_user include/linux/instrumented.h:130 [inline]
 copy_to_user_iter lib/iov_iter.c:24 [inline]
 iterate_ubuf include/linux/iov_iter.h:30 [inline]
 iterate_and_advance2 include/linux/iov_iter.h:302 [inline]
 iterate_and_advance include/linux/iov_iter.h:330 [inline]
 _copy_to_iter+0x130/0xea0 lib/iov_iter.c:197
 copy_page_to_iter+0x174/0x210 lib/iov_iter.c:374
 copy_folio_to_iter include/linux/uio.h:204 [inline]
 filemap_read+0x3fd/0xad0 mm/filemap.c:2875
 blkdev_read_iter+0x21e/0x2d0 block/fops.c:837
 new_sync_read fs/read_write.c:493 [inline]
 vfs_read+0x699/0x7c0 fs/read_write.c:574
 ksys_pread64 fs/read_write.c:764 [inline]
 __do_sys_pread64 fs/read_write.c:772 [inline]
 __se_sys_pread64 fs/read_write.c:769 [inline]
 __x64_sys_pread64+0xfd/0x150 fs/read_write.c:769
 x64_sys_call+0xd2e/0x2550 arch/x86/include/generated/asm/syscalls_64.h:18
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x112/0x360 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 3641 Comm: syz-executor146 Not tainted syzkaller #0 PREEMPT(lazy) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/08 09:27 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 7b63ef2d55f2 57bbd979 .config console log report C ci2-upstream-kcsan-gce KCSAN: data-race in _copy_to_iter / ext4_multi_mount_protect
* Struck through repros no longer work on HEAD.