Information
AlmaLinux OS 9 must disable mounting of squashfs.
GROUP ID: V-269346
RULE ID: SV-269346r1050228
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.
Solution
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