syzbot


KCSAN: data-race in list_lru_add / list_lru_count_node (8)

Status: auto-obsoleted due to no activity on 2022/10/21 06:23
Subsystems: mm
[Documentation on labels]
First crash: 588d, last: 588d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (3) mm 3 1187d 1214d 0/26 auto-closed as invalid on 2021/02/28 22:07
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (6) mm 15 828d 962d 0/26 auto-closed as invalid on 2022/02/23 08:49
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (2) mm 1 1406d 1406d 0/26 auto-closed as invalid on 2020/07/25 12:43
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (9) mm 1 152d 136d 0/26 auto-obsoleted due to no activity on 2023/12/31 11:14
upstream KCSAN: data-race in list_lru_add / list_lru_count_node mm 1 1476d 1476d 0/26 auto-closed as invalid on 2020/06/18 13:43
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (4) mm 5 1075d 1088d 0/26 auto-closed as invalid on 2021/06/20 16:41
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (7) mm 1 652d 652d 0/26 auto-closed as invalid on 2022/08/18 15:43
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (5) mm 3 1006d 1027d 0/26 auto-closed as invalid on 2021/09/03 02:37
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (10) mm 2 20d 25d 0/26 moderation: reported on 2024/04/01 12:23

Sample crash report:
==================================================================
BUG: KCSAN: data-race in list_lru_add / list_lru_count_node

read-write to 0xffff888103a228a0 of 8 bytes by task 5745 on cpu 0:
 list_lru_add+0x2a1/0x2d0 mm/list_lru.c:134
 d_lru_add+0xa5/0xe0 fs/dcache.c:431
 retain_dentry+0x153/0x190 fs/dcache.c:685
 dput+0x10e/0x1f0 fs/dcache.c:908
 done_path_create fs/namei.c:3833 [inline]
 do_symlinkat+0xed/0x330 fs/namei.c:4410
 __do_sys_symlinkat fs/namei.c:4424 [inline]
 __se_sys_symlinkat fs/namei.c:4421 [inline]
 __x64_sys_symlinkat+0x5e/0x70 fs/namei.c:4421
 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+0x63/0xcd

read to 0xffff888103a228a0 of 8 bytes by task 5743 on cpu 1:
 list_lru_count_node+0x28/0x30 mm/list_lru.c:201
 list_lru_count include/linux/list_lru.h:131 [inline]
 shrink_dcache_sb+0x1cd/0x2b0 fs/dcache.c:1322
 reconfigure_super+0x146/0x540 fs/super.c:917
 do_remount fs/namespace.c:2702 [inline]
 path_mount+0xa11/0xbb0 fs/namespace.c:3362
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount+0x281/0x2d0 fs/namespace.c:3568
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3568
 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+0x63/0xcd

value changed: 0x0000000000000000 -> 0x0000000000000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 5743 Comm: syz-executor.5 Not tainted 6.0.0-rc5-syzkaller-00025-g3245cb65fd91-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/16 06:13 upstream 3245cb65fd91 dd9a85ff .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in list_lru_add / list_lru_count_node
* Struck through repros no longer work on HEAD.