一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月25日

CVE-2026-97574 – In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Don’t free t

未分类
📑 文章目录

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.