nfc: llcp: Fix use-after-free in llcp_sock_release()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b4011239a08e7e6c2c6e970dfa9e8ecb73139261 · < 912ebc49d4406a17fe73e5671d674fbc2f6b2634| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
nfc: llcp: Fix use-after-free in llcp_sock_release()
llcp_sock_release() unconditionally unlinks the socket from the local sockets list. However, if the socket is still in connecting state, it is on the connecting list.
Fix this by checking the socket state and unlinking from the correct list.
From the CVE record · Linux
The Linux kernel’s NFC LLCP socket release function can trigger a use-after-free when it releases a socket that is still connecting. The input does not specify how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with NFC LLCP support should check their kernel versions; affected versions are not specified.