CVE Catalog

CVE-2026-57843

MediumCVSS 5.5
Published: Translated: NVD NIST

Summary

NetBSD contains an information disclosure vulnerability in mm_open() within sys/dev/mm.c that allows unprivileged local users to obtain real kernel virtual addresses by opening world-accessible devices such as /dev/null or /dev/zero, which incorrectly receive the PK_KMEM process flag. Attackers can exploit this misconfigured flag to bypass the CANSEE_KPTR obfuscation mechanism and read kernel virtual addresses for sensitive kernel structures.

Risk Assessment

A local attacker can obtain kernel address information, facilitating further attacks such as ASLR bypass and privilege escalation.

Recommendation

Upgrade NetBSD to a version that fixes the incorrect setting of the PK_KMEM flag for world-accessible devices.

Other vulnerabilities in NetBSD

See all
Original NVD description (English source)

NetBSD contains an information disclosure vulnerability in mm_open() within sys/dev/mm.c that allows unprivileged local users to obtain real kernel virtual addresses by opening world-accessible devices such as /dev/null or /dev/zero, which incorrectly receive the PK_KMEM process flag. Attackers can exploit this misconfigured flag to bypass the CANSEE_KPTR obfuscation mechanism and read kernel virtual addresses for sensitive kernel structures including struct proc, kauth_cred, filedesc, and vmspace via sysctl KERN_PROC queries.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS