Описание
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.
A flaw was found in the Linux kernel's Broadcom NetXtreme-E (bnxt_en) network driver. When cloning receive ring structures during queue memory allocation, the driver fails to clear pointers to active Transparent Packet Aggregation (TPA) memory. If a subsequent memory allocation failure occurs, error-handling routines can prematurely free memory that remains in active use by the live ring. This issue may lead to memory corruption and result in a Denial of Service (DoS) through a system crash.
Отчет
A moderate impact flaw was found in the Linux kernel's Broadcom NetXtreme-E (bnxt_en) network driver in Red Hat Enterprise Linux 9 and 10, Red Hat In-Vehicle OS 2, and OpenShift Container Platform streams that ship an affected RHEL 9 or RHEL 10 based kernel. When the driver clones a receive ring during queue memory allocation, the clone retains pointers to the live ring's Transparent Packet Aggregation (TPA) state. If a subsequent memory allocation fails during a queue restart, the error-handling path can free the live ring's TPA memory while it is still in active use, leading to memory corruption and a kernel crash that results in a local denial of service. Exploiting this flaw requires local access with privileges to reconfigure the network device (such as CAP_NET_ADMIN) combined with a memory allocation failure at the right point in the queue restart, so the crash cannot be deterministically forced by an attacker. Earlier Red Hat Enterprise Linux 6, 7, and 8 releases, the RHEL 9.2, 9.4, 9.6, and 10.0 update streams, kernel-rt, and OpenShift Container Platform 4.12 through 4.21 are not affected because the vulnerable code is not present in those kernels. Red Hat's severity of Moderate (CVSS 3.1 score 5.5) is lower than the upstream assessment because the flaw is local, requires privileges, and depends on an unreliable allocation-failure condition. For the affected streams the fix is deferred to a future planned update; the residual risk is limited to a local denial of service on systems using affected Broadcom NetXtreme-E network hardware, with no confidentiality or integrity impact expected.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 6 | kernel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel | Not affected | ||
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | ||
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | ||
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Not affected | ||
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Fix deferred |
Показывать по
Дополнительная информация
Статус:
EPSS
5.5 Medium
CVSS3
Связанные уязвимости
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.
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.
bnxt_en: Don't free the live ring's TPA state on queue restart failure
In the Linux kernel, the following vulnerability has been resolved: b ...
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.
EPSS
5.5 Medium
CVSS3