nfc: nci: free rx_data_reassembly skb on NCI device cleanup
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 16d3f507b0fa70453dc54550df093d6e9ac630c1, Kernel 2f6d16f0520d6505241629ee2f5c131b547d5f9d, Kernel 471c9ede8061357b43a116fa692e70d91941ac23 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: nfc: nci: free rx_data_reassembly skb on NCI device cleanup rx_data_reassembly skb is stored during NCI data exchange for processing fragmented packets. It is dropped only when the last fragment is processed or when an NTF packet with NCI_OP_RF_DEACTIVATE_NTF opcode is received. However, the NCI device may be deallocated before that which leads to skb leak. As by design the rx_data_reassembly skb is bound to the NCI device and nothing prevents the device to be freed before the skb is processed in some way and cleaned, free it on the NCI device cleanup. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.2, >=6a2968aaf50c7a22fced77a5e24aa636281efca8 <16d3f507b0fa70453dc54550df093d6e9ac630c1, >=6a2968aaf50c7a22fced77a5e24aa636281efca8 <2f6d16f0520d6505241629ee2f5c131b547d5f9d, >=6a2968aaf50c7a22fced77a5e24aa636281efca8 <471c9ede8061357b43a116fa692e70d91941ac23, >=6a2968aaf50c7a22fced77a5e24aa636281efca8 <5c0c5ffaed73cbae6c317374dc32ba6cacc60895, >=6a2968aaf50c7a22fced77a5e24aa636281efca8 <71349abe3aba7fedcab5b3fcd7aa82371fb5ccbf, >=6a2968aaf50c7a22fced77a5e24aa636281efca8 <7e9a8498658b398bf11b8e388005fa54e40aed81, >=6a2968aaf50c7a22fced77a5e24aa636281efca8 <a3d90fb5c23f29ba59c04005ae76c5228cef2be9, >=6a2968aaf50c7a22fced77a5e24aa636281efca8 <bfb007aebe6bff451f7f3a4be19f4f286d0d5d9c | 16d3f507b0fa70453dc54550df093d6e9ac630c1, 2f6d16f0520d6505241629ee2f5c131b547d5f9d, 471c9ede8061357b43a116fa692e70d91941ac23, 5c0c5ffaed73cbae6c317374dc32ba6cacc60895, 71349abe3aba7fedcab5b3fcd7aa82371fb5ccbf, 7e9a8498658b398bf11b8e388005fa54e40aed81, a3d90fb5c23f29ba59c04005ae76c5228cef2be9, bfb007aebe6bff451f7f3a4be19f4f286d0d5d9c |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket