STIGUI
V-274184CAT II — Medium severitySV-274184r1120540_rule

Amazon Linux 2023 must implement nonexecutable data to protect its memory from unauthorized code execution.

Rule version AZLX-23-002610 · STIG v1 · 2026-08-20

Discussion

The no-execute (NX) feature uses the segmentation feature on all x86 systems to prevent execution in memory higher than a certain address. It writes an address as a limit in the code segment descriptor, to control where code can be executed, on a per-process basis. When the kernel places a process's memory regions such as the stack and heap higher than this address, the hardware prevents execution in that address range. This is enabled by default on the latest Red Hat and Fedora systems if supported by the hardware.

Check

Verify Amazon Linux 2023 NX support is enabled with the following command:

$ sudo dmesg | grep '[NX|DX]*protection' [ 0.000000] NX (Execute Disable) protection: active

If "dmesg" does not show "NX (Execute Disable) protection" active, this is a finding.

Fix

Configure Amazon Linux 2023 NX support to be enabled by opening a support case via the AWS Console to investigate why NX support is not detected.

Identifiers

Group ID
V-274184
Group title
SRG-OS-000433-GPOS-00192
Rule ID
SV-274184r1120540_rule
Check ID
C-78275r1120538_chk
Fix ID
F-78180r1120539_fix