syzbot


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

Status: auto-obsoleted due to no activity on 2024/04/05 02:13
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+b5c57554a4fbc1aa6969@syzkaller.appspotmail.com
First crash: 144d, last: 144d
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 71d 71d 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 402d 402d 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 818d 818d 0/27 auto-closed as invalid on 2022/06/01 10:01
upstream KCSAN: data-race in aio_read_events / iocb_put (9) fs 2 226d 225d 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 607d 607d 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 1120d 1120d 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 1027d 1032d 0/27 auto-closed as invalid on 2021/11/04 18:41
upstream KCSAN: data-race in aio_read_events / iocb_put (4) fs 1 857d 857d 0/27 auto-closed as invalid on 2022/04/23 01:57
upstream KCSAN: data-race in aio_read_events / iocb_put fs 2 1160d 1183d 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 310d 310d 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 0xffff88811226d00c of 4 bytes by task 29987 on cpu 1:
 aio_complete fs/aio.c:1164 [inline]
 iocb_put+0x160/0x670 fs/aio.c:1211
 io_submit_one+0xb47/0x1250 fs/aio.c:2057
 __do_sys_io_submit fs/aio.c:2113 [inline]
 __se_sys_io_submit+0xf5/0x280 fs/aio.c:2083
 __x64_sys_io_submit+0x43/0x50 fs/aio.c:2083
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff88811226d00c of 4 bytes by task 29988 on cpu 0:
 aio_read_events_ring fs/aio.c:1240 [inline]
 aio_read_events+0x8d/0x3b0 fs/aio.c:1300
 read_events fs/aio.c:1336 [inline]
 do_io_getevents+0x129/0x3f0 fs/aio.c:2232
 __do_sys_io_getevents fs/aio.c:2265 [inline]
 __se_sys_io_getevents fs/aio.c:2253 [inline]
 __x64_sys_io_getevents+0xca/0x190 fs/aio.c:2253
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 29988 Comm: syz-executor.4 Not tainted 6.8.0-rc6-syzkaller-00037-g805d849d7c3c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/01 02:13 upstream 805d849d7c3c 352ab904 .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.