CVE-2024-35958

High

Description

In the Linux kernel, the following vulnerability has been resolved: net: ena: Fix incorrect descriptor free behavior ENA has two types of TX queues: - queues which only process TX packets arriving from the network stack - queues which only process TX packets forwarded to it by XDP_REDIRECT or XDP_TX instructions The ena_free_tx_bufs() cycles through all descriptors in a TX queue and unmaps + frees every descriptor that hasn't been acknowledged yet by the device (uncompleted TX transactions). The function assumes that the processed TX queue is necessarily from the first category listed above and ends up using napi_consume_skb() for descriptors belonging to an XDP specific queue. This patch solves a bug in which, in case of a VF reset, the descriptors aren't freed correctly, leading to crashes.

SeverityHigh
CVSS7.8
Exploit probability18. percentile0.3%
ProductLinux Kernel
PublishedMay 20, 2024
First seenMay 20, 2024

How to fix

Update
  • linux linux_kernel5.10.216, 5.15.156, 6.1.87, 6.6.28, 6.8.7 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.6 ≤ v < 5.10.216, 5.11 ≤ v < 5.15.156, 5.16 ≤ v < 6.1.87, 6.2 ≤ v < 6.6.28, 6.7 ≤ v < 6.8.7, 6.95.10.216, 5.15.156, 6.1.87, 6.6.28, 6.8.7
debian debian_linux10.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.