NetBSD mm_open() PK_KMEM Flag Kernel Pointer Information Disclosure
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| The NetBSD Foundation | NetBSD | 9.0 to before 9.5; 10.0 – 10.1 | 9.5 | Patch available | CNA |
- NetBSD VendorThe NetBSD Foundation Affected 9.0 to before 9.5; 10.0 – 10.1 Fixed in 9.5 Patch available CNA
Remediation
- Fix · CNA NetBSD (The NetBSD Foundation) Fixed in 9.5
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
The NetBSD Foundation NetBSD — Patch Commit
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-41653 NetBSD COMPAT_NETBSD32 Double Free / Use-After-Free via recvmsg() msg_iovlenPriority LOW 33
Timeline
- 2026-10-02 Threatist record created from CVE-2026-57843
- 2026-10-03 Alias added: GHSA-p59p-jjhh-5885
References
Patch 1
More The NetBSD Foundation vulnerabilities
- TI-2026-41653 NetBSD COMPAT_NETBSD32 Double Free / Use-After-Free via recvmsg() msg_iovlen CVSS 4.0HIGH 7.3
- TI-2026-38948 NetBSD hdaudio(4) Driver Privilege Bypass Use-After-Free via HDAUDIO_FGRP_SETCONFIG ioctl CVSS 4.0HIGH 7.3
Sources
- CVE-2026-57843 · CVE Program
- CVE-2026-57843 · NVD
- FIRST EPSS
- GHSA-p59p-jjhh-5885 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences