syzbot


KCSAN: data-race in __dentry_kill / lookup_fast (5)

Status: auto-closed as invalid on 2021/07/05 09:49
Subsystems: fs
[Documentation on labels]
First crash: 1165d, last: 1093d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __dentry_kill / lookup_fast (8) fs 8 404d 467d 0/26 auto-obsoleted due to no activity on 2023/05/25 00:07
upstream KCSAN: data-race in __dentry_kill / lookup_fast (2) fs 5 1374d 1434d 0/26 auto-closed as invalid on 2020/09/27 09:27
upstream KCSAN: data-race in __dentry_kill / lookup_fast fs 10 1456d 1550d 0/26 closed as invalid on 2020/06/18 14:24
upstream KCSAN: data-race in __dentry_kill / lookup_fast (10) fs 3 58d 95d 0/26 auto-obsoleted due to no activity on 2024/05/05 12:07
upstream KCSAN: data-race in __dentry_kill / lookup_fast (7) fs 27 514d 775d 0/26 auto-obsoleted due to no activity on 2023/02/12 11:35
upstream KCSAN: data-race in __dentry_kill / lookup_fast (6) fs 1 920d 920d 0/26 auto-closed as invalid on 2021/12/25 02:52
upstream KCSAN: data-race in __dentry_kill / lookup_fast (4) fs 3 1213d 1238d 0/26 auto-closed as invalid on 2021/03/06 20:57
upstream KCSAN: data-race in __dentry_kill / lookup_fast (3) fs 3 1275d 1268d 0/26 auto-closed as invalid on 2021/01/03 16:37
upstream KCSAN: data-race in __dentry_kill / lookup_fast (9) fs 31 136d 171d 0/26 auto-obsoleted due to no activity on 2024/02/17 10:11

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __dentry_kill / lookup_fast

write to 0xffff888106baeb40 of 4 bytes by task 17362 on cpu 1:
 dentry_unlist fs/dcache.c:522 [inline]
 __dentry_kill+0x147/0x4e0 fs/dcache.c:578
 dentry_kill fs/dcache.c:695 [inline]
 dput+0xc6/0x360 fs/dcache.c:888
 handle_mounts fs/namei.c:1474 [inline]
 step_into+0x442/0xec0 fs/namei.c:1772
 walk_component+0x190/0x350 fs/namei.c:1948
 link_path_walk+0x4ba/0x780 fs/namei.c:2265
 path_openat+0x1a0/0x20b0 fs/namei.c:3490
 do_filp_open+0xd9/0x1f0 fs/namei.c:3521
 io_openat2+0x268/0x480 fs/io_uring.c:3838
 io_issue_sqe+0x151e/0x6750 fs/io_uring.c:6183
 io_wq_submit_work+0x113/0x270 fs/io_uring.c:6252
 io_worker_handle_work+0x8cb/0xaf0 fs/io-wq.c:496
 io_wqe_worker+0x1c5/0x550 fs/io-wq.c:545
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

read to 0xffff888106baeb40 of 4 bytes by task 17359 on cpu 0:
 d_revalidate fs/namei.c:826 [inline]
 lookup_fast+0x15f/0x350 fs/namei.c:1578
 walk_component+0x5c/0x350 fs/namei.c:1938
 link_path_walk+0x4ba/0x780 fs/namei.c:2265
 path_openat+0x1a0/0x20b0 fs/namei.c:3490
 do_filp_open+0xd9/0x1f0 fs/namei.c:3521
 io_openat2+0x268/0x480 fs/io_uring.c:3838
 io_issue_sqe+0x151e/0x6750 fs/io_uring.c:6183
 __io_queue_sqe+0xe9/0x360 fs/io_uring.c:6414
 io_queue_sqe fs/io_uring.c:6463 [inline]
 io_submit_sqe+0x1887/0x3360 fs/io_uring.c:6626
 io_submit_sqes+0x5bd/0xbd0 fs/io_uring.c:6734
 __do_sys_io_uring_enter fs/io_uring.c:9330 [inline]
 __se_sys_io_uring_enter+0x1e1/0xa80 fs/io_uring.c:9272
 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9272
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000008 -> 0x00008008

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 17359 Comm: syz-executor.3 Not tainted 5.13.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/31 09:45 upstream 8124c8a6b353 032639db .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2021/05/31 00:18 upstream 8124c8a6b353 325a8dab .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2021/05/19 17:15 upstream c3d0e3fd41b7 a343ba6b .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2021/05/10 12:53 upstream 6efb943b8616 ca873091 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2021/05/03 04:49 upstream 9ccce092fc64 77e2b668 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2021/04/25 21:27 upstream d2d09fbe33f8 2a82f1b3 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2021/04/23 00:09 upstream 90c911ad7445 590921a5 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2021/04/18 23:06 upstream bf05bf16c76b 7e2b734b .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2021/04/15 16:50 upstream 7f75285ca572 c59079a6 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2021/04/11 10:56 upstream 52e44129fba5 6a81331a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2021/03/31 20:52 upstream d19cc4bfbff1 6a81331a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
2021/03/19 22:33 upstream 8b12a62a4e3e 3d01c4de .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __dentry_kill / lookup_fast
* Struck through repros no longer work on HEAD.