VDB

CVE-2024-50001

CVE-2024-50001 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published October 21, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-toolsAmazon Linux6.1.115-126.197.amzn2023
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 familySiemens3.2

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux5af75c747e2a868abbf8611494b50ed5e076fca7, 5af75c747e2a868abbf8611494b50ed5e076fca7, 5af75c747e2a868abbf8611494b50ed5e076fca7
LinuxLinux5.10, 0, 5.10.227
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
amazon:2023kernel-tools0
linuxlinux_kernel5.10, 5.10, 5.10
amazon:2023kernel-modules-extra-common0
SiemensRUGGEDCOM RST2428P0
amazon:2023kernel-libbpf-devel0
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family0
amazon:2023kernel-modules-extra0
amazon:2023kernel-devel0
LinuxLinux5.10, 5af75c747e2a868abbf8611494b50ed5e076fca7, 5af75c747e2a868abbf8611494b50ed5e076fca7
amazon:2023kernel-libbpf0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel-headers0
amazon:2023kernel-livepatch-6.1.115-126.1970
amazon:2023bpftool0
amazon:2023kernel0
amazon:2023python3-perf0
amazon:2023kernel-libbpf-static0

…and 2 more

Timeline

  • Oct 21, 2024 CVE Published
  • Oct 22, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 22, 2024 Coalition ESS Score (13 in total, the first dated here)
  • Jan 2, 2026 Security Advisory (449 in total, the first dated here)
  • Jan 2, 2026 CVE Updated
  • Mar 30, 2026 Distribution Patch (381 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-50001
vulnetix vdb fixes CVE-2024-50001

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-50001/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›