CVE-2025-38151

published 3 Jul 2025 · updated 17 Nov 2026

RDMA/cma: Fix hang when cma_netevent_callback fails to queue_work

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 02e45168e0fd6fdc6f8f7c42c4b500857aa5efb0, Kernel 6.1.142, Kernel 6.12.34 and 7 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=d23fd7a539ac078df119707110686a5b226ee3bb <02e45168e0fd6fdc6f8f7c42c4b500857aa5efb0, >=6.1.135 <6.1.142, >=6.12.25 <6.12.34, >=6.14.4 <6.15, >=6.6.88 <6.6.94, >=c2b169fc7a12665d8a675c1ff14bca1b9c63fb9a <ac7897c0124066b9705ffca252a3662d54fc0c9b, =6.15, =b172a4a0de254f1fcce7591833a9a63547c2f447, >=45f5dcdd049719fb999393b30679605f16ebce14 <8b05aa3692e45b8249379dc52b14acc6a104d2e5, >=45f5dcdd049719fb999393b30679605f16ebce14 <92a251c3df8ea1991cd9fe00f1ab0cfce18d7711, >=51003b2c872c63d28bcf5fbcc52cf7b05615f7b7 <1ac40736c8c4255d8417b937c9715b193f4a87b302e45168e0fd6fdc6f8f7c42c4b500857aa5efb0, 6.1.142, 6.12.34, 6.15, 6.6.94, ac7897c0124066b9705ffca252a3662d54fc0c9b, 8b05aa3692e45b8249379dc52b14acc6a104d2e5, 92a251c3df8ea1991cd9fe00f1ab0cfce18d7711, 1ac40736c8c4255d8417b937c9715b193f4a87b3
linux-kernel: Kernel>=6.12.25 <6.12.34, >=6.14.4 <6.15, >=6.15.0 <6.15.3, >=6.6.88 <6.6.94, >=6.1.135 <6.1.1426.12.34, 6.15, 6.15.3, 6.6.94, 6.1.142

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38151 severity on Zeptric[![CVE-2025-38151](https://zeptric.io/badge/cve/CVE-2025-38151.svg)](https://zeptric.io/cve/CVE-2025-38151)