CVE-2026-6386

published 22 Apr 2026 · updated 11 Nov 2026

Missing large page handling in pmap_pkru_update_range()

6.2MediumCVSS 6.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in p12, p11, p2 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSDfreebsd=13.5, =14.3, =14.4, =15.0
FreeBSD>=13.5-RELEASE <p12, >=14.3-RELEASE <p11, >=14.4-RELEASE <p2, >=15.0-RELEASE <p6p12, p11, p2, p6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-6386 severity on Zeptric[![CVE-2026-6386](https://zeptric.io/badge/cve/CVE-2026-6386.svg)](https://zeptric.io/cve/CVE-2026-6386)