Skip to main content
← All vulnerabilities
CVE-2026-57843

NetBSD mm_open() PK_KMEM Flag Kernel Pointer Information Disclosure

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • The NetBSD Foundation NetBSD

    From 9.0 · fixed in 9.5; From 10.0 · through 10.1

References 2

gnats.netbsd.org

vulncheck.com