CVE-2023-52631: fs/ntfs3: Fix an NULL dereference bug

Published Apr 2, 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 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

8 affected componentsFixes available
Linux Linux kernel>=5.15<5.15.149
Linux Linux kernel>=5.16<6.1.78
Linux Linux kernel>=6.2<6.6.17
Linux Linux kernel>=6.7<6.7.5
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
Linux Linux kernel=6.8-rc3
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Apr 2, 2024
CVE Published
via MITRE·06:22 AM
Data Sourced
via MITRE·06:22 AM
Description
May 7, 2024
Data Sourced
via Launchpad·08:28 PM
Description
Apr 29, 2025
Data Sourced
via Ubuntu·05:36 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-52631?

CVE-2023-52631 is rated as a high severity vulnerability affecting the Linux kernel.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203