bnxt_en: Don't free the live ring's TPA state on queue restart failure (Linux Linux)

CVE-2026-97574
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Don't free the live ring's TPA state on queue restart failure bnxt_queue_mem_alloc() shallow copies the live RX ring into the clone: memcpy(clone, rxr, sizeof(*rxr)); the code currently clears pointers that the clone owns (such as rx_agg_bmap), but rx_tpa and rx_tpa_idx_map are left pointing at memory of the live ring that was cloned. If an allocation failure happens later and the err_free_tpa_info label is taken, the live ring's memory can be freed while still in use. Fix this by initializing the clone's pointers to NULL to prevent live ring state from being freed inadvertently.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 0997443906b96a051011f220a61e6dce4602ec54 < e42287b4d38d653f7d4a47f6c29b0c01288bb050 ; affected bd649c5cc958169b8a8a3e77ea926d92d472b02a < 8ade95619cbfd1fc57f0f1a9a5ebdca2345a8d27 ; affected bd649c5cc958169b8a8a3e77ea926d92d472b02a < 0596a7caa6fc283e142716739099c038d8714082 ; affected bd649c5cc958169b8a8a3e77ea926d92d472b02a < 5ce7f36c334d723954855ac769ede2fe0e8f89c8 ; 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