CVE-2024-26825

nfc: nci: free rx_data_reassembly skb on NCI device cleanup

published April 17, 2024

CVSS
—
EPSS
0%
Percentile
13.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00237 · 13.9th percentile
Published
2024-04-17T09:43Z
EPSS history
Timeline
  • 17 APR 09:43Z
    nfc: nci: free rx_data_reassembly skb on NCI device cleanup
    cvelistv5