Skip to content

Commit 82ca673

Browse files
bulwahnJonathan Corbet
authored andcommitted
Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomization
The config RANDOMIZE_SLAB does not exist, the authors probably intended to refer to the config RANDOMIZE_BASE, which provides kernel address-space randomization. They probably just confused SLAB with BASE (these two four-letter words coincidentally share three common letters), as they also point out the config SLAB_FREELIST_RANDOM as further randomization within the same sentence. Fix the reference of the config for kernel address-space randomization to the config that provides that. Fixes: 6e88559 ("Documentation: Add section about CPU vulnerabilities for Spectre") Signed-off-by: Lukas Bulwahn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
1 parent e765c74 commit 82ca673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/admin-guide/hw-vuln/spectre.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ Spectre variant 2
468468
before invoking any firmware code to prevent Spectre variant 2 exploits
469469
using the firmware.
470470

471-
Using kernel address space randomization (CONFIG_RANDOMIZE_SLAB=y
471+
Using kernel address space randomization (CONFIG_RANDOMIZE_BASE=y
472472
and CONFIG_SLAB_FREELIST_RANDOM=y in the kernel configuration) makes
473473
attacks on the kernel generally more difficult.
474474

0 commit comments

Comments
 (0)