CVE-2023-53139
JSON

5.5medium

nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom a06347c04c13e380afce0c9816df51f00b83faf1 before ad11b872bc9b5d27e56183c6b01f9218c85395d2, from a06347c04c13e380afce0c9816df51f00b83faf1 before 98f49e693e02c1dafd5786be3468657840dd6f06, from a06347c04c13e380afce0c9816df51f00b83faf1 before 0a3664a1058d4b2b1ea2112cc275ca47fba7fc08, from a06347c04c13e380afce0c9816df51f00b83faf1 before 80be62358fa5507cefbaa067c7e6648401f2c3da, from a06347c04c13e380afce0c9816df51f00b83faf1 before 4357bbb921fe9e81d0fd9f70d669d1f177d8380e, from a06347c04c13e380afce0c9816df51f00b83faf1 before ce93f1afc05941a572f5a69e2ed4012af905a693, from a06347c04c13e380afce0c9816df51f00b83faf1 before 27824b2f98818215adc9661e563252c48dab1a13, from a06347c04c13e380afce0c9816df51f00b83faf1 before 11f180a5d62a51b484e9648f9b310e1bd50b1a57 and 1 more
Not affected: before 4.4, from 4.14.310 up to 4.14.*, from 4.19.278 up to 4.19.*, from 5.4.237 up to 5.4.*, from 5.10.175 up to 5.10.*, from 5.15.103 up to 5.15.*
CVE List
linux linux_kernelfrom 4.4 before 4.14.310, from 4.15 before 4.19.278, from 4.20 before 5.4.237, from 5.5 before 5.10.175, from 5.11 before 5.15.103, from 5.16 before 6.1.20, from 6.2 before 6.2.7, 6.3NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfc: fdp: agregar comprobación nula de devm_kmalloc_array en fdp_nci_i2c_read_device_properties devm_kmalloc_array puede fallar, *fw_vsc_cfg puede ser nulo y provocar una escritura fuera de los límites en device_property_read_u8_array más adelante.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53139 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-53139 changed 2026-06-17Public domain