aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bfe
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-03-31 13:37:43 +0000
committerMark Johnston <markj@FreeBSD.org>2026-04-20 19:41:17 +0000
commit649db49403a727739552bf2d546ca2a08df1d944 (patch)
treee1e926ad1152490dbf9ac15f0a459a1e71cadb4c /sys/dev/bfe
parentfdee312d0c97cf6d907eec0b96efd51bfc9a7567 (diff)
pkru: Fix handling of 1GB largepage mappings
pmap_pkru_update_range() did not handle the case where a PDPE has PG_PS set. More generally, the SET_PKRU and CLEAR_PKRU sysarch implementations did not check whether the request covers a "boundary" vm map entry. Fix this, add the missing PG_PS test, and add some tests. Approved by: so Security: FreeBSD-SA-26:11.amd64 Security: CVE-2026-6386 Reported by: Nicholas Carlini <npc@anthropic.com> Reviewed by: kib, alc Differential Revision: https://reviews.freebsd.org/D56184
Diffstat (limited to 'sys/dev/bfe')
0 files changed, 0 insertions, 0 deletions