CVE-2025-38151: RDMA/cma: Fix hang when cma_netevent_callback fails to queue_work

Published Jul 3, 2025
·
Updated

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

RDMA/cma: Fix hang when cmaneteventcallback fails to queuework

The cited commit fixed a crash when cmaneteventcallback was called for a cmaid 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, cmaidput (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 queuework fails.

Affected Software

13 affected components
Linux Foundation Linux Kernel
Linux Linux kernel>=6.1.135<6.1.142
Linux Linux kernel>=6.6.88<6.6.94
Linux Linux kernel>=6.12.25<6.12.34
Linux Linux kernel>=6.14.4<6.15
Linux Linux kernel>=6.15.1<6.15.3
Linux Linux kernel=6.15
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Linux Linux kernel=6.15-rc5
Linux Linux kernel=6.15-rc6
Linux Linux kernel=6.15-rc7
Debian Debian Linux=11.0

Event History

Jul 3, 2025
CVE Published
via MITRE·08:35 AM
Data Sourced
via MITRE·08:35 AM
Description
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38151?

CVE-2025-38151 has a medium severity rating due to the potential for system instability.

2

How do I fix CVE-2025-38151?

To fix CVE-2025-38151, update your Linux kernel to the latest version that includes the patched commit.

3

What systems are affected by CVE-2025-38151?

CVE-2025-38151 affects the Linux Kernel, particularly when using RDMA/cma features.

4

What does CVE-2025-38151 address?

CVE-2025-38151 addresses a potential hang situation when cma_netevent_callback fails to queue work.

5

When was CVE-2025-38151 disclosed?

CVE-2025-38151 was disclosed in 2025 following the resolution of an identified crash issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203