Ensure mounting of udf filesystems is disabled - modprobe

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version


The udf filesystem type is the universal disk format used to implement ISO/IEC 13346 and ECMA-167 specifications. This is an open vendor filesystem type for data storage on a broad range of media. This filesystem type is necessary to support writing DVDs and newer optical disc formats.


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


Microsoft Azure requires the usage of udf.

udf should not be disabled on systems run on Microsoft Azure.


Edit or create a file in the /etc/modprobe.d/ directory ending in .conf with a line that reads install udf /bin/false.

# printf 'install udf /bin/false
blacklist udf
' >> /etc/modprobe.d/udf.conf

Run the following command to unload the udf module:

# modprobe -r udf

See Also