vsock/vmci: fix sk_ack_backlog leak on failed handshake (Linux Linux)

CVE-2026-53181
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: vsock/vmci: fix sk_ack_backlog leak on failed handshake When vmci_transport_recv_connecting_server() returns an error, vmci_transport_recv_listen() calls vsock_remove_pending() but never calls sk_acceptq_removed(). This leaves sk_ack_backlog incremented permanently. Repeated handshake failures (malformed packets, queue pair alloc failure, event subscribe failure) cause sk_ack_backlog to climb toward sk_max_ack_backlog. Once it reaches the limit the listener permanently refuses all new connections with -ECONNREFUSED, a silent denial of service requiring a process restart to recover. The two existing sk_acceptq_removed() calls in af_vsock.c do not cover this path: line 764 checks vsock_is_pending() which returns false after vsock_remove_pending(), and line 1889 is only reached on successful accept(). Fix by balancing sk_acceptq_added() with sk_acceptq_removed() on the error path.

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected d021c344051af91f42c5ba9fdedc176740cbd238 < 22c587aa3ab1ab5264daff3ec32136fd30436c13 ; affected d021c344051af91f42c5ba9fdedc176740cbd238 < cf7090e255d74c4b61c51f8ede9fcacdd8393b5b ; affected d021c344051af91f42c5ba9fdedc176740cbd238 < ea0b03d52881c12a8c634ea0d6cbfa61cefdb488 ; affected d021c344051af91f42c5ba9fdedc176740cbd238 < dfd853197615d322d3a88dbcab91fc0fd2096219 ; affected d021c344051af91f42c5ba9fdedc176740cbd238 < bcb275626055df7f8f947f1a349754b4004d9a15 ; affected d021c344051af91f42c5ba9fdedc176740cbd238 < ba9ad6015937a5e46ba1a31370e3efdec8abbdcc
Linux · Linuxaffected 3.9 ; unaffected 0 < 3.9 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD