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

Published Apr 22, 2026
·
Updated

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 shmcreatelargepage(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 pmappkruupdaterange() to treat userspace memory as a page table page, and thus overwrite memory to which the application would otherwise not have access.

Affected Software

34 affected components
FreeBSD FreeBSD Kernel
FreeBSD FreeBSD=13.5
FreeBSD FreeBSD=13.5-beta3
FreeBSD FreeBSD=13.5-p1
FreeBSD FreeBSD=13.5-p10
FreeBSD FreeBSD=13.5-p11
FreeBSD FreeBSD=13.5-p2
FreeBSD FreeBSD=13.5-p3
FreeBSD FreeBSD=13.5-p4
FreeBSD FreeBSD=13.5-p5
FreeBSD FreeBSD=13.5-p6
FreeBSD FreeBSD=13.5-p7
FreeBSD FreeBSD=13.5-p8
FreeBSD FreeBSD=13.5-p9
FreeBSD FreeBSD=14.3
FreeBSD FreeBSD=14.3-p1
FreeBSD FreeBSD=14.3-p10
FreeBSD FreeBSD=14.3-p2
FreeBSD FreeBSD=14.3-p3
FreeBSD FreeBSD=14.3-p4
FreeBSD FreeBSD=14.3-p5
FreeBSD FreeBSD=14.3-p6
FreeBSD FreeBSD=14.3-p7
FreeBSD FreeBSD=14.3-p8
FreeBSD FreeBSD=14.3-p9
FreeBSD FreeBSD=14.4
FreeBSD FreeBSD=14.4-p1
FreeBSD FreeBSD=14.4-rc1
FreeBSD FreeBSD=15.0
FreeBSD FreeBSD=15.0-p1
FreeBSD FreeBSD=15.0-p2
FreeBSD FreeBSD=15.0-p3
FreeBSD FreeBSD=15.0-p4
FreeBSD FreeBSD=15.0-p5

Event History

Apr 22, 2026
CVE Published
via MITRE·02:33 AM
Data Sourced
via MITRE·02:33 AM
DescriptionWeakness
Data Sourced
via NVD·03:16 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6386?

CVE-2026-6386 is considered a medium-severity vulnerability.

2

How do I fix CVE-2026-6386?

To fix CVE-2026-6386, update to the patched version of the FreeBSD kernel that addresses this issue.

3

What is the impact of CVE-2026-6386 on FreeBSD systems?

CVE-2026-6386 could potentially allow unauthorized access to protected memory areas due to improper large page handling.

4

Which versions of FreeBSD are affected by CVE-2026-6386?

CVE-2026-6386 affects specific versions of the FreeBSD kernel but should be checked against the provided security advisories for exact details.

5

Is there a workaround for CVE-2026-6386 until I can apply the fix?

There are no known workarounds for CVE-2026-6386; applying the security updates is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203