syzbot


KMSAN: uninit-value in from_kgid_munged

Status: closed as invalid on 2026/04/01 01:54
Subsystems: kernel
[Documentation on labels]
First crash: 39d, last: 39d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in from_kgid_munged (2) kernel 7 2 2d19h 1d13h 0/29 upstream: reported on 2026/04/10 23:44

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in map_id_range_up_base kernel/user_namespace.c:360 [inline]
BUG: KMSAN: uninit-value in map_id_range_up kernel/user_namespace.c:391 [inline]
BUG: KMSAN: uninit-value in map_id_up kernel/user_namespace.c:406 [inline]
BUG: KMSAN: uninit-value in from_kgid kernel/user_namespace.c:512 [inline]
BUG: KMSAN: uninit-value in from_kgid_munged+0x582/0xc40 kernel/user_namespace.c:536
 map_id_range_up_base kernel/user_namespace.c:360 [inline]
 map_id_range_up kernel/user_namespace.c:391 [inline]
 map_id_up kernel/user_namespace.c:406 [inline]
 from_kgid kernel/user_namespace.c:512 [inline]
 from_kgid_munged+0x582/0xc40 kernel/user_namespace.c:536
 __scm_recv_common+0x2a6/0x910 net/core/scm.c:514
 scm_recv_unix+0x5e/0x580 net/core/scm.c:541
 __unix_dgram_recvmsg+0x14d6/0x1730 net/unix/af_unix.c:2650
 unix_dgram_recvmsg+0x115/0x180 net/unix/af_unix.c:2670
 sock_recvmsg_nosec net/socket.c:1078 [inline]
 sock_recvmsg+0x2d9/0x380 net/socket.c:1100
 ____sys_recvmsg+0x193/0x620 net/socket.c:2812
 ___sys_recvmsg+0x20b/0x850 net/socket.c:2854
 __sys_recvmsg net/socket.c:2887 [inline]
 __do_sys_recvmsg net/socket.c:2893 [inline]
 __se_sys_recvmsg net/socket.c:2890 [inline]
 __x64_sys_recvmsg+0x20e/0x3d0 net/socket.c:2890
 x64_sys_call+0x35cc/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:48
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x134/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Local variable scm created at:
 __unix_dgram_recvmsg+0x4d/0x1730 net/unix/af_unix.c:2553
 unix_dgram_recvmsg+0x115/0x180 net/unix/af_unix.c:2670

CPU: 0 UID: 0 PID: 5130 Comm: udevd Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
=====================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/03 18:48 upstream af4e9ef3d784 4180d919 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in from_kgid_munged
* Struck through repros no longer work on HEAD.