CVE-2026-57843
6.8
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
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 including struct proc, kauth_cred, filedesc, and vmspace via sysctl KERN_PROC queries.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| The NetBSD Foundation | NetBSD | 9.0 < 9.5 | affected |
| The NetBSD Foundation | NetBSD | 10.0 <= 10.1 | affected |
Weaknesses
- CWE-732: Incorrect Permission Assignment for Critical Resource
References
- https://gnats.netbsd.org/60373
- https://www.vulncheck.com/advisories/netbsd-mm-open-pk-kmem-flag-kernel-pointer-information-disclosure
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.