bnxt_en: Propagate TPA buffer allocation failures in bnxt_queue_mem_alloc() (Linux Linux)

CVE-2026-97571
Non disponible

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Propagate TPA buffer allocation failures in bnxt_queue_mem_alloc() bnxt_alloc_one_tpa_info_data() returns -ENOMEM as soon as one allocation fails. This leaves the remaining rxr->rx_tpa[] entries zeroed. bnxt_queue_mem_alloc() discards that return value, so the partially initialized ring is installed by bnxt_queue_start(). Since the agg_id is picked by the hardware and bnxt_alloc_agg_idx maps it to a SW index in rxr->rx_tpa[], it is possible that an uninitialized slot can be chosen which would hand a zero DMA address to the device. Fix this by checking the return value of bnxt_alloc_one_tpa_info_data and unwinding, freeing the ring buffers.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 0997443906b96a051011f220a61e6dce4602ec54 < d7db2e4953e4626339fd0075564a3e447650d37b ; affected bd649c5cc958169b8a8a3e77ea926d92d472b02a < c8050386a2209b2a474c1eb4bd1574dc19129bfb ; affected bd649c5cc958169b8a8a3e77ea926d92d472b02a < 37e08dc821a57fe0592c917486b638caa888b46d ; affected bd649c5cc958169b8a8a3e77ea926d92d472b02a < b814dfbfeb0a68c9a52073f2caa05a2d5247a329 ; affected 6.12.20 < 6.12.112
Linux · Linuxaffected 6.13 ; unaffected 0 < 6.13 ; unaffected 6.12.112 ≤ 6.12.* ; unaffected 6.18.53 ≤ 6.18.* ; unaffected 7.2.7 ≤ 7.2.* ; unaffected 7.3 ≤ *

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