Search covers the description text, product and vendor names and weakness types (also partial words).
This vulnerability can be exploited from the same local network, without logging in, without any user interaction.
A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.
Weakness type: Race condition.
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
In the Linux kernel, the following vulnerability has been resolved:
nfc: llcp: Fix use-after-free race in nfc_llcp_recv_cc()
A race condition exists in the NFC LLCP connection state machine where
the connection acceptance packet (CC) can be processed concurrently with
socket release. This can lead to a use-after-free of the socket object.
When nfc_llcp_recv_cc() moves the socket from the connecting_sockets
list to the sockets list, it does so without holding the socket lock.
If llcp_sock_release() is executing concurrently, it might have already
unlinked the socket and dropped its references, which can result in
nfc_llcp_recv_cc() linking a freed socket into the live list.
Fix this by holding lock_sock() during the state transition and list
movement in nfc_llcp_recv_cc(). After acquiring the lock, check if
the socket is still hashed to ensure it hasn't already been unlinked
and marked for destruction by the release path. This aligns the locking
pattern with recv_hdlc() and recv_disc().
Weakness: CWE-362 – Race condition, CWE-416 – Use after free
| Vendor | Product | Versions |
|---|---|---|
| linux | linux kernel | >=3.6 <5.10.259 |
| linux | linux kernel | >=5.11 <5.15.210 |
| linux | linux kernel | >=5.16 <6.1.176 |
| linux | linux kernel | >=6.2 <6.6.143 |
| linux | linux kernel | >=6.7 <6.12.93 |
| linux | linux kernel | >=6.13 <6.18.35 |
| linux | linux kernel | >=6.19 <7.0.12 |
| linux | linux kernel | 7.1 |