================================================================== BUG: KCSAN: data-race in copy_page_to_iter / strncpy write to 0xffff88813a712488 of 1 bytes by task 26592 on cpu 1: strncpy+0xcf/0x150 lib/string.c:118 ext4_sample_last_mounted fs/ext4/file.c:829 [inline] ext4_file_open+0x3b0/0x4d0 fs/ext4/file.c:848 do_dentry_open+0x53e/0x830 fs/open.c:826 vfs_open+0x43/0x50 fs/open.c:940 do_open fs/namei.c:3361 [inline] path_openat+0x184e/0x20b0 fs/namei.c:3494 do_filp_open+0xd9/0x1f0 fs/namei.c:3521 do_sys_openat2+0xa3/0x250 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_creat fs/open.c:1277 [inline] __se_sys_creat fs/open.c:1271 [inline] __x64_sys_creat+0x62/0x80 fs/open.c:1271 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88813a712000 of 1377 bytes by task 26576 on cpu 0: instrument_copy_to_user include/linux/instrumented.h:119 [inline] copyout lib/iov_iter.c:189 [inline] copy_page_to_iter_iovec lib/iov_iter.c:261 [inline] copy_page_to_iter+0x320/0x860 lib/iov_iter.c:973 filemap_read+0xf06/0x1230 mm/filemap.c:2605 generic_file_read_iter+0x75/0x2c0 mm/filemap.c:2701 blkdev_read_iter+0xb9/0xf0 fs/block_dev.c:1732 call_read_iter include/linux/fs.h:2108 [inline] new_sync_read fs/read_write.c:415 [inline] vfs_read+0x565/0x5d0 fs/read_write.c:496 ksys_read+0xce/0x180 fs/read_write.c:634 __do_sys_read fs/read_write.c:644 [inline] __se_sys_read fs/read_write.c:642 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:642 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 26576 Comm: systemd-udevd Not tainted 5.13.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================