[moderation] [ext4?] KCSAN: data-race in _copy_to_iter / kmmpd (4)

2 views
Skip to first unread message

syzbot

unread,
12:13 AM (19 hours ago) 12:13 AM
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c7e4e4d5f7dc Merge tag 'for-linus-7.1-2' of https://github..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=14fc8d06580000
kernel config: https://syzkaller.appspot.com/x/.config?x=2e40c0f41e01837e
dashboard link: https://syzkaller.appspot.com/bug?extid=7d61c0a6b5a53cb919e2
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
CC: [adilger...@dilger.ca ja...@suse.cz liba...@linux.alibaba.com linux...@vger.kernel.org linux-...@vger.kernel.org oja...@linux.ibm.com rites...@gmail.com ty...@mit.edu yi.z...@huawei.com]

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ee8ca610badc/disk-c7e4e4d5.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/eabcb6f52ac8/vmlinux-c7e4e4d5.xz
kernel image: https://storage.googleapis.com/syzbot-assets/127936c5cb9c/bzImage-c7e4e4d5.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+7d61c0...@syzkaller.appspotmail.com

==================================================================
BUG: KCSAN: data-race in _copy_to_iter / kmmpd

write to 0xffff88812683f008 of 8 bytes by task 18178 on cpu 1:
kmmpd+0xb7/0x670 fs/ext4/mmp.c:149
kthread+0x22a/0x280 kernel/kthread.c:436
ret_from_fork+0x146/0x330 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

read to 0xffff88812683f000 of 512 bytes by task 15022 on cpu 0:
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+0x178/0x210 lib/iov_iter.c:374
copy_folio_to_iter include/linux/uio.h:204 [inline]
filemap_read+0x407/0xa10 mm/filemap.c:2857
blkdev_read_iter+0x22d/0x2e0 block/fops.c:855
new_sync_read fs/read_write.c:493 [inline]
vfs_read+0x6c0/0x7f0 fs/read_write.c:574
ksys_read+0xdc/0x1a0 fs/read_write.c:717
__do_sys_read fs/read_write.c:726 [inline]
__se_sys_read fs/read_write.c:724 [inline]
__x64_sys_read+0x40/0x50 fs/read_write.c:724
x64_sys_call+0x2886/0x3020 arch/x86/include/generated/asm/syscalls_64.h:1
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x12c/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 15022 Comm: udevd Tainted: G W syzkaller #0 PREEMPT(full)
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
==================================================================


---
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
Reply all
Reply to author
Forward
0 new messages