VDB

CVE-2025-38151

CVE-2025-38151 PUBLISHED

RDMA/cma: Fix hang when cma_netevent_callback fails to queue_work

Reported by linux · Published July 3, 2025

In the Linux kernel, the following vulnerability has been resolved: RDMA/cma: Fix hang when cma_netevent_callback fails to queue_work The cited commit fixed a crash when cma_netevent_callback was called for a cma_id while work on that id from a previous call had not yet started. The work item was re-initialized in the second call, which corrupted the work item currently in the work queue. However, it left a problem when queue_work fails (because the item is still pending in the work queue from a previous call). In this case, cma_id_put (which is called in the work handler) is therefore not called. This results in a userspace process hang (zombie process). Fix this by calling cma_id_put() if queue_work fails.

Fixed versions

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

PackageEcosystemFixed in
kernel-libbpf-develAmazon Linux6.12.35-55.103.amzn2023
kernel-livepatch-6.12.35-55.103Amazon Linux1.0-0.amzn2023
kernel6.12-modules-extraAmazon Linux6.12.35-55.103.amzn2023
LinuxLinux92a251c3df8ea1991cd9fe00f1ab0cfce18d7711

Affected products

VendorProductVersions
LinuxLinux51003b2c872c63d28bcf5fbcc52cf7b05615f7b7, c2b169fc7a12665d8a675c1ff14bca1b9c63fb9a, d23fd7a539ac078df119707110686a5b226ee3bb
LinuxLinux6.15, 0, 6.1.142
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-livepatch-6.12.35-55.1030
amazon:2023kernel6.12-modules-extra0
LinuxLinux6.6.88, 6.1.135, *
amazon:2023kernel-libbpf-static0
amazon:2023kernel-devel0
amazon:2023kernel-tools0
amazon:2023bpftool0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf0
amazon:2023perf0
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.1.144-170.2510
amazon:2023python3-perf6.120
amazon:2023kernel-headers0
amazon:2023kernel6.120
amazon:2023perf6.120
amazon:2023kernel-modules-extra-common0

…and 3 more

Timeline

  • Jul 2, 2025 CVE Published
  • Jul 3, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (11 in total, the first dated here)
  • Dec 18, 2025 CVE Updated
  • Apr 29, 2026 Distribution Patch (189 in total, the first dated here)
  • Apr 29, 2026 Security Advisory (203 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38151
vulnetix vdb fixes CVE-2025-38151

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-2025-38151/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 ›