Amazon Linux 2023 must mount /dev/shm with the nodev option.
The "nodev" mount option causes the system to not interpret character or block special devices. Executing character or block special devices from untrusted file systems increases the opportunity for nonprivileged users to attain unauthorized administrative access.
How this relates to the STIG checklist: STIG vs SCAP benchmark.