CVE-2024-38545: RDMA/hns: Fix UAF for cq async event

Published Jun 19, 2024
·
Updated

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

RDMA/hns: Fix UAF for cq async event

The refcount of CQ is not protected by locks. When CQ asynchronous events and CQ destruction are concurrent, CQ may have been released, which will cause UAF.

Use the xalock() to protect the CQ refcount.

Affected Software

10 affected componentsFixes available
Linux Linux kernel>=4.9<6.1.93
Linux Linux kernel>=6.2<6.6.33
Linux Linux kernel>=6.7<6.8.12
Linux Linux kernel>=6.9<6.9.3
Linux Linux kernel>=4.9<5.15.168
Linux Linux kernel>=5.16<6.1.93
debian/linux<6.1.94-1
6.1.94-1
debian/linux<6.8.12-1
6.8.12-1
debian/linux<6.8.12-1
6.8.12-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1

Event History

Jun 19, 2024
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-38545?

CVE-2024-38545 has been classified with a medium severity due to the potential for user-after-free (UAF) vulnerabilities.

2

How do I fix CVE-2024-38545?

To address CVE-2024-38545, update your Linux kernel to versions 6.1.123-1, 6.1.119-1, 6.12.10-1, or 6.12.11-1.

3

What does CVE-2024-38545 impact?

CVE-2024-38545 affects the Linux kernel, specifically involving RDMA/hns and concurrent CQ asynchronous events.

4

Is there a workaround for CVE-2024-38545?

There are no recommended workarounds for CVE-2024-38545 beyond applying the available patches.

5

When was CVE-2024-38545 disclosed?

CVE-2024-38545 was disclosed in the year 2024, highlighting a significant vulnerability in the Linux kernel.

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