5.5medium
nfc: nci: free rx_data_reassembly skb on NCI device cleanup
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 7e9a8498658b398bf11b8e388005fa54e40aed81, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 71349abe3aba7fedcab5b3fcd7aa82371fb5ccbf, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 2f6d16f0520d6505241629ee2f5c131b547d5f9d, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 471c9ede8061357b43a116fa692e70d91941ac23, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 5c0c5ffaed73cbae6c317374dc32ba6cacc60895, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before 16d3f507b0fa70453dc54550df093d6e9ac630c1, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before a3d90fb5c23f29ba59c04005ae76c5228cef2be9, from 6a2968aaf50c7a22fced77a5e24aa636281efca8 before bfb007aebe6bff451f7f3a4be19f4f286d0d5d9c and 1 more Not affected: before 3.2, from 4.19.307 up to 4.19.*, from 5.4.269 up to 5.4.*, from 5.10.210 up to 5.10.*, from 5.15.149 up to 5.15.*, from 6.1.79 up to 6.1.* | CVE List |
| linux linux_kernel | from 3.2 before 4.19.307, from 4.20 before 5.4.269, from 5.5 before 5.10.210, from 5.11 before 5.15.149, from 5.16 before 6.1.79, from 6.2 before 6.6.18, from 6.7 before 6.7.6, 6.8 | NVD |
| debian debian_linux | 10.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfc: nci: rx_data_reassembly skb gratuito en la limpieza del dispositivo NCI rx_data_reassembly skb se almacena durante el intercambio de datos NCI para procesar paquetes fragmentados. Se elimina solo cuando se procesa el último fragmento o cuando se recibe un paquete NTF con el código de operación NCI_OP_RF_DEACTIVATE_NTF. Sin embargo, el dispositivo NCI puede desasignarse antes de lo que provoca una fuga de skb. Como por diseño el skb rx_data_reassembly está vinculado al dispositivo NCI y nada impide que el dispositivo se libere antes de que el skb se procese y limpie de alguna manera, libérelo en la limpieza del dispositivo NCI. Encontrado por el Centro de verificación de Linux (linuxtesting.org) con Syzkaller.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-26825 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-26825 changed 2026-06-17 | Public domain |