{"id":"CVE-2026-64010","published":"2026-07-19T14:56:25Z","modified":"2026-08-05T12:38:10Z","title":"nfc: llcp: Fix use-after-free race in nfc_llcp_recv_cc()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: llcp: Fix use-after-free race in nfc_llcp_recv_cc()\n\nA race condition exists in the NFC LLCP connection state machine where\nthe connection acceptance packet (CC) can be processed concurrently with\nsocket release.  This can lead to a use-after-free of the socket object.\n\nWhen nfc_llcp_recv_cc() moves the socket from the connecting_sockets\nlist to the sockets list, it does so without holding the socket lock.\nIf llcp_sock_release() is executing concurrently, it might have already\nunlinked the socket and dropped its references, which can result in\nnfc_llcp_recv_cc() linking a freed socket into the live list.\n\nFix this by holding lock_sock() during the state transition and list\nmovement in nfc_llcp_recv_cc().  After acquiring the lock, check if\nthe socket is still hashed to ensure it hasn't already been unlinked\nand marked for destruction by the release path.  This aligns the locking\npattern with recv_hdlc() and recv_disc().","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00197,"percentile":0.0939,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/dce85215a6c7b0fd753f577a4c487f647119884c","tags":[]},{"url":"https://git.kernel.org/stable/c/bd08bb7443c501d2f2a71d529e4afcf11c9b07d2","tags":[]},{"url":"https://git.kernel.org/stable/c/0b45c31746e1523d5d482fda8fcf54a35ac417f1","tags":[]},{"url":"https://git.kernel.org/stable/c/ee2d1a8a1833c5e56e9a1745e64b0b4edda732c2","tags":[]},{"url":"https://git.kernel.org/stable/c/ad8a27d63cac96bac441edd002209ebd996e12fb","tags":[]},{"url":"https://git.kernel.org/stable/c/650bdd8fdfab64a09ee474150313dbc48c374795","tags":[]},{"url":"https://git.kernel.org/stable/c/b2a60f7f846faaf5c2cdad4ea6d3a33e5f863183","tags":[]},{"url":"https://git.kernel.org/stable/c/b493ea2765cc17cb8aa7e7544a4b6dcb05b6ed77","tags":[]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":1.88},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a69f32af86e389dd232b1bb2269e202c1bfcc60f, < dce85215a6c7b0fd753f577a4c487f647119884c",">= a69f32af86e389dd232b1bb2269e202c1bfcc60f, < bd08bb7443c501d2f2a71d529e4afcf11c9b07d2",">= a69f32af86e389dd232b1bb2269e202c1bfcc60f, < 0b45c31746e1523d5d482fda8fcf54a35ac417f1",">= a69f32af86e389dd232b1bb2269e202c1bfcc60f, < ee2d1a8a1833c5e56e9a1745e64b0b4edda732c2",">= a69f32af86e389dd232b1bb2269e202c1bfcc60f, < ad8a27d63cac96bac441edd002209ebd996e12fb",">= a69f32af86e389dd232b1bb2269e202c1bfcc60f, < 650bdd8fdfab64a09ee474150313dbc48c374795",">= a69f32af86e389dd232b1bb2269e202c1bfcc60f, < b2a60f7f846faaf5c2cdad4ea6d3a33e5f863183",">= a69f32af86e389dd232b1bb2269e202c1bfcc60f, < b493ea2765cc17cb8aa7e7544a4b6dcb05b6ed77"]},{"vendor":"Linux","product":"Linux","versions":["3.6"]}],"euvd":{"id":"EUVD-2026-45583","exploited":false,"provenance":"source"}}