syzbot


KMSAN: uninit-value in from_kgid_munged (2)

Status: upstream: reported on 2026/04/10 23:44
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+0bd8f2ed639fbed5667a@syzkaller.appspotmail.com
First crash: 4d22h, last: 2d04h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] KMSAN: uninit-value in from_kgid_munged (2) 0 (1) 2026/04/10 23:44
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in from_kgid_munged kernel 7 1 39d 39d 0/29 closed as invalid on 2026/04/01 01:54

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+0x14e1/0x1750 net/unix/af_unix.c:2652
 unix_dgram_recvmsg+0x115/0x180 net/unix/af_unix.c:2672
 sock_recvmsg_nosec net/socket.c:1078 [inline]
 sock_recvmsg+0x27b/0x310 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/0x1750 net/unix/af_unix.c:2555
 unix_dgram_recvmsg+0x115/0x180 net/unix/af_unix.c:2672

CPU: 1 UID: 0 PID: 5132 Comm: udevd Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
=====================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/09 17:41 upstream 8b02520ec5f7 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-root KMSAN: uninit-value in from_kgid_munged
2026/04/06 23:33 upstream bfe62a454542 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in from_kgid_munged
* Struck through repros no longer work on HEAD.