Skip to content

CVE-2026-57843 NetBSD mm_open() PK_KMEM Flag Kernel Pointer Information Disclosure

MediumCVSS 6.8 EPSS 0.15%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
The NetBSD Foundation NetBSD >= 9.0, < 9.5; >= 10.0, <= 10.1 9.5 Fixed

Affected products

ProductAffected versionsFixed in
The NetBSD Foundation NetBSD >= 9.0, < 9.5 9.5
The NetBSD Foundation NetBSD >= 10.0, <= 10.1 No fix listed

References