1.1.1.2 Ensure freevxfs kernel module is not available

Information

The freevxfs filesystem type is a free version of the Veritas type filesystem. This is the primary filesystem type for HP-UX operating systems.

Removing support for unneeded filesystem types reduces the local attack surface of the system. If this filesystem type is not needed, disable it.

Solution

Unload and disable the freevxfs kernel module.

- Run the following commands to unload the freevxfs kernel module:

# modprobe -r freevxfs 2>/dev/null
# rmmod freevxfs 2>/dev/null <xhtml:ol start="2"> - Perform the following to disable the freevxfs kernel module:

Create a file ending inconf with install freevxfs /bin/false in the /etc/modprobe.d/ directory.

Example:

# printf '%s\n' "" "install freevxfs /bin/false" >> /etc/modprobe.d/60-freevxfs.conf

Create a file ending inconf with blacklist freevxfs in the /etc/modprobe.d/ directory.

Example:

# printf '%s\n' "" "blacklist freevxfs" >> /etc/modprobe.d/60-freevxfs.conf

See Also

https://workbench.cisecurity.org/benchmarks/23598

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 800-53|CM-7, CSCv7|9.2

Plugin: Unix

Control ID: 252de7db93201259930973706101b861f4882ab2206dcbecc48e8597518eff88