syzbot


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

Status: auto-closed as invalid on 2022/06/01 10:01
Subsystems: fs
[Documentation on labels]
First crash: 728d, last: 728d
Similar bugs (9)
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 312d 312d 0/26 auto-obsoleted due to no activity on 2023/07/22 02:26
upstream KCSAN: data-race in aio_read_events / iocb_put (10) fs 1 54d 54d 0/26 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 136d 136d 0/26 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 518d 518d 0/26 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 1031d 1031d 0/26 auto-closed as invalid on 2021/08/02 19:13
upstream KCSAN: data-race in aio_read_events / iocb_put (3) fs 2 937d 942d 0/26 auto-closed as invalid on 2021/11/04 18:41
upstream KCSAN: data-race in aio_read_events / iocb_put (4) fs 1 767d 767d 0/26 auto-closed as invalid on 2022/04/23 01:57
upstream KCSAN: data-race in aio_read_events / iocb_put fs 2 1070d 1094d 0/26 auto-closed as invalid on 2021/06/24 15:51
upstream KCSAN: data-race in aio_read_events / iocb_put (8) fs 1 221d 221d 0/26 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 0xffff888148c4700c of 4 bytes by task 29899 on cpu 0:
 aio_complete fs/aio.c:1156 [inline]
 iocb_put+0x1fc/0x620 fs/aio.c:1190
 io_submit_one+0xb0c/0x1190 fs/aio.c:2025
 __do_sys_io_submit fs/aio.c:2081 [inline]
 __se_sys_io_submit+0x105/0x280 fs/aio.c:2051
 __x64_sys_io_submit+0x3f/0x50 fs/aio.c:2051
 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+0x44/0xae

read to 0xffff888148c4700c of 4 bytes by task 29893 on cpu 1:
 aio_read_events_ring fs/aio.c:1219 [inline]
 aio_read_events+0xc9/0x4d0 fs/aio.c:1282
 read_events fs/aio.c:1319 [inline]
 do_io_getevents+0x28d/0x3b0 fs/aio.c:2200
 __do_sys_io_getevents fs/aio.c:2233 [inline]
 __se_sys_io_getevents fs/aio.c:2221 [inline]
 __x64_sys_io_getevents+0xc6/0x180 fs/aio.c:2221
 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+0x44/0xae

value changed: 0x00000001 -> 0x00000002

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 29893 Comm: syz-executor.0 Not tainted 5.18.0-rc4-syzkaller-00036-gcf424ef014ac-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/04/27 09:53 upstream cf424ef014ac 1fa34c1b .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.