syzbot


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

Status: auto-closed as invalid on 2022/02/23 08:49
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 514d, last: 380d
similar bugs (7):
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) 3 739d 765d 0/24 auto-closed as invalid on 2021/02/28 22:07
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (2) 1 957d 957d 0/24 auto-closed as invalid on 2020/07/25 12:43
upstream KCSAN: data-race in list_lru_add / list_lru_count_node 1 1028d 1028d 0/24 auto-closed as invalid on 2020/06/18 13:43
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (4) 5 627d 640d 0/24 auto-closed as invalid on 2021/06/20 16:41
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (7) 1 203d 203d 0/24 auto-closed as invalid on 2022/08/18 15:43
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (5) 3 558d 579d 0/24 auto-closed as invalid on 2021/09/03 02:37
upstream KCSAN: data-race in list_lru_add / list_lru_count_node (8) 1 140d 140d 0/24 auto-obsoleted due to no activity on 2022/10/21 06:23

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

write to 0xffff888102b675a8 of 8 bytes by task 1836 on cpu 0:
 list_lru_add+0x251/0x280 mm/list_lru.c:136
 d_lru_add fs/dcache.c:406 [inline]
 retain_dentry+0x226/0x260 fs/dcache.c:660
 dput+0x11e/0x430 fs/dcache.c:883
 path_umount+0xde/0xa70 fs/namespace.c:1762
 ksys_umount fs/namespace.c:1782 [inline]
 __do_sys_umount fs/namespace.c:1787 [inline]
 __se_sys_umount fs/namespace.c:1785 [inline]
 __x64_sys_umount+0xb5/0xe0 fs/namespace.c:1785
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888102b675a8 of 8 bytes by task 15707 on cpu 1:
 list_lru_count_node+0x28/0x30 mm/list_lru.c:204
 list_lru_count include/linux/list_lru.h:132 [inline]
 shrink_dcache_sb+0x1ed/0x2d0 fs/dcache.c:1297
 reconfigure_super+0x146/0x540 fs/super.c:891
 do_remount fs/namespace.c:2656 [inline]
 path_mount+0x13f9/0x1c40 fs/namespace.c:3316
 do_mount fs/namespace.c:3337 [inline]
 __do_sys_mount fs/namespace.c:3545 [inline]
 __se_sys_mount+0x24b/0x2f0 fs/namespace.c:3522
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3522
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000000000000000 -> 0x0000000000000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 15707 Comm: syz-executor.4 Not tainted 5.16.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================
EXT4-fs (sda1): re-mounted. Quota mode: writeback.

Crashes (15):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-kcsan-gce 2022/01/19 08:39 upstream 99613159ad74 0620189b .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2022/01/17 12:22 upstream 0c947b893d69 731a2d23 .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2022/01/14 05:18 upstream 455e73a07f6e b8d780ab .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2021/12/26 11:44 upstream 438645193e59 e4f103c4 .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2021/12/25 10:08 upstream b927dfc67d05 6caa12e4 .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2021/11/21 14:44 upstream 923dcc5eb0c1 4eb20a4e .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2021/11/09 20:52 upstream d2f38a3c6507 59bcaf9a .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2021/10/23 23:31 upstream 9c0c4d24ac00 282f03fb .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2021/10/16 10:22 upstream 8fe31e0995f0 0c5d9412 .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2021/10/09 09:03 upstream 741668ef7832 efe0f24d .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2021/09/29 07:58 upstream a4e6f95a891a d82cb927 .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2021/09/27 05:26 upstream 996148ee05d0 78494d16 .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2021/09/25 02:21 upstream 7d42e9818258 8cac236e .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2021/09/15 22:01 upstream 80be5998ad63 07e953c1 .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
ci2-upstream-kcsan-gce 2021/09/07 07:44 upstream 4b93c544e90e 6ca60148 .config console log report info KCSAN: data-race in list_lru_add / list_lru_count_node
* Struck through repros no longer work on HEAD.