syzbot


KCSAN: data-race in aio_read_events / iocb_put

Status: auto-closed as invalid on 2021/06/24 15:51
Subsystems: fs
[Documentation on labels]
First crash: 1806d, last: 1781d
Similar bugs (12)
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 267d 267d 0/29 auto-obsoleted due to no activity on 2025/09/06 20:42
upstream KCSAN: data-race in aio_read_events / iocb_put (11) fs 6 1 693d 693d 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 1024d 1024d 0/29 auto-obsoleted due to no activity on 2023/07/22 02:26
upstream KCSAN: data-race in aio_read_events / iocb_put (13) fs 6 2 52d 76d 0/29 moderation: reported on 2026/01/20 09:17
upstream KCSAN: data-race in aio_read_events / iocb_put (5) fs 6 1 1440d 1440d 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 766d 766d 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 848d 847d 0/29 auto-obsoleted due to no activity on 2024/01/14 07:58
upstream KCSAN: data-race in aio_read_events / iocb_put (6) fs 6 1 1229d 1229d 0/29 auto-obsoleted due to no activity on 2023/01/02 10:55
upstream KCSAN: data-race in aio_read_events / iocb_put (2) fs 6 1 1742d 1742d 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 1648d 1654d 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 1479d 1479d 0/29 auto-closed as invalid on 2022/04/23 01:57
upstream KCSAN: data-race in aio_read_events / iocb_put (8) fs 6 1 932d 932d 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 0xffff888107aac00c of 4 bytes by task 17436 on cpu 1:
 aio_complete fs/aio.c:1129 [inline]
 iocb_put+0x1e1/0x5b0 fs/aio.c:1163
 io_submit_one+0x83d/0x1350 fs/aio.c:1883
 __do_sys_io_submit fs/aio.c:1939 [inline]
 __se_sys_io_submit+0xf5/0x260 fs/aio.c:1909
 __x64_sys_io_submit+0x3f/0x50 fs/aio.c:1909
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888107aac00c of 4 bytes by task 17414 on cpu 0:
 aio_read_events_ring fs/aio.c:1192 [inline]
 aio_read_events+0xc6/0x470 fs/aio.c:1255
 read_events fs/aio.c:1292 [inline]
 do_io_getevents+0x116/0x360 fs/aio.c:2058
 __do_sys_io_getevents fs/aio.c:2091 [inline]
 __se_sys_io_getevents fs/aio.c:2079 [inline]
 __x64_sys_io_getevents+0xb7/0x170 fs/aio.c:2079
 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: 17414 Comm: syz-executor.4 Not tainted 5.13.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/20 15:42 upstream c3d0e3fd41b7 c560a65d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in aio_read_events / iocb_put
2021/04/26 09:41 upstream 9f4ad9e425a1 805b5003 .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.