CVE-2024-26825: nfc: nci: free rx_data_reassembly skb on NCI device cleanup
In the Linux kernel, the following vulnerability has been resolved:
nfc: nci: free rxdatareassembly skb on NCI device cleanup
rxdatareassembly 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 NCIOPRFDEACTIVATENTF opcode is received. However, the NCI device may be deallocated before that which leads to skb leak.
As by design the rxdatareassembly 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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-26825?
CVE-2024-26825 has a moderate severity score indicating potential impact on data integrity during NCI data exchange.
How do I fix CVE-2024-26825?
To fix CVE-2024-26825, update the Linux kernel to versions 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.10-1, or 6.12.11-1.
What systems are affected by CVE-2024-26825?
CVE-2024-26825 affects the Linux kernel in multiple versions as specified in the vulnerability details.
When was CVE-2024-26825 discovered?
CVE-2024-26825 was disclosed as part of ongoing security assessments of the Linux kernel.
What does CVE-2024-26825 affect in the Linux kernel?
CVE-2024-26825 affects the handling of reassembly of fragmented packets during NCI data exchange.