CVE-2023-53139 nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties
A missing null check in the Linux kernel NFC driver can lead to a null pointer dereference and potential denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-53139?
CVE-2023-53139 is a medium-severity vulnerability in Linux kernel, published on 2 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2023-53139?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-53139?
Apply the vendor's patch.
Is CVE-2023-53139 being exploited?
There is no known exploitation of CVE-2023-53139 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-53139, DEBIAN-CVE-2023-53139, GHSA-8xh6-jjv8-fgw6, UBUNTU-CVE-2023-53139.