CVE-2023-53139

nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties

MEDIUM
5.5
CVSS Score
Published: May 2, 2025 at 03:56 PM UTC
Updated: June 17, 2026 at 06:44 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%

Description

In the Linux kernel, the following vulnerability has been resolved: nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties devm_kmalloc_array may fails, *fw_vsc_cfg might be null and cause out-of-bounds write in device_property_read_u8_array later.

Affected

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

4.15 ≤ v < 4.19.2784.20 ≤ v < 5.4.2374.4 ≤ v < 4.14.3104.4 ≤ v < 4.19.2784.4 ≤ v < 5.10.1754.4 ≤ v < 5.15.1034.4 ≤ v < 5.4.2374.4 ≤ v < 6.1.204.4 ≤ v < 6.2.74.4 ≤ v < 6.35.11 ≤ v < 5.15.1035.16 ≤ v < 6.1.205.5 ≤ v < 5.10.1756.2 ≤ v < 6.2.74.46.3 rc1a06347c04c13e380afce0c9816df51f00b83faf1
Vendor states this is fixed in 0a3664a1058d4b2b1ea2112cc275ca47fba7fc08 (fixed)
Vendor states this is fixed in 11f180a5d62a51b484e9648f9b310e1bd50b1a57 (fixed)
Vendor states this is fixed in 27824b2f98818215adc9661e563252c48dab1a13 (fixed)
Vendor states this is fixed in 4357bbb921fe9e81d0fd9f70d669d1f177d8380e (fixed)
Vendor states this is fixed in 80be62358fa5507cefbaa067c7e6648401f2c3da (fixed)
Vendor states this is fixed in 98f49e693e02c1dafd5786be3468657840dd6f06 (fixed)
Vendor states this is fixed in ad11b872bc9b5d27e56183c6b01f9218c85395d2 (fixed)
Vendor states this is fixed in ce93f1afc05941a572f5a69e2ed4012af905a693 (fixed)
Vendor states this is fixed in 4.14.310 (unaffected)
Vendor states this is fixed in 4.19.278 (unaffected)
Vendor states this is fixed in 4.4 (unaffected)
Vendor states this is fixed in 5.10.175 (unaffected)
Vendor states this is fixed in 5.15.103 (unaffected)
Vendor states this is fixed in 5.4.237 (unaffected)
Vendor states this is fixed in 6.1.20 (unaffected)
Vendor states this is fixed in 6.2.7 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0a3664a1058d4b2b1ea2112cc275ca47fba7fc08
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/11f180a5d62a51b484e9648f9b310e1bd50b1a57
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/27824b2f98818215adc9661e563252c48dab1a13
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4357bbb921fe9e81d0fd9f70d669d1f177d8380e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/80be62358fa5507cefbaa067c7e6648401f2c3da
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/98f49e693e02c1dafd5786be3468657840dd6f06
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad11b872bc9b5d27e56183c6b01f9218c85395d2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ce93f1afc05941a572f5a69e2ed4012af905a693

CVSS

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