CVE-2024-46777
kernel: udf: Avoid excessive partition lengths
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 18, 2024
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel's Universal Disk Format (UDF) filesystem. A local attacker could craft a malicious UDF filesystem with excessive partition lengths. When an affected system attempts to mount this filesystem, it could lead to an overflow of the 32-bit block number or an inability to safely index bits in a block bitmap, resulting in a denial of service.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To reduce exposure, avoid mounting untrusted UDF filesystem images. If UDF support is not essential, the udf kernel module can be blacklisted to prevent its automatic loading.
To blacklist the udf module:
- Create
/etc/modprobe.d/blacklist-udf.confwith:blacklist udf install udf /bin/true - Regenerate the initramfs:
dracut -f -v $(uname -r)(for RHEL 8/9) ordracut -f -v(for RHEL 7). - A system reboot is required for the changes to take effect. This action may affect systems that legitimately utilize UDF filesystems.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')