CVE-2023-53139Published May 2, 2025 · May 2Updated Oct 28
nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a06347c04c13e380afce0c9816df51f00b83faf1 · < ce93f1afc05941a572f5a69e2ed4012af905a693| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
In the Linux kernel’s NFC FDP driver, a failed memory allocation in fdp_nci_i2c_read_device_properties can lead to an out-of-bounds write. The input does not specify how an attacker could trigger this condition or whether access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified in the input.