Back

MEDIUM

RDMA/cma: Fix hang when cma_netevent_callback fails to queue_work

Published Jul 3, 2025

Description

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 products

Remediation

No remediation recorded yet.

Weaknesses (0)

No CWE recorded.

References (12)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner Linux
Published Jul 3, 2025
Updated May 23, 2026
Reserved Apr 16, 2025
NVD
Status Analyzed
Modified Jun 17, 2026
Red Hat
Severity n/a
Public date Jul 3, 2025
ENISA EUVD
Assigner Linux
Published Jul 3, 2025
Updated May 23, 2026
Exploited since n/a
EUVD-2025-19792