CVE-2026-31629
Vulnérabilité élevée dans Linux (Linux)
Description
In the Linux kernel, the following vulnerability has been resolved: nfc: llcp: add missing return after LLCP_CLOSED checks In nfc_llcp_recv_hdlc() and nfc_llcp_recv_disc(), when the socket state is LLCP_CLOSED, the code correctly calls release_sock() and nfc_llcp_sock_put() but fails to return. Execution falls through to the remainder of the function, which calls release_sock() and nfc_llcp_sock_put() again. This results in a double release_sock() and a refcount underflow via double nfc_llcp_sock_put(), leading to a use-after-free. Add the missing return statements after the LLCP_CLOSED branches in both functions to prevent the fall-through.
Gravité et risque d'exploitation
CVE-2026-31629 obtient un score CVSS de 8.8/10, soit une gravité élevée. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.36 %, ce qui la place devant 28.4 % des CVE référencées.
Que faire ?
- Vérifiez si Linux (versions <ff3d9e8f7244293e303f7b6ef70774291c7c27e9, <=6.1.*, <=7.0.*, <=6.12.*, <8977fad2b3c6eefd414131168d597c5d1d5e1abf, 0, 6.12.83, 7.0.1, <3.3, 5.15.209, <=5.10.*, <=6.6.*, 6.1.175, <b2a23529593d011fb433a3d711fc597ed6a6bd2f, <=6.19.*, 6.6.136, <9b49e2a4b8219a2fc5cebf94f4ec34e509aff8a6, 7.1, <=6.18.*, d646960f7986fefb460a2b062d5ccc8ccfeacc3a, 3.3, 5.10.258, <796e0cac058252d0ad34ebe288e6f7979b5fc9b2, <aba4712e8f0381cd5d196534ce2ad082626a5ab6, <=*, 6.19.14, <=5.15.*, <665315df9c3486cb213fc44d83cc8bcd47fe0d26, <0eb1263a3b8c36418c9ba295c9ab3abed664edbf, 6.18.24, <2b5dd4632966c39da6ba74dbc8689b309065e82c) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
Références
- https://git.kernel.org/stable/c/b2a23529593d011fb433a3d711fc597ed6a6bd2f
- https://git.kernel.org/stable/c/665315df9c3486cb213fc44d83cc8bcd47fe0d26
- https://git.kernel.org/stable/c/9b49e2a4b8219a2fc5cebf94f4ec34e509aff8a6
- https://git.kernel.org/stable/c/0eb1263a3b8c36418c9ba295c9ab3abed664edbf
- https://git.kernel.org/stable/c/796e0cac058252d0ad34ebe288e6f7979b5fc9b2
- https://git.kernel.org/stable/c/8977fad2b3c6eefd414131168d597c5d1d5e1abf
- https://git.kernel.org/stable/c/ff3d9e8f7244293e303f7b6ef70774291c7c27e9
- https://git.kernel.org/stable/c/aba4712e8f0381cd5d196534ce2ad082626a5ab6
- https://git.kernel.org/stable/c/2b5dd4632966c39da6ba74dbc8689b309065e82c
