CVE-2025-38582
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38582 is a vulnerability discovered in the Linux kernel affecting the RDMA/hns component. The vulnerability was disclosed on August 19, 2025, and involves a double destruction issue of rsv_qp in the error flow handling (NVD, Debian Tracker).

Technical details

The vulnerability occurs when rsv_qp is double destroyed in the error flow, first in free_mr_init(), and then in hns_roce_exit(). This leads to a list_del corruption where ffff589732eb9b50->next contains LIST_POISON1 (dead000000000100). The issue manifests in the RDMA/hns driver component of the Linux kernel (NVD).

Impact

The vulnerability affects multiple versions of the Linux kernel, including bullseye, bookworm, trixie, and sid distributions. Some versions like bullseye 5.10.223-1 and 5.10.237-1 have been fixed, while others remain vulnerable (Debian Tracker).

Mitigation and workarounds

The issue has been resolved by moving the free_mr_init() call into hns_roce_v2_init(). Several Linux distributions have released patches to address this vulnerability. For example, bullseye has been fixed in versions 5.10.223-1 and 5.10.237-1 (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management