Vulnerability · Published Apr 22, 2026 · Assigned by freebsd

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

Medium 6.2

In plain English

A medium-severity privilege mismanagement in FreeBSD from FreeBSD. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities).

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.2%top 89.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 (as reported)

VendorProductVersions
FreeBSD FreeBSD 15.0-RELEASE – before p614.4-RELEASE – before p214.3-RELEASE – before p1113.5-RELEASE – before p12

Weakness: CWE-269, CWE-732 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References