CVE-2025-40243
Description
A flaw was found in the Linux kernel's Hierarchical File System (HFS) driver. A local user could exploit this flaw to cause a Denial of Service (DoS) or filesystem corruption by interacting with an HFS filesystem. This issue occurs because memory allocated for the filesystem block bitmap is not cleared upon creation, causing subsequent operations to handle uninitialized data.
Statement
This vulnerability presents a local denial of service and memory corruption risk through uninitialized buffer handling during filesystem bitmap operations. However, Red Hat Enterprise Linux is not affected by this flaw because support for the legacy Macintosh Hierarchical File System (HFS) is not enabled in Red Hat kernels. Consequently, systems running supported Red Hat enterprise products are not exposed to this issue under default configurations.
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Memory; Read Application Data
When reusing a resource such as memory or a program variable, the original contents may not have been cleared before it is sent to an untrusted party.
Availability
Technical Impact: DoS: Crash, Exit, or Restart; DoS: Instability
The uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend, possibly leading to a crash.
Other
Technical Impact: Unexpected State; Varies by Context
The consequences vary depending on the type of resource and how it is used within the product.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.