syzbot


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

Status: auto-obsoleted due to no activity on 2023/12/31 11:14
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+f61c0c5e75402309e849@syzkaller.appspotmail.com
First crash: 184d, last: 184d
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 1219d 1246d 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 860d 994d 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 1438d 1438d 0/26 auto-closed as invalid on 2020/07/25 12:43
upstream KCSAN: data-race in list_lru_add / list_lru_count_node mm 1 1508d 1508d 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 1107d 1120d 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 683d 683d 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 1038d 1059d 0/26 auto-closed as invalid on 2021/09/03 02:37
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (8) mm 1 620d 620d 0/26 auto-obsoleted due to no activity on 2022/10/21 06:23
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (10) mm 2 52d 57d 0/26 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 0xffff888103f79920 of 8 bytes by task 3104 on cpu 0:
 list_lru_add+0x2a6/0x2d0 mm/list_lru.c:134
 d_lru_add+0xa5/0xe0 fs/dcache.c:431
 retain_dentry+0x157/0x190 fs/dcache.c:685
 dput+0x108/0x1f0 fs/dcache.c:908
 path_umount+0xdc/0x9a0 fs/namespace.c:1899
 ksys_umount fs/namespace.c:1919 [inline]
 __do_sys_umount fs/namespace.c:1924 [inline]
 __se_sys_umount fs/namespace.c:1922 [inline]
 __x64_sys_umount+0xb9/0xe0 fs/namespace.c:1922
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff888103f79920 of 8 bytes by task 7682 on cpu 1:
 list_lru_count_node+0x2c/0x40 mm/list_lru.c:201
 list_lru_count include/linux/list_lru.h:131 [inline]
 shrink_dcache_sb+0x1bc/0x290 fs/dcache.c:1322
 reconfigure_super+0x3ef/0x580 fs/super.c:1121
 do_remount fs/namespace.c:2884 [inline]
 path_mount+0x969/0xb30 fs/namespace.c:3656
 do_mount fs/namespace.c:3677 [inline]
 __do_sys_mount fs/namespace.c:3886 [inline]
 __se_sys_mount+0x27f/0x2d0 fs/namespace.c:3863
 __x64_sys_mount+0x67/0x80 fs/namespace.c:3863
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x0000000000000000 -> 0x0000000000000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 7682 Comm: syz-executor.5 Not tainted 6.7.0-rc2-syzkaller-00242-g090472ed9c92 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/26 11:14 upstream 090472ed9c92 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in list_lru_add / list_lru_count_node
* Struck through repros no longer work on HEAD.