syzbot


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

Status: auto-closed as invalid on 2022/04/23 01:57
Subsystems: fs
[Documentation on labels]
First crash: 851d, last: 851d
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 (11) fs 1 65d 65d 0/27 auto-obsoleted due to no activity on 2024/06/16 22:57
upstream KCSAN: data-race in aio_read_events / iocb_put (7) fs 1 396d 396d 0/27 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 812d 812d 0/27 auto-closed as invalid on 2022/06/01 10:01
upstream KCSAN: data-race in aio_read_events / iocb_put (10) fs 1 138d 138d 0/27 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 220d 219d 0/27 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 601d 601d 0/27 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 1114d 1114d 0/27 auto-closed as invalid on 2021/08/02 19:13
upstream KCSAN: data-race in aio_read_events / iocb_put (3) fs 2 1020d 1026d 0/27 auto-closed as invalid on 2021/11/04 18:41
upstream KCSAN: data-race in aio_read_events / iocb_put fs 2 1153d 1177d 0/27 auto-closed as invalid on 2021/06/24 15:51
upstream KCSAN: data-race in aio_read_events / iocb_put (8) fs 1 304d 304d 0/27 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 0xffff888118071008 of 4 bytes by task 31018 on cpu 0:
 aio_read_events_ring fs/aio.c:1268 [inline]
 aio_read_events+0x37d/0x4f0 fs/aio.c:1282
 read_events fs/aio.c:1319 [inline]
 do_io_getevents+0x116/0x390 fs/aio.c:2202
 __do_sys_io_getevents fs/aio.c:2235 [inline]
 __se_sys_io_getevents fs/aio.c:2223 [inline]
 __x64_sys_io_getevents+0xc6/0x180 fs/aio.c:2223
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888118071008 of 4 bytes by task 31019 on cpu 1:
 aio_complete fs/aio.c:1155 [inline]
 iocb_put+0x1f3/0x650 fs/aio.c:1190
 io_submit_one+0xb4d/0x1410 fs/aio.c:2027
 __do_sys_io_submit fs/aio.c:2083 [inline]
 __se_sys_io_submit+0x105/0x280 fs/aio.c:2053
 __x64_sys_io_submit+0x3f/0x50 fs/aio.c:2053
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000058 -> 0x0000005f

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 31019 Comm: syz-executor.3 Not tainted 5.17.0-rc8-syzkaller-00045-g551acdc3c3d2-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/19 01:52 upstream 551acdc3c3d2 e2d91b1d .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.