CVE-2024-50001
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 6.1.115-126.197.amzn2023 |
| SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | Siemens | 3.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 5af75c747e2a868abbf8611494b50ed5e076fca7, 5af75c747e2a868abbf8611494b50ed5e076fca7, 5af75c747e2a868abbf8611494b50ed5e076fca7 |
| Linux | Linux | 5.10, 0, 5.10.227 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
| amazon:2023 | kernel-tools | 0 |
| linux | linux_kernel | 5.10, 5.10, 5.10 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| Siemens | RUGGEDCOM RST2428P | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-devel | 0 |
| Linux | Linux | 5.10, 5af75c747e2a868abbf8611494b50ed5e076fca7, 5af75c747e2a868abbf8611494b50ed5e076fca7 |
| amazon:2023 | kernel-libbpf | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-livepatch-6.1.115-126.197 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
…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