STIGUI
V-269346CAT II — Medium severitySV-269346r1050228_rule

AlmaLinux OS 9 must disable mounting of squashfs.

Rule version ALMA-09-030160 · STIG v1 · 2026-08-25

Discussion

Removing support for unneeded filesystem types reduces the local attack surface of the server.

A squashfs compressed filesystem image can be mounted without first decompressing the image.

Note that Snap packages use squashfs.

Check

Verify that AlmaLinux OS 9 disables the ability to load the squashfs kernel module with the following command:

$ grep squashfs /etc/modprobe.conf /etc/modprobe.d/* 

blacklist squashfs

If the command does not return any output, or the line is commented out, and use of squashfs is not documented with the information system security officer (ISSO) as an operational requirement, this is a finding.

Fix

To configure the system to prevent the squashfs kernel module from being loaded, create a *.conf file in /etc/modprobe.d/ with the following content:

install squashfs /bin/false blacklist squashfs

Identifiers

Group ID
V-269346
Group title
SRG-OS-000095-GPOS-00049
Rule ID
SV-269346r1050228_rule
Check ID
C-73377r1049528_chk
Fix ID
F-73278r1048415_fix