nfc: llcp: Fix use-after-free in llcp_sock_release()
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.8epss 0.1%
exploitation probability
0.1%top 97% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/2dfdaaf7d933b676124aadec6698825e95f94fe9https://git.kernel.org/stable/c/89ba026747019ee643d29407435ddc118e6ca908https://git.kernel.org/stable/c/912ebc49d4406a17fe73e5671d674fbc2f6b2634https://git.kernel.org/stable/c/bc421d0826dedbba37580a25405eafb599e76d42https://git.kernel.org/stable/c/cdc17e09a636c7f936f771902535a7515a7608fchttps://git.kernel.org/stable/c/e00f50f8697724a6f1d2d35744c1332c9912dac5https://git.kernel.org/stable/c/f4268b466190dae95a7585f69b4f1f8ad097632chttps://git.kernel.org/stable/c/fb29f6bbe433f3decad227588809636c25f2a287