bnxt_en: Handle buffer allocation failure in bnxt_rx_ring_reset() (Linux Linux)

CVE-2026-97573
HIGH 8.1

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Handle buffer allocation failure in bnxt_rx_ring_reset() bnxt_rx_ring_reset() frees the ring buffers and then reallocates them, ignoring the result. bnxt_alloc_one_rx_ring() can fail in bnxt_alloc_one_tpa_info_data(), which returns -ENOMEM on the first failed allocation and leaves the remaining rxr->rx_tpa[] entries zeroed. The error isn't propagated up, so the loop in bnxt_rx_ring_reset continues and at the end the code re-enables TPA with partially unallocated rx_tpa array. This means that when the agg_id from hardware is mapped to a SW index in rxr->rx_tpa[], an uninitialized slot can be chosen which would hand a zero DMA address to the device. Fix this by falling back to a global reset, which is what the existing code already does when other functions fail, but unlike the other failure cases this particular failure has to return because TPA can't be re-enabled since the allocation failed.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 8fbf58e17dce8f250dda9ad6b0a49b3041f0af14 < 52fc97cbc3ba118aad84e7c001bf02ebe8496f70 ; affected 8fbf58e17dce8f250dda9ad6b0a49b3041f0af14 < 40b4a7bb6b0b872b45f017dbf211268de098b75c ; affected 8fbf58e17dce8f250dda9ad6b0a49b3041f0af14 < af9a2bdaba0b4ceb0fc5e5122ef3fc6b7e5a366a ; affected 8fbf58e17dce8f250dda9ad6b0a49b3041f0af14 < cfec9e7f15a56cb0104bac13d01e5d11e1ba84fb ; affected 8fbf58e17dce8f250dda9ad6b0a49b3041f0af14 < 1a3670b6a6b5679fe56c5890157b344f091e64f8 ; affected 8fbf58e17dce8f250dda9ad6b0a49b3041f0af14 < 4a17c73c83798c2fa9c7920ad5a98803adce3e01
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 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