CVE-2024-50065: ntfs3: Change to non-blocking allocation in ntfs_d_hash
In the Linux kernel, the following vulnerability has been resolved:
ntfs3: Change to non-blocking allocation in ntfsdhash
dhash is done while under "rcu-walk" and should not sleep. getname() allocates using GFPKERNEL, having the possibility to sleep when under memory pressure. Change the allocation to GFPNOWAIT.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1 - Configuration
Change the allocation in ntfs_d_hash/__get_name() from GFP_KERNEL to the non-blocking GFP_NOWAIT allocation so it does not sleep during an RCU walk.
Linux kernel ntfs3 allocation flag in ntfs_d_hash/__get_name() = GFP_NOWAIT
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50065?
CVE-2024-50065 has a high severity rating due to the potential for denial of service caused by non-blocking allocation issues in the Linux kernel.
How do I fix CVE-2024-50065?
To fix CVE-2024-50065, update your Linux kernel to a version that is not affected, such as 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.15-1.
Which Linux kernel versions are affected by CVE-2024-50065?
CVE-2024-50065 affects Linux kernel versions between 6.6.44 and 6.6.57, as well as versions 6.11.x and 6.12-rc1 and 6.12-rc2.
What is the impact of CVE-2024-50065?
The impact of CVE-2024-50065 includes the risk of memory pressure leading to unexpected system behavior or denial of service.
Is CVE-2024-50065 exploitable remotely?
CVE-2024-50065 is not known to be remotely exploitable; it primarily affects local operations on the affected systems.