CVE-2025-38151

Source
https://cve.org/CVERecord?id=CVE-2025-38151
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38151.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38151
Downstream
Related
Published
2025-07-03T08:35:55.879Z
Modified
2026-03-20T12:42:42.203294Z
Summary
RDMA/cma: Fix hang when cma_netevent_callback fails to queue_work
Details

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

RDMA/cma: Fix hang when cmaneteventcallback fails to queue_work

The cited commit fixed a crash when cmaneteventcallback 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 queuework fails (because the item is still pending in the work queue from a previous call). In this case, cmaid_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 cmaidput() if queue_work fails.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38151.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
51003b2c872c63d28bcf5fbcc52cf7b05615f7b7
Fixed
1ac40736c8c4255d8417b937c9715b193f4a87b3
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c2b169fc7a12665d8a675c1ff14bca1b9c63fb9a
Fixed
ac7897c0124066b9705ffca252a3662d54fc0c9b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d23fd7a539ac078df119707110686a5b226ee3bb
Fixed
02e45168e0fd6fdc6f8f7c42c4b500857aa5efb0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
45f5dcdd049719fb999393b30679605f16ebce14
Fixed
8b05aa3692e45b8249379dc52b14acc6a104d2e5
Fixed
92a251c3df8ea1991cd9fe00f1ab0cfce18d7711
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
b172a4a0de254f1fcce7591833a9a63547c2f447

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38151.json"