NTB: ntb_transport: Fail TX enqueue when the QP link is down (Linux Linux)

CVE-2026-80988
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 7 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: NTB: ntb_transport: Fail TX enqueue when the QP link is down Commit f195a1a6fe41 ("ntb: Drop packets when qp link is down") meant to make ntb_transport_tx_enqueue() drop packets submitted while the QP link is down, but it only returns 0 without consuming the packet. Zero means success by this function's contract, so ntb_netdev reports NETDEV_TX_OK and forgets the skb: nothing queued it, nothing frees it, and it leaks, one skb for every transmit racing a link-down. Return -ENOLINK instead, restoring the contract that a non-zero return leaves the buffer owned by the caller. With the preceding patch, ntb_netdev frees the skb on non-retryable enqueue failures and returns NETDEV_TX_OK, so a packet racing with link-down is dropped without leaking or entering a busy retry loop.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 3cfdc448e8bfa8a7eaa5af87f357330566124b78 < 76c9ccc0c6bebfc74c0e727eda67687f5103ab06 ; affected bfa051f650a7708183bd86901ca4645dcf88c486 < 96d792c65b9d5f7f9dd86a1004315db59e450c07 ; affected 4f4af6b8b7a23fa37decaf43b55403e6bfd8e219 < 45cc11035165918dd1f81796ea98f81ece20d361 ; affected f195a1a6fe416882984f8bd6c61afc1383171860 < e6cc541fab01099fd8efadfa4f13afdf118bf536 ; affected f195a1a6fe416882984f8bd6c61afc1383171860 < 5eca0d899a3be661a7e2caaaa7467a6fa15d756c ; affected f195a1a6fe416882984f8bd6c61afc1383171860 < 894e136b432da75c0352c80299807a5c4b04f167
Linux · Linuxaffected 6.6 ; unaffected 0 < 6.6 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 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