CVE-2026-6386

MEDIUM

Missing large page handling in pmap_pkru_update_range()

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 6.2
EPSS 0.0016
EPSS Percentile 5.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-269 CWE-732
Status published
Products (8)
freebsd/freebsd 13.5 (13 CPE variants)
freebsd/freebsd 14.3 (11 CPE variants)
freebsd/freebsd 14.4 (3 CPE variants)
freebsd/freebsd 15.0 (6 CPE variants)
FreeBSD/FreeBSD 13.5-RELEASE - p12
FreeBSD/FreeBSD 14.3-RELEASE - p11
FreeBSD/FreeBSD 14.4-RELEASE - p2
FreeBSD/FreeBSD 15.0-RELEASE - p6
Published Apr 22, 2026
Tracked Since Apr 22, 2026