CVE-2024-50001CWE-755

CVE-2024-50001

High · published October 21, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
24.5
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: Fix error path in multi-packet WQE transmit

Remove the erroneous unmap in case no DMA mapping was established

The multi-packet WQE transmit code attempts to obtain a DMA mapping for

the skb. This could fail, e.g. under memory pressure, when the IOMMU

driver just can't allocate more memory for page tables. While the code

tries to handle this in the path below the err_unmap label it erroneously

unmaps one entry from the sq's FIFO list of active mappings. Since the

current map attempt failed this unmap is removing some random DMA mapping

that might still be required. If the PCI function now presents that IOVA,

the IOMMU may assumes a rogue DMA access and e.g. on s390 puts the PCI

function in error state.

The erroneous behavior was seen in a stress-test environment that created

memory pressure.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00327 · 24.5th percentile
Weakness
CWE-755 · Improper Handling of Exceptional Conditions
Published
2024-10-21T22:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 5.10, < 5.10.2275.10.227
linux/linux_kernel≥ 5.11, < 5.15.1685.15.168
linux/linux_kernel≥ 5.16, < 6.1.1136.1.113
linux/linux_kernel≥ 6.2, < 6.6.556.6.55
linux/linux_kernel≥ 6.7, < 6.10.146.10.14
linux/linux_kernel≥ 6.11, < 6.11.36.11.3
linux/linux_kernelall versions—
References (11)
EPSS history
Timeline
  • 21 OCT 18:02Z
    net/mlx5: Fix error path in multi-packet WQE transmit
    cvelistv5