CVE-2023-52631: fs/ntfs3: Fix an NULL dereference bug
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: Fix an NULL dereference bug
The issue here is when this is called from ntfsloadattrlist(). The "size" comes from le32tocpu(attr->res.datasize) so it can't overflow on a 64bit systems but on 32bit systems the "+ 1023" can overflow and the result is zero. This means that the kmalloc will succeed by returning the ZEROSIZEPTR and then the memcpy() will crash with an Oops on the next line.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2023-52631?
CVE-2023-52631 is rated as a high severity vulnerability affecting the Linux kernel.
How do I fix CVE-2023-52631?
To fix CVE-2023-52631, update the Linux package to a version that includes the patch, such as 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, 6.12.11-1, or 6.12.12-1.
What systems are affected by CVE-2023-52631?
CVE-2023-52631 affects systems running the Linux kernel versions prior to the patched versions mentioned in the remediation.
What type of vulnerability is CVE-2023-52631?
CVE-2023-52631 is a NULL dereference vulnerability that occurs within the NTFS3 file system support in the Linux kernel.
Is CVE-2023-52631 exploitable in 64-bit systems?
CVE-2023-52631 cannot overflow on 64-bit systems, but it may still pose risks on 32-bit systems.