What’s Vulnerable › Vulnerabilities
CVE-2026-6386: Missing large page handling in pmap_pkru_update_range()
- Severity: medium (CVSS 6.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-22 · updated 2026-06-17
- Weakness: CWE-269
Description
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.
Affected products
- FreeBSD: 13.5, 13.5-beta3, 13.5-p1, 13.5-p10, 13.5-p11, 13.5-p2 (+27)
References
Get alerted when CVE-2026-6386 or the next vulnerability affects your stack