# CVE-2023-53139: nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-05-02T15:56:11.007Z
- Modified: 2026-06-17T06:44:22.153Z
- Weaknesses: CWE-476
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; 4.4 (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.*; from 6.1.20 up to 6.1.*; from 6.2.7 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: from 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.3

## References

- <https://git.kernel.org/stable/c/ad11b872bc9b5d27e56183c6b01f9218c85395d2> (patch)
- <https://git.kernel.org/stable/c/98f49e693e02c1dafd5786be3468657840dd6f06> (patch)
- <https://git.kernel.org/stable/c/0a3664a1058d4b2b1ea2112cc275ca47fba7fc08> (patch)
- <https://git.kernel.org/stable/c/80be62358fa5507cefbaa067c7e6648401f2c3da> (patch)
- <https://git.kernel.org/stable/c/4357bbb921fe9e81d0fd9f70d669d1f177d8380e> (patch)
- <https://git.kernel.org/stable/c/ce93f1afc05941a572f5a69e2ed4012af905a693> (patch)
- <https://git.kernel.org/stable/c/27824b2f98818215adc9661e563252c48dab1a13> (patch)
- <https://git.kernel.org/stable/c/11f180a5d62a51b484e9648f9b310e1bd50b1a57> (patch)

## Sources

- CVE List: [CVE-2023-53139](https://www.cve.org/CVERecord?id=CVE-2023-53139), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53139](https://nvd.nist.gov/vuln/detail/CVE-2023-53139), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53139 · Whole record: https://cve.day/CVE-2023-53139.json · Rebuilt by cve.day 2026-11-25T22:58:34.688Z
