CVE Catalog

CVE-2024-50001

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.32%

24th percentile - higher than 24% of all known CVEs

Summary

In the Linux kernel, the mlx5 driver had an error path bug in multi-packet WQE transmit. On DMA mapping failure, the code erroneously unmapped an entry from the active mappings list, potentially removing a random mapping and causing PCI function errors.

Risk Assessment

The risk includes potential hardware errors or PCI function failures, leading to network or system disruptions.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix that removes the erroneous unmap call when no DMA mapping was established.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS