syzbot


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

Status: auto-obsoleted due to no activity on 2024/01/14 07:58
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+c0ab5ab9932ed1645ffa@syzkaller.appspotmail.com
First crash: 182d, last: 147d
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 324d 324d 0/26 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 739d 739d 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 (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 953d 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 0xffff888124a4000c of 4 bytes by task 28077 on cpu 1:
 aio_complete fs/aio.c:1153 [inline]
 iocb_put+0x15a/0x510 fs/aio.c:1186
 io_submit_one+0xb47/0x1250 fs/aio.c:2004
 __do_sys_io_submit fs/aio.c:2060 [inline]
 __se_sys_io_submit+0xf5/0x280 fs/aio.c:2030
 __x64_sys_io_submit+0x43/0x50 fs/aio.c:2030
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff888124a4000c of 4 bytes by task 28078 on cpu 0:
 aio_read_events_ring fs/aio.c:1215 [inline]
 aio_read_events+0x8d/0x3b0 fs/aio.c:1275
 read_events fs/aio.c:1312 [inline]
 do_io_getevents+0x12f/0x3c0 fs/aio.c:2179
 __do_sys_io_pgetevents fs/aio.c:2248 [inline]
 __se_sys_io_pgetevents+0x13d/0x2d0 fs/aio.c:2225
 __x64_sys_io_pgetevents+0x78/0x90 fs/aio.c:2225
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x0000001d -> 0x00000021

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 28078 Comm: syz-executor.3 Not tainted 6.7.0-rc4-syzkaller-00384-gb10a3ccaf6e3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/10 07:57 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in aio_read_events / iocb_put
2023/11/06 00:38 upstream 1c41041124bd 500bfdc4 .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.