{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38151","id":"CVE-2025-38151","title":"RDMA/cma: Fix hang when cma_netevent_callback fails to queue_work","description":"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\nHowev","descriptionLong":"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.","published":"2025-07-03T08:35:55.879Z","updated":"2026-11-17T07:03:06.737238172Z","reserved":"2025-04-16T04:51:23.989Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"51003b2c872c63d28bcf5fbcc52cf7b05615f7b7","lessThan":"1ac40736c8c4255d8417b937c9715b193f4a87b3","status":"affected","versionType":"git"},{"version":"c2b169fc7a12665d8a675c1ff14bca1b9c63fb9a","lessThan":"ac7897c0124066b9705ffca252a3662d54fc0c9b","status":"affected","versionType":"git"},{"version":"d23fd7a539ac078df119707110686a5b226ee3bb","lessThan":"02e45168e0fd6fdc6f8f7c42c4b500857aa5efb0","status":"affected","versionType":"git"},{"version":"45f5dcdd049719fb999393b30679605f16ebce14","lessThan":"8b05aa3692e45b8249379dc52b14acc6a104d2e5","status":"affected","versionType":"git"},{"version":"45f5dcdd049719fb999393b30679605f16ebce14","lessThan":"92a251c3df8ea1991cd9fe00f1ab0cfce18d7711","status":"affected","versionType":"git"},{"version":"b172a4a0de254f1fcce7591833a9a63547c2f447","status":"affected","versionType":"git"},{"version":"6.1.135","lessThan":"6.1.142","status":"affected","versionType":"semver"},{"version":"6.6.88","lessThan":"6.6.94","status":"affected","versionType":"semver"},{"version":"6.12.25","lessThan":"6.12.34","status":"affected","versionType":"semver"},{"version":"6.14.4","lessThan":"6.15","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","status":"unaffected","versionType":"semver"},{"version":"6.1.142","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.94","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.34","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.3","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/1ac40736c8c4255d8417b937c9715b193f4a87b3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ac7897c0124066b9705ffca252a3662d54fc0c9b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/02e45168e0fd6fdc6f8f7c42c4b500857aa5efb0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8b05aa3692e45b8249379dc52b14acc6a104d2e5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/92a251c3df8ea1991cd9fe00f1ab0cfce18d7711","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38151.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38151","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00182,"epssPercentile":0.0787,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38151","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38151","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38151","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38151","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}