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
Run the following to unload and disable the freevxfs kernel module. This can also be done by running the script included below.
Run the following commands to unload the freevxfs kernel module:
# modprobe -r freevxfs 2>/dev/null
# rmmod freevxfs 2>/dev/null
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 '\n%s\n' "install freevxfs /bin/false" >> freevxfs.conf
Create a file ending inconf with blacklist freevxfs in the /etc/modprobe.d/ directory
Example:
# printf '\n%s\n' "blacklist freevxfs" >> freevxfs.conf