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: 924d, last: 924d
Similar bugs (11)
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 1523d 1550d 0/28 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 1164d 1298d 0/28 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 1741d 1741d 0/28 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 488d 472d 0/28 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 1812d 1812d 0/28 auto-closed as invalid on 2020/06/18 13:43
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (12) mm 1 241d 241d 0/28 auto-obsoleted due to no activity on 2024/09/03 00:07
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (4) mm 5 1411d 1424d 0/28 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 987d 987d 0/28 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 1342d 1363d 0/28 auto-closed as invalid on 2021/09/03 02:37
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (11) mm 1 279d 279d 0/28 auto-obsoleted due to no activity on 2024/07/27 08:53
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (10) mm 2 356d 360d 0/28 auto-obsoleted due to no activity on 2024/05/11 04:16

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.