syzbot


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

Status: auto-obsoleted due to no activity on 2023/07/22 02:26
Subsystems: fs
[Documentation on labels]
First crash: 324d, last: 324d
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 (5) fs 1 740d 740d 0/26 auto-closed as invalid on 2022/06/01 10:01
upstream KCSAN: data-race in aio_read_events / iocb_put (10) fs 1 66d 66d 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 148d 147d 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 529d 529d 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 1042d 1042d 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 948d 954d 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 779d 779d 0/26 auto-closed as invalid on 2022/04/23 01:57
upstream KCSAN: data-race in aio_read_events / iocb_put fs 2 1081d 1105d 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 232d 232d 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 0xffff8881de6c7008 of 4 bytes by task 3045 on cpu 0:
 aio_read_events_ring fs/aio.c:1269 [inline]
 aio_read_events+0x359/0x4d0 fs/aio.c:1283
 read_events fs/aio.c:1320 [inline]
 do_io_getevents+0x12f/0x3c0 fs/aio.c:2201
 __do_sys_io_getevents fs/aio.c:2234 [inline]
 __se_sys_io_getevents fs/aio.c:2222 [inline]
 __x64_sys_io_getevents+0xca/0x190 fs/aio.c:2222
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff8881de6c7008 of 4 bytes by task 3046 on cpu 1:
 aio_complete fs/aio.c:1156 [inline]
 iocb_put+0x1e8/0x620 fs/aio.c:1191
 io_submit_one+0xbc1/0x12c0 fs/aio.c:2026
 __do_sys_io_submit fs/aio.c:2082 [inline]
 __se_sys_io_submit+0xf5/0x280 fs/aio.c:2052
 __x64_sys_io_submit+0x43/0x50 fs/aio.c:2052
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000027 -> 0x0000002d

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 3046 Comm: syz-executor.2 Not tainted 6.4.0-rc6-syzkaller-00195-g40f71e7cd3c6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/17 02:20 upstream 40f71e7cd3c6 f3921d4d .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.