Linux · Linux Kernel · CVE-2025-21712
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
A synchronization issue in the Linux kernel's md-bitmap component can cause a general protection fault, leading to a kernel crash. The problem occurs when the `bitmap get stats()` function is called while the bitmap is being destroyed or not fully initialized, resulting in a dereference of an invalid bitmap pointer. This issue was exacerbated by a previous commit that started dereferencing `bitmap->storage`, making the problem easier to trigger.
**Recommendations**
To resolve this issue, protect the `bitmap get stats()` function with `bitmap info.mutex` to prevent concurrent access and potential crashes.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.