bnxt_en: Don't free the live ring's TPA state on queue restart failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 8ade95619cbfd1fc57f0f1a9a5ebdca2345a8d27, Kernel 6.12.112, Kernel 0596a7caa6fc283e142716739099c038d8714082 and 4 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=bd649c5cc958169b8a8a3e77ea926d92d472b02a <8ade95619cbfd1fc57f0f1a9a5ebdca2345a8d27, >=6.12.20 <6.12.112, >=bd649c5cc958169b8a8a3e77ea926d92d472b02a <0596a7caa6fc283e142716739099c038d8714082, >=bd649c5cc958169b8a8a3e77ea926d92d472b02a <5ce7f36c334d723954855ac769ede2fe0e8f89c8, =6.13, >=0997443906b96a051011f220a61e6dce4602ec54 <e42287b4d38d653f7d4a47f6c29b0c01288bb050 | 8ade95619cbfd1fc57f0f1a9a5ebdca2345a8d27, 6.12.112, 0596a7caa6fc283e142716739099c038d8714082, 5ce7f36c334d723954855ac769ede2fe0e8f89c8, e42287b4d38d653f7d4a47f6c29b0c01288bb050 |
| linux-kernel: Kernel | >=6.13.0 <6.18.53, >=6.19.0 <7.2.7, >=6.12.20 <6.12.112 | 6.18.53, 7.2.7, 6.12.112 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket