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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
0997443906b96a051011f220a61e6dce4602ec54 to < e42287b4d38d653f7d4a47f6c29b0c01288bb050affectedbd649c5cc958169b8a8a3e77ea926d92d472b02a to < 8ade95619cbfd1fc57f0f1a9a5ebdca2345a8d27affectedbd649c5cc958169b8a8a3e77ea926d92d472b02a to < 0596a7caa6fc283e142716739099c038d8714082affectedbd649c5cc958169b8a8a3e77ea926d92d472b02a to < 5ce7f36c334d723954855ac769ede2fe0e8f89c8affected6.12.20 to < 6.12.112affected
Linux Linux
Default version status: affected
6.13affected0 to < 6.13unaffected6.12.112 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2.7 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected