nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3cba1f061bfe23fece2841129ca2862cdec29d5c, Kernel 3ecf0f4227029b2c42e036b10ff6e5d09e20821e, Kernel 7bf1ed6aff0f70434bd0cdd45495e83f1dffb551 and 1 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.1, >=dece45855a8b0d1dcf48eb01d0822070ded6a4c8 <3cba1f061bfe23fece2841129ca2862cdec29d5c, >=dece45855a8b0d1dcf48eb01d0822070ded6a4c8 <3ecf0f4227029b2c42e036b10ff6e5d09e20821e, >=dece45855a8b0d1dcf48eb01d0822070ded6a4c8 <7bf1ed6aff0f70434bd0cdd45495e83f1dffb551, >=dece45855a8b0d1dcf48eb01d0822070ded6a4c8 <9ae2c9a91ff068f4c3e392f47e8e26a1c9f85ebb | 3cba1f061bfe23fece2841129ca2862cdec29d5c, 3ecf0f4227029b2c42e036b10ff6e5d09e20821e, 7bf1ed6aff0f70434bd0cdd45495e83f1dffb551, 9ae2c9a91ff068f4c3e392f47e8e26a1c9f85ebb |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket