[moderation] [mm?] KCSAN: data-race in list_lru_add / list_lru_count_node (11)

0 views
Skip to first unread message

syzbot

unread,
Jun 22, 2024, 4:53:23 AM (7 days ago) Jun 22
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 35bb670d65fc Merge tag 'scsi-fixes' of git://git.kernel.or..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=11757aea980000
kernel config: https://syzkaller.appspot.com/x/.config?x=704451bc2941bcb0
dashboard link: https://syzkaller.appspot.com/bug?extid=1f5216c46a9fa405a593
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
CC: [ak...@linux-foundation.org linux-...@vger.kernel.org linu...@kvack.org]

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/6e9f5b0b138d/disk-35bb670d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/8c5676b7d283/vmlinux-35bb670d.xz
kernel image: https://storage.googleapis.com/syzbot-assets/8930e6840cb1/bzImage-35bb670d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+1f5216...@syzkaller.appspotmail.com

==================================================================
BUG: KCSAN: data-race in list_lru_add / list_lru_count_node

read-write to 0xffff8881028568e0 of 8 bytes by task 3118 on cpu 1:
list_lru_add+0x1f4/0x230 mm/list_lru.c:101
list_lru_add_obj+0xbb/0xd0 mm/list_lru.c:116
d_lru_add+0xa8/0xe0 fs/dcache.c:430
retain_dentry fs/dcache.c:712 [inline]
fast_dput+0x26b/0x2b0 fs/dcache.c:799
dput+0x24/0xd0 fs/dcache.c:839
path_put fs/namei.c:561 [inline]
put_link fs/namei.c:1027 [inline]
open_last_lookups fs/namei.c:3596 [inline]
path_openat+0x10ec/0x1da0 fs/namei.c:3804
do_filp_open+0xf7/0x200 fs/namei.c:3834
do_sys_openat2+0xab/0x120 fs/open.c:1405
do_sys_open fs/open.c:1420 [inline]
__do_sys_openat fs/open.c:1436 [inline]
__se_sys_openat fs/open.c:1431 [inline]
__x64_sys_openat+0xf3/0x120 fs/open.c:1431
x64_sys_call+0x1057/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:258
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff8881028568e0 of 8 bytes by task 6587 on cpu 0:
list_lru_count_node+0x2c/0x40 mm/list_lru.c:188
list_lru_count include/linux/list_lru.h:165 [inline]
shrink_dcache_sb+0x1a4/0x280 fs/dcache.c:1196
reconfigure_super+0x474/0x5b0 fs/super.c:1050
do_remount fs/namespace.c:2892 [inline]
path_mount+0x967/0xb30 fs/namespace.c:3671
do_mount fs/namespace.c:3692 [inline]
__do_sys_mount fs/namespace.c:3898 [inline]
__se_sys_mount+0x27f/0x2d0 fs/namespace.c:3875
__x64_sys_mount+0x67/0x80 fs/namespace.c:3875
x64_sys_call+0x25c9/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:166
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x0000000000000000 -> 0x0000000000000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 6587 Comm: syz-executor.4 Not tainted 6.10.0-rc4-syzkaller-00217-g35bb670d65fc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
==================================================================
EXT4-fs: error -4 creating inode table initialization thread
EXT4-fs (sda1): re-mounted 5941fea2-f5fa-4b4e-b5ef-9af118b27b95 r/w. Quota mode: none.


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages