First published: Tue Apr 02 2024(Updated: )
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 ntfs_load_attr_list(). The "size" comes from le32_to_cpu(attr->res.data_size) 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 ZERO_SIZE_PTR and then the memcpy() will crash with an Oops on the next line.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
debian/linux | 5.10.223-1 5.10.226-1 6.1.123-1 6.1.119-1 6.12.11-1 6.12.12-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-52631 is rated as a high severity vulnerability affecting the Linux kernel.
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.
CVE-2023-52631 affects systems running the Linux kernel versions prior to the patched versions mentioned in the remediation.
CVE-2023-52631 is a NULL dereference vulnerability that occurs within the NTFS3 file system support in the Linux kernel.
CVE-2023-52631 cannot overflow on 64-bit systems, but it may still pose risks on 32-bit systems.