CVE-2026-57843: Incorrect Permission Assignment for Critical Resource in The NetBSD Foundation NetBSD
NetBSD has an information disclosure vulnerability in the mm_open() function in sys/dev/mm.c. This flaw allows unprivileged local users to obtain real kernel virtual addresses by opening world-accessible devices like /dev/null or /dev/zero. These devices incorrectly receive the PK_KMEM process flag, enabling attackers to bypass the CANSEE_KPTR obfuscation mechanism. Exploitation can reveal sensitive kernel structures such as struct proc, kauth_cred, filedesc, and vmspace via sysctl KERN_PROC queries. The vulnerability affects NetBSD versions from 9.0 up to but not including 9.5, and versions 10.0 through 10.1 inclusive. The CVSS 4.0 base score is 6.8, indicating medium severity.
AI Analysis
Technical Summary
CVE-2026-57843 is an information disclosure vulnerability in NetBSD's mm_open() function within sys/dev/mm.c. The issue arises because world-accessible devices like /dev/null and /dev/zero are incorrectly assigned the PK_KMEM process flag. This misconfiguration allows unprivileged local users to bypass the CANSEE_KPTR kernel pointer obfuscation mechanism and read real kernel virtual addresses. Sensitive kernel structures such as struct proc, kauth_cred, filedesc, and vmspace can be accessed via sysctl KERN_PROC queries. The vulnerability affects NetBSD versions >=9.0 <9.5 and >=10.0 <=10.1. No known exploits are reported in the wild. The CVSS 4.0 score is 6.8, reflecting a medium severity local attack with low complexity and no user interaction required.
Potential Impact
Unprivileged local users can obtain real kernel virtual addresses, bypassing kernel pointer obfuscation protections. This information disclosure could aid attackers in further attacks that rely on knowledge of kernel memory layout. However, the vulnerability does not allow privilege escalation or remote exploitation directly. The impact is limited to local information disclosure of sensitive kernel structures.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Until a patch is available, restrict local access to the affected devices and consider limiting access to sysctl KERN_PROC queries to trusted users only.
CVE-2026-57843: Incorrect Permission Assignment for Critical Resource in The NetBSD Foundation NetBSD
Description
NetBSD has an information disclosure vulnerability in the mm_open() function in sys/dev/mm.c. This flaw allows unprivileged local users to obtain real kernel virtual addresses by opening world-accessible devices like /dev/null or /dev/zero. These devices incorrectly receive the PK_KMEM process flag, enabling attackers to bypass the CANSEE_KPTR obfuscation mechanism. Exploitation can reveal sensitive kernel structures such as struct proc, kauth_cred, filedesc, and vmspace via sysctl KERN_PROC queries. The vulnerability affects NetBSD versions from 9.0 up to but not including 9.5, and versions 10.0 through 10.1 inclusive. The CVSS 4.0 base score is 6.8, indicating medium severity.
CVSS v4.0
Score 6.8medium
Affected software
The NetBSD Foundation
NetBSD
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-57843 is an information disclosure vulnerability in NetBSD's mm_open() function within sys/dev/mm.c. The issue arises because world-accessible devices like /dev/null and /dev/zero are incorrectly assigned the PK_KMEM process flag. This misconfiguration allows unprivileged local users to bypass the CANSEE_KPTR kernel pointer obfuscation mechanism and read real kernel virtual addresses. Sensitive kernel structures such as struct proc, kauth_cred, filedesc, and vmspace can be accessed via sysctl KERN_PROC queries. The vulnerability affects NetBSD versions >=9.0 <9.5 and >=10.0 <=10.1. No known exploits are reported in the wild. The CVSS 4.0 score is 6.8, reflecting a medium severity local attack with low complexity and no user interaction required.
Potential Impact
Unprivileged local users can obtain real kernel virtual addresses, bypassing kernel pointer obfuscation protections. This information disclosure could aid attackers in further attacks that rely on knowledge of kernel memory layout. However, the vulnerability does not allow privilege escalation or remote exploitation directly. The impact is limited to local information disclosure of sensitive kernel structures.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Until a patch is available, restrict local access to the affected devices and consider limiting access to sysctl KERN_PROC queries to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-25T18:48:00.281Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aa409f591cc7f38483f6990
Added to database: 09/11/2026, 14:02:29 UTC
Last enriched: 09/11/2026, 14:17:58 UTC
Last updated: 09/11/2026, 16:31:39 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.