syzbot


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

Status: auto-obsoleted due to no activity on 2023/01/02 10:55
Subsystems: fs
[Documentation on labels]
First crash: 971d, last: 971d
Similar bugs (11)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in aio_read_events / iocb_put (12) fs 6 1 9d12h 9d12h 0/29 moderation: reported on 2025/07/12 20:42
upstream KCSAN: data-race in aio_read_events / iocb_put (11) fs 6 1 435d 435d 0/29 auto-obsoleted due to no activity on 2024/06/16 22:57
upstream KCSAN: data-race in aio_read_events / iocb_put (7) fs 6 1 766d 766d 0/29 auto-obsoleted due to no activity on 2023/07/22 02:26
upstream KCSAN: data-race in aio_read_events / iocb_put (5) fs 6 1 1181d 1181d 0/29 auto-closed as invalid on 2022/06/01 10:01
upstream KCSAN: data-race in aio_read_events / iocb_put (10) fs 6 1 508d 508d 0/29 auto-obsoleted due to no activity on 2024/04/05 02:13
upstream KCSAN: data-race in aio_read_events / iocb_put (9) fs 6 2 590d 589d 0/29 auto-obsoleted due to no activity on 2024/01/14 07:58
upstream KCSAN: data-race in aio_read_events / iocb_put (2) fs 6 1 1484d 1484d 0/29 auto-closed as invalid on 2021/08/02 19:13
upstream KCSAN: data-race in aio_read_events / iocb_put (3) fs 6 2 1390d 1395d 0/29 auto-closed as invalid on 2021/11/04 18:41
upstream KCSAN: data-race in aio_read_events / iocb_put (4) fs 6 1 1221d 1221d 0/29 auto-closed as invalid on 2022/04/23 01:57
upstream KCSAN: data-race in aio_read_events / iocb_put fs 6 2 1523d 1547d 0/29 auto-closed as invalid on 2021/06/24 15:51
upstream KCSAN: data-race in aio_read_events / iocb_put (8) fs 6 1 674d 674d 0/29 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 0xffff88810776300c of 4 bytes by task 13731 on cpu 0:
 aio_complete fs/aio.c:1153 [inline]
 iocb_put+0x1fc/0x620 fs/aio.c:1187
 io_submit_one+0x9bf/0x1220 fs/aio.c:2022
 __do_sys_io_submit fs/aio.c:2078 [inline]
 __se_sys_io_submit+0x105/0x280 fs/aio.c:2048
 __x64_sys_io_submit+0x3f/0x50 fs/aio.c:2048
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88810776300c of 4 bytes by task 13730 on cpu 1:
 aio_read_events_ring fs/aio.c:1216 [inline]
 aio_read_events+0xc9/0x4d0 fs/aio.c:1279
 read_events fs/aio.c:1316 [inline]
 do_io_getevents+0x12f/0x3c0 fs/aio.c:2197
 __do_sys_io_getevents fs/aio.c:2230 [inline]
 __se_sys_io_getevents fs/aio.c:2218 [inline]
 __x64_sys_io_getevents+0xc6/0x180 fs/aio.c:2218
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000009 -> 0x0000000f

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 13730 Comm: syz-executor.5 Not tainted 6.1.0-rc6-syzkaller-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/23 22:57 upstream eb7081409f94 52fdf57a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in aio_read_events / iocb_put
* Struck through repros no longer work on HEAD.