Mutex Replacement Issue in Linux Kernel Affecting System Stability
CVE-2025-38388
What is CVE-2025-38388?
A vulnerability in the Linux kernel arises from the use of a mutex for protecting notifier hashtable accesses, which can lead to kernel warnings when invoked in an atomic context. The mutex can cause unexpected sleeps, generating critical issues that affect the system's overall stability. To rectify this, the mutex should be swapped with an rwlock, facilitating non-blocking read-side operations and allowing multiple readers to access the lock simultaneously. This modification effectively mitigates the risk of contention and potential deadlocks while ensuring that write access remains exclusive, thus maintaining data integrity.
Affected Version(s)
Linux e0573444edbf4ee7e3c191d3d08a4ccbd26628be < 31405510a48dcf054abfa5b7b8d70ce1b27d1f13
Linux e0573444edbf4ee7e3c191d3d08a4ccbd26628be < 8986f8f61b482c0e6efd28f0b2423d9640c20eb1
Linux e0573444edbf4ee7e3c191d3d08a4ccbd26628be < 9ca7a421229bbdfbe2e1e628cff5cfa782720a10