SV-257568r961665_rule
V-257568
SRG-APP-000450-CTR-001105
CNTR-OS-000860
CAT II
10
The NX bit execute protection must be enabled in the system BIOS. The nodes must be reinstalled. Follow the steps found here for more information:
https://access.redhat.com/solutions/2936741
Verify the NX (no-execution) bit flag is set on the system by executing the following:
for node in $(oc get node -oname); do oc debug $node -- chroot /host /bin/bash -c 'echo -n "$HOSTNAME "; dmesg | grep Execute ' 2>/dev/null; done
Example Output:([ 0.000000] NX (Execute Disable) protection: active)
If "dmesg" does not show "NX (Execute Disable) protection active", check the cpuinfo settings by executing the following command:
for node in $(oc get node -oname); do oc debug $node -- chroot /host /bin/bash -c 'echo -n "$HOSTNAME "; less /proc/cpuinfo | grep 'nx' /proc/cpuinfo | uniq' 2>/dev/null; done
(Example Output: flags : fpu vme de pse tsc ms nx rdtscp lm constant_tsc...)
If "flags" does not contain the "nx" flag, this is a finding.
V-257568
False
CNTR-OS-000860
Verify the NX (no-execution) bit flag is set on the system by executing the following:
for node in $(oc get node -oname); do oc debug $node -- chroot /host /bin/bash -c 'echo -n "$HOSTNAME "; dmesg | grep Execute ' 2>/dev/null; done
Example Output:([ 0.000000] NX (Execute Disable) protection: active)
If "dmesg" does not show "NX (Execute Disable) protection active", check the cpuinfo settings by executing the following command:
for node in $(oc get node -oname); do oc debug $node -- chroot /host /bin/bash -c 'echo -n "$HOSTNAME "; less /proc/cpuinfo | grep 'nx' /proc/cpuinfo | uniq' 2>/dev/null; done
(Example Output: flags : fpu vme de pse tsc ms nx rdtscp lm constant_tsc...)
If "flags" does not contain the "nx" flag, this is a finding.
M
5547