CVE Database›CVE-2024-46777

CVE-2024-46777

kernel: udf: Avoid excessive partition lengths

Loading…

Severity

Moderate

Red Hat Product Security

5.5

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:

  1. Create /etc/modprobe.d/blacklist-udf.conf with:
    blacklist udf
    install udf /bin/true
    
  2. Regenerate the initramfs: dracut -f -v $(uname -r) (for RHEL 8/9) or dracut -f -v (for RHEL 7).
  3. 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.5
CVSS: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')