CVE-2023-52631

fs/ntfs3: Fix an NULL dereference bug

MEDIUM
5.5
CVSS Score
Published: April 2, 2024 at 06:22 AM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 5.15.1495.15 ≤ v < 6.1.785.15 ≤ v < 6.6.175.15 ≤ v < 6.7.55.15 ≤ v < 6.85.16 ≤ v < 6.1.786.2 ≤ v < 6.6.176.7 ≤ v < 6.7.56.8 rc16.8 rc26.8 rc3be71b5cba2e6485e8959da7a9f9a44461a1bb074
Vendor states this is fixed in 686820fe141ea0220fc6fdfc7e5694f915cf64b2 (fixed)
Vendor states this is fixed in ae4acad41b0f93f1c26cc0fc9135bb79d8282d0b (fixed)
Vendor states this is fixed in b2dd7b953c25ffd5912dda17e980e7168bebcf6c (fixed)
Vendor states this is fixed in ec1bedd797588fe38fc11cba26d77bb1d9b194c6 (fixed)
Vendor states this is fixed in fb7bcd1722bc9bc55160378f5f99c01198fd14a7 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.149 (unaffected)
Vendor states this is fixed in 6.1.78 (unaffected)
Vendor states this is fixed in 6.6.17 (unaffected)
Vendor states this is fixed in 6.7.5 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/686820fe141ea0220fc6fdfc7e5694f915cf64b2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ae4acad41b0f93f1c26cc0fc9135bb79d8282d0b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b2dd7b953c25ffd5912dda17e980e7168bebcf6c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ec1bedd797588fe38fc11cba26d77bb1d9b194c6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fb7bcd1722bc9bc55160378f5f99c01198fd14a7

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card