CVEvulnerability

CVE-2026-6386

6.2 MEDIUM Published 2026-04-22 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2026-04-22
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
6.2 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-269, CWE-732

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 configurations

• freebsd freebsd 13.5 • freebsd freebsd 14.3 • freebsd freebsd 14.4 • freebsd freebsd 15.0

Related

Weakness · CWE (2)

  • CWE-269 Improper Privilege Management weakness
  • CWE-732 Incorrect Permission Assignment for Critical Resource weakness

References