syzbot


KCSAN: data-race in aio_read_events / iocb_put (11)

Status: auto-obsoleted due to no activity on 2024/06/16 22:57
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+1c73a736a6465310b5cb@syzkaller.appspotmail.com
First crash: 202d, last: 202d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in aio_read_events / iocb_put (7) fs 1 533d 533d 0/28 auto-obsoleted due to no activity on 2023/07/22 02:26
upstream KCSAN: data-race in aio_read_events / iocb_put (5) fs 1 949d 949d 0/28 auto-closed as invalid on 2022/06/01 10:01
upstream KCSAN: data-race in aio_read_events / iocb_put (10) fs 1 275d 275d 0/28 auto-obsoleted due to no activity on 2024/04/05 02:13
upstream KCSAN: data-race in aio_read_events / iocb_put (9) fs 2 357d 356d 0/28 auto-obsoleted due to no activity on 2024/01/14 07:58
upstream KCSAN: data-race in aio_read_events / iocb_put (6) fs 1 738d 738d 0/28 auto-obsoleted due to no activity on 2023/01/02 10:55
upstream KCSAN: data-race in aio_read_events / iocb_put (2) fs 1 1251d 1251d 0/28 auto-closed as invalid on 2021/08/02 19:13
upstream KCSAN: data-race in aio_read_events / iocb_put (3) fs 2 1157d 1163d 0/28 auto-closed as invalid on 2021/11/04 18:41
upstream KCSAN: data-race in aio_read_events / iocb_put (4) fs 1 988d 988d 0/28 auto-closed as invalid on 2022/04/23 01:57
upstream KCSAN: data-race in aio_read_events / iocb_put fs 2 1291d 1314d 0/28 auto-closed as invalid on 2021/06/24 15:51
upstream KCSAN: data-race in aio_read_events / iocb_put (8) fs 1 441d 441d 0/28 auto-obsoleted due to no activity on 2023/10/21 20:27

Sample crash report:
==================================================================
BUG: KCSAN: data-race in aio_read_events / iocb_put

write to 0xffff88810fc6900c of 4 bytes by task 26582 on cpu 1:
 aio_complete fs/aio.c:1168 [inline]
 iocb_put+0x160/0x680 fs/aio.c:1215
 io_submit_one+0xb26/0x1240 fs/aio.c:2061
 __do_sys_io_submit fs/aio.c:2117 [inline]
 __se_sys_io_submit+0xf5/0x280 fs/aio.c:2087
 __x64_sys_io_submit+0x43/0x50 fs/aio.c:2087
 x64_sys_call+0x2a7d/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:210
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88810fc6900c of 4 bytes by task 26580 on cpu 0:
 aio_read_events_ring fs/aio.c:1244 [inline]
 aio_read_events+0x8d/0x3c0 fs/aio.c:1304
 read_events fs/aio.c:1340 [inline]
 do_io_getevents+0x129/0x400 fs/aio.c:2236
 __do_sys_io_getevents fs/aio.c:2269 [inline]
 __se_sys_io_getevents fs/aio.c:2257 [inline]
 __x64_sys_io_getevents+0xca/0x190 fs/aio.c:2257
 x64_sys_call+0x1e8c/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:209
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x0000001e -> 0x00000029

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 26580 Comm: syz-executor.3 Tainted: G        W          6.9.0-rc7-syzkaller-00188-gba16c1cf11c9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/12 22:56 upstream ba16c1cf11c9 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in aio_read_events / iocb_put
* Struck through repros no longer work on HEAD.