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

Missing large page handling in pmap_pkru_update_range()

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

Summary

In order to apply a particular protection key to an address range, the kernel must update the corresponding page table entries. The subroutine which handled this failed to take into account the presence of 1GB largepage mappings created using the shm_create_largepage(3) interface. In particular, it would always treat a page directory page entry as pointing to another page table page. The bug can be abused by an unprivileged user to cause pmap_pkru_update_range() to treat userspace memory as a page table page, and thus overwrite memory to which the application would otherwise not have access.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • FreeBSD FreeBSD

    From 15.0-RELEASE · fixed in p6; From 14.4-RELEASE · fixed in p2; From 14.3-RELEASE · fixed in p11; From 13.5-RELEASE · fixed in p12

References 1

security.freebsd.org