CVE-2023-52631

fs/ntfs3: Fix an NULL dereference bug

Medium · published April 2, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
12.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00225 · 12.4th percentile
Published
2024-04-02T06:22Z
EPSS history
Timeline
  • 02 APR 06:22Z
    fs/ntfs3: Fix an NULL dereference bug
    cvelistv5