This page was created to track some work in progress. See the mitigations man page for current information (although it does not currently document kernel memory permissions).

Technique

HEAD rev / patch

Prevent memory access in privileged modes

amd64 Supervisor Mode Access Prevention (SMAP)

r336876

arm64 Privileged Access Never (PAN)

r316756

Prevent execution in privileged modes

amd64 Supervisor Mode Execution Prevention (SMEP)

r242433

arm64 Privileged Execute Never (PXN)

r316761

Limit permissions on kernel memory

Direct map

r316767

Kernel stacks

r329281

Recursive page table mappings

r330511

Kernel .text, .data, .bss

r330539

UMA and malloc(9)

r335068

pipe_map and exec_map

r340205

Kernel module .text, .data, .bss

r335068

The topic was discussed at the August 2017 Cambridge Summit - notes at DevSummit/201708/Security_mitigation

SecurityMitigations (last edited 2024-06-01T15:33:00+0000 by EdMaste)