FreeBSD Fixes amd64 Kernel Memory Corruption Flaw in Large Page Handling
Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen Apr 21, 2026

FreeBSD issued security advisory FreeBSD-SA-26:11.amd64 for CVE-2026-6386, a kernel flaw in the amd64 routine pmap_pkru_update_range() that mishandles 1GB large page mappings. The bug affects all supported FreeBSD versions on amd64 and arises when largepage mappings created with shm_create_largepage(3) are not handled correctly, causing a page directory page entry to be misinterpreted as a pointer to another page table page.
FreeBSD warned that an unprivileged local user could exploit the issue to make the kernel treat userspace memory as a page table page and overwrite memory the application should not be able to access, creating a serious path to memory corruption and potential privilege impact. The project said no workaround is available and advised administrators to upgrade to corrected branches released after 2026-04-21 and reboot affected systems; fixes were published for stable/15, releng/15.0, stable/14, releng/14.4, releng/14.3, stable/13, and releng/13.5.


