{"id":"CVE-2026-57843","state":"PUBLISHED","title":"NetBSD mm_open() PK_KMEM Flag Kernel Pointer Information Disclosure","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.","publishedAt":"2026-09-11T13:50:32.448Z","updatedAt":"2026-10-01T15:20:05.278Z","severity":{"score":6.8,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["The NetBSD Foundation NetBSD"],"affected":[{"vendor":"The NetBSD Foundation","product":"NetBSD","defaultStatus":"unaffected","versions":[{"version":"9.0","status":"affected","lessThan":"9.5","versionType":"custom"},{"version":"10.0","status":"affected","lessThanOrEqual":"10.1","versionType":"custom"}]}],"references":["https://gnats.netbsd.org/60373","https://www.vulncheck.com/advisories/netbsd-mm-open-pk-kmem-flag-kernel-pointer-information-disclosure"],"weaknesses":["CWE-732"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57843.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57843","state":"PUBLISHED","datePublished":"2026-09-11T13:50:32.448Z","dateUpdated":"2026-10-01T15:20:05.278Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-25T18:48:00.281Z"},"containers":{"cna":{"title":"NetBSD mm_open() PK_KMEM Flag Kernel Pointer Information Disclosure","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"The NetBSD Foundation","product":"NetBSD","defaultStatus":"unaffected","versions":[{"version":"9.0","status":"affected","lessThan":"9.5","versionType":"custom"},{"version":"10.0","status":"affected","lessThanOrEqual":"10.1","versionType":"custom"}]}],"references":[{"url":"https://gnats.netbsd.org/60373","name":"Patch Commit","tags":["vendor-advisory","patch"]},{"url":"https://www.vulncheck.com/advisories/netbsd-mm-open-pk-kmem-flag-kernel-pointer-information-disclosure","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6.8,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","version":"3.1","baseSeverity":"MEDIUM","baseScore":5.5,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-732","lang":"en","description":"Incorrect Permission Assignment for Critical Resource","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-01T15:20:05.278Z"},"tags":["x_open-source"],"datePublic":"2026-06-26T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:netbsd:netbsd:*:*:*:*:*:*:*:*","versionStartIncluding":"9.0","versionEndExcluding":"9.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:netbsd:netbsd:*:*:*:*:*:*:*:*","versionStartIncluding":"10.0","versionEndIncluding":"10.1"}]}]}],"credits":[{"lang":"en","value":"Tristan CLERC","type":"finder"},{"lang":"en","value":"VulnCheck","type":"coordinator"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-57843","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-09-18T17:12:11.206495Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-18T17:23:07.066Z"}}]}}}