syzbot


KMSAN: uninit-value in shmem_symlink

Status: auto-closed as invalid on 2022/03/17 05:52
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 354d, last: 354d

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in strlen+0x69/0x90 lib/string.c:495
 strlen+0x69/0x90 lib/string.c:495
 shmem_symlink+0xb3/0xe40 mm/shmem.c:3034
 vfs_symlink+0x7a1/0xa40 fs/namei.c:4248
 do_symlinkat+0x370/0xad0 fs/namei.c:4277
 __do_sys_symlink fs/namei.c:4299 [inline]
 __se_sys_symlink fs/namei.c:4297 [inline]
 __x64_sys_symlink+0x12b/0x170 fs/namei.c:4297
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Uninit was created at:
 slab_post_alloc_hook mm/slab.h:524 [inline]
 slab_alloc_node mm/slub.c:3251 [inline]
 slab_alloc mm/slub.c:3259 [inline]
 kmem_cache_alloc+0x902/0x11c0 mm/slub.c:3264
 getname_flags+0x14e/0xa90 fs/namei.c:138
 getname fs/namei.c:217 [inline]
 __do_sys_symlink fs/namei.c:4299 [inline]
 __se_sys_symlink fs/namei.c:4297 [inline]
 __x64_sys_symlink+0xa5/0x170 fs/namei.c:4297
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x44/0xae

CPU: 1 PID: 3614 Comm: udevd Not tainted 5.16.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
=====================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2021/12/17 05:45 https://github.com/google/kmsan.git master b0a8b5053e8b 44068e19 .config log report info KMSAN: uninit-value in shmem_symlink
* Struck through repros no longer work on HEAD.