syzbot


KCSAN: data-race in _copy_to_iter / strncpy (2)

Status: auto-obsoleted due to no activity on 2023/03/20 15:50
Subsystems: kernel
[Documentation on labels]
First crash: 453d, last: 453d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in _copy_to_iter / strncpy (6) ext4 1 72d 72d 0/26 auto-obsoleted due to no activity on 2024/03/28 16:29
upstream KCSAN: data-race in _copy_to_iter / strncpy (3) ext4 1 391d 391d 0/26 auto-obsoleted due to no activity on 2023/05/14 07:57
upstream KCSAN: data-race in _copy_to_iter / strncpy (4) ext4 2 320d 341d 0/26 auto-obsoleted due to no activity on 2023/07/24 06:44
upstream KCSAN: data-race in _copy_to_iter / strncpy (5) ext4 3 220d 272d 0/26 auto-obsoleted due to no activity on 2023/11/01 08:28
upstream KCSAN: data-race in _copy_to_iter / strncpy ext4 1 541d 541d 0/26 auto-obsoleted due to no activity on 2022/12/15 15:24

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

write to 0xffff88811aab4488 of 1 bytes by task 21512 on cpu 1:
 strncpy+0x9b/0x150
 ext4_file_open+0x361/0x3f0
 do_dentry_open+0x5b3/0x930
 vfs_open+0x47/0x50
 path_openat+0x16b5/0x1b70
 do_filp_open+0xf6/0x200
 do_sys_openat2+0xb5/0x2a0
 __x64_sys_openat+0xf3/0x120
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88811aab4400 of 1024 bytes by task 21501 on cpu 0:
 _copy_to_iter+0x136/0x8f0
 copy_page_to_iter+0x1ba/0x3c0
 filemap_read+0x1234/0x1530
 blkdev_read_iter+0x2ca/0x370
 vfs_read+0x39a/0x560
 ksys_read+0xeb/0x1a0
 __x64_sys_read+0x42/0x50
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 21501 Comm: udevd Not tainted 6.2.0-rc7-syzkaller-00002-gd2d11f342b17-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/06 15:45 upstream d2d11f342b17 0a9c11b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in _copy_to_iter / strncpy
* Struck through repros no longer work on HEAD.