What’s Vulnerable › Vulnerabilities
CVE-2022-49923: nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-01 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: nfc: nxp-nci: Fix potential memory leak in nxp_nci_send() nxp_nci_send() will call nxp_nci_i2c_write(), and only free skb when nxp_nci_i2c_write() failed. However, even if the nxp_nci_i2c_write() run succeeds, the skb will not be freed in nxp_nci_i2c_write(). As the result, the skb will memleak. nxp_nci_send() should also free the skb when nxp_nci_i2c_write() succeeds.
Affected products
- Linux kernel: from 4.1 before 5.10.154; from 5.11 before 5.15.78; from 5.16 before 6.0.8; 6.1-rc1, 6.1-rc2, 6.1-rc3 — fixed in 5.10.154, 5.15.78, 6.0.8
How to fix
Upgrade to a fixed version: Linux kernel 5.10.154, 5.15.78, 6.0.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3cba1f061bfe23fece2841129ca2862cdec29d5c
- https://git.kernel.org/stable/c/3ecf0f4227029b2c42e036b10ff6e5d09e20821e
- https://git.kernel.org/stable/c/7bf1ed6aff0f70434bd0cdd45495e83f1dffb551
- https://git.kernel.org/stable/c/9ae2c9a91ff068f4c3e392f47e8e26a1c9f85ebb
Get alerted when CVE-2022-49923 or the next vulnerability affects your stack