CVE-2024-57935

RDMA/hns: Fix accessing invalid dip_ctx during destroying QP

MEDIUM
5.5
CVSS Score
Published: January 21, 2025 at 12:01 PM UTC
Updated: June 17, 2026 at 08:14 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix accessing invalid dip_ctx during destroying QP If it fails to modify QP to RTR, dip_ctx will not be attached. And during detroying QP, the invalid dip_ctx pointer will be accessed.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.11.116.11.11 ≤ v < 6.126.12.2 ≤ v < 6.12.96.11.116.12.26.13 rc16.13 rc26.13 rc36.13 rc46.13 rc584707ec6f651df98a141cad59f726d30e6f15574f48084857b9e3d73c1d290307b5a11f61e6f666afaa62440a5772b40bb7d78bf9e29556a82ecf153
Vendor states this is fixed in 0572eccf239ce4bd89bd531767ec5ab20e249290 (fixed)
Vendor states this is fixed in a448c775f0aec6cfbee4bda561447c707153504a (fixed)
Affected range stops below 6.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.12.9, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0572eccf239ce4bd89bd531767ec5ab20e249290
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a448c775f0aec6cfbee4bda561447c707153504a

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card