CVE-2026-57843
published medium CVSS 4.0 · 6.8NetBSD mm_open() PK_KMEM Flag Kernel Pointer Information Disclosure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| The NetBSD Foundation | — | NetBSD9.0 to < 9.5 · 10.0 through 10.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| The NetBSD Foundation | NetBSD | 9.0 to < 9.5 (affected · custom)10.0 through 10.1 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-732 Incorrect Permission Assignment for Critical Resource
References
2- Patch Commit https://gnats.netbsd.org/60373
- https://www.vulncheck.com/advisories/netbsd-mm-open-pk-kmem-flag-kernel-pointer-information-disclosure
Provider assertions
2VulnCheck · cna
NetBSD mm_open() PK_KMEM Flag Kernel Pointer Information Disclosure
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c5c2e3e41abe718d5ed2d81a548d6920176252d0d1a2b3b73468c9f63b8e7389
- Ingested
- 01 Oct 2026, 18:31:22 UTC
- Source record
- Official CVE record