# CVE-2026-6386: Missing large page handling in pmap_pkru_update_range()

- Severity: Medium 6.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-04-22T02:33:24.846Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-269, CWE-732
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: freebsd

## 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.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 15.0-RELEASE before p6; from 14.4-RELEASE before p2; from 14.3-RELEASE before p11; from 13.5-RELEASE before p12; 13.5; 14.3; 14.4; 15.0

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-26:11.amd64.asc> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-6386](https://www.cve.org/CVERecord?id=CVE-2026-6386), CVE Terms of Use, modified 2026-04-22
- NVD: [CVE-2026-6386](https://nvd.nist.gov/vuln/detail/CVE-2026-6386), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-6386 · Whole record: https://cve.day/CVE-2026-6386.json · Rebuilt by cve.day 2026-11-25T22:59:19.224Z
