Critical Use-After-Free Vulnerability in Linux Kernel - CVE-2025-38022

linux Updated 02 Oct 2025

Summary

18/06/2025
N/A
No i
Unrated
Not published

CVE-2025-38022: In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Fix "KASAN: slab-use-after-free Read in ib_register_device" problem Call Trace: dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware management and system processes. It is widely used in various environments, from servers to embedded systems. The kernel's stability and security are paramount, as vulnerabilities can lead to severe system compromises. CVE-2025-38022 highlights a critical issue within the RDMA/core subsystem, which is responsible for remote direct memory access, allowing for efficient data transfer between computers.

Vulnerability Detail

CVE-2025-38022 is a use-after-free vulnerability found in the Linux kernel's RDMA/core subsystem. This vulnerability arises from improper locking mechanisms when renaming devices, leading to potential exploitation by attackers. The root cause is that the function ib_device_rename() modifies device names while another function, kobject_uevent(), accesses these names without proper lock protection. This flaw can result in unauthorized access to sensitive data or system crashes, posing a significant risk to system integrity.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.

Conclusion

CVE-2025-38022 represents a significant security risk within the Linux kernel's RDMA/core subsystem. Users are urged to update their systems promptly to the patched version to mitigate potential threats. Regular monitoring and updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38022 is a use-after-free vulnerability in the Linux kernel's RDMA/core subsystem that can lead to unauthorized access and system instability.

You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading a manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.

Exploitation of this vulnerability can lead to unauthorized access to sensitive data, system crashes, or other malicious activities that compromise system integrity.

Yes, a patch is available for Debian 13 in version 6.12.30-1. Users should update their kernel to this version to mitigate the risk.

It is recommended to check for updates regularly, at least once a week, to ensure your system is protected against known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback