VDB

CVE-2023-52631

CVE-2023-52631 PUBLISHED CVSS 5.5 MEDIUM

fs/ntfs3: Fix an NULL dereference bug

Reported by linux · Published April 2, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-libbpf-develAmazon Linux6.1.79-99.164.amzn2023

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinuxbe71b5cba2e6485e8959da7a9f9a44461a1bb074, be71b5cba2e6485e8959da7a9f9a44461a1bb074, be71b5cba2e6485e8959da7a9f9a44461a1bb074
LinuxLinux5.15, 0, 5.15.149
amazon:2023kernel-libbpf-devel0
linuxlinux_kernel5.15, 5.15, 5.15
amazon:2023kernel-headers0
amazon:2023bpftool0
LinuxLinux*, *, *
amazon:2023kernel0
amazon:2023kernel-livepatch-6.1.79-99.1640
amazon:2023python3-perf0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-modules-extra0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-tools0
amazon:2023kernel-libbpf0
amazon:2023kernel-tools-devel0
amazon:2023perf0

Timeline

  • Apr 2, 2024 EPSS Score (30 in total, the first dated here)
  • Apr 2, 2024 CVE Published
  • Oct 5, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Jan 25, 2026 Security Advisory (144 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (139 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-52631
vulnetix vdb fixes CVE-2023-52631

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-52631/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›