{"id":"CVE-2025-38151","aliases":["CVE-2025-38151"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/cma: Fix hang when cma_netevent_callback fails to queue_work","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/cma: Fix hang when cma_netevent_callback fails to queue_work\n\nThe cited commit fixed a crash when cma_netevent_callback was called for\na cma_id while work on that id from a previous call had not yet started.\nThe work item was re-initialized in the second call, which corrupted the\nwork item currently in the work queue.\n\nHowever, it left a problem when queue_work fails (because the item is\nstill pending in the work queue from a previous call). In this case,\ncma_id_put (which is called in the work handler) is therefore not\ncalled. This results in a userspace process hang (zombie process).\n\nFix this by calling cma_id_put() if queue_work fails.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/cma: Fix hang when cma_netevent_callback fails to queue_work\n\nThe cited commit fixed a crash when cma_netevent_callback was called for\na cma_id while work on that id from a previous call had not yet started.\nThe work item was re-initialized in the second call, which corrupted the\nwork item currently in the work queue.\n\nHowever, it left a problem when queue_work fails (because the item is\nstill pending in the work queue from a previous call). In this case,\ncma_id_put (which is called in the work handler) is therefore not\ncalled. This results in a userspace process hang (zombie process).\n\nFix this by calling cma_id_put() if queue_work fails.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: RDMA/cma: Se corrige el bloqueo cuando cma_netevent_callback no puede ejecutar queue_work La confirmación citada corrigió un bloqueo cuando se llamaba a cma_netevent_callback para un cma_id mientras que el trabajo en ese id de una llamada anterior aún no había comenzado. El elemento de trabajo se reinicializó en la segunda llamada, lo que corrompió el elemento de trabajo que se encontraba actualmente en la cola de trabajos. Sin embargo, dejó un problema cuando queue_work falla (porque el elemento sigue pendiente en la cola de trabajos de una llamada anterior). En este caso, por lo tanto, cma_id_put (que se llama en el controlador de trabajos) no se llama. Esto da como resultado un bloqueo del proceso del espacio de usuario (proceso zombi). Arregle esto llamando a cma_id_put() si queue_work falla.","source":"nvd"}],"published":"2025-07-03T08:35:55.879Z","modified":"2026-06-17T09:16:09.450Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"51003b2c872c63d28bcf5fbcc52cf7b05615f7b7","fixed":"1ac40736c8c4255d8417b937c9715b193f4a87b3","status":"affected"},{"type":"git","introduced":"c2b169fc7a12665d8a675c1ff14bca1b9c63fb9a","fixed":"ac7897c0124066b9705ffca252a3662d54fc0c9b","status":"affected"},{"type":"git","introduced":"d23fd7a539ac078df119707110686a5b226ee3bb","fixed":"02e45168e0fd6fdc6f8f7c42c4b500857aa5efb0","status":"affected"},{"type":"git","introduced":"45f5dcdd049719fb999393b30679605f16ebce14","fixed":"8b05aa3692e45b8249379dc52b14acc6a104d2e5","status":"affected"},{"type":"git","introduced":"45f5dcdd049719fb999393b30679605f16ebce14","fixed":"92a251c3df8ea1991cd9fe00f1ab0cfce18d7711","status":"affected"},{"type":"git","version":"b172a4a0de254f1fcce7591833a9a63547c2f447","status":"affected"},{"type":"semver","introduced":"6.1.135","fixed":"6.1.142","status":"affected"},{"type":"semver","introduced":"6.6.88","fixed":"6.6.94","status":"affected"},{"type":"semver","introduced":"6.12.25","fixed":"6.12.34","status":"affected"},{"type":"semver","introduced":"6.14.4","fixed":"6.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.1.142","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.94","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.34","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.3","lastAffected":"6.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1.135","fixed":"6.1.142"},{"status":"affected","introduced":"6.6.88","fixed":"6.6.94"},{"status":"affected","introduced":"6.12.25","fixed":"6.12.34"},{"status":"affected","introduced":"6.14.4","fixed":"6.15"},{"status":"affected","introduced":"6.15.1","fixed":"6.15.3"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1ac40736c8c4255d8417b937c9715b193f4a87b3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac7897c0124066b9705ffca252a3662d54fc0c9b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02e45168e0fd6fdc6f8f7c42c4b500857aa5efb0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8b05aa3692e45b8249379dc52b14acc6a104d2e5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92a251c3df8ea1991cd9fe00f1ab0cfce18d7711","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38151","url":"https://www.cve.org/CVERecord?id=CVE-2025-38151","licence":"CVE Terms of Use","modified":"2026-05-23T15:59:05.473Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38151","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38151","licence":"Public domain","modified":"2026-06-17T09:16:09.450Z"}],"updatedAt":"2026-11-25T22:59:00.542Z","epss":{"score":0.0019,"percentile":0.09047,"date":"2026-12-01T12:00:22.000Z"}}