Use-After-Free Vulnerability in Linux Kernel IPCS Lookups

linux Updated 02 Oct 2025

Summary

04/07/2025
N/A
No i
Unrated
Not published

CVE-2025-38212: In the Linux kernel, the following vulnerability has been resolved: ipc: fix to protect IPCS lookups using RCU syzbot reported that it discovered a use-after-free vulnerability, [0] [0]: https://lore.kernel.org/all/67af1... 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It is known for its stability, performance, and extensive support for various hardware architectures. However, like any complex software, it is susceptible to vulnerabilities. This specific issue affects the IPCS (Inter-Process Communication System) lookups, which are crucial for managing shared memory and other IPC mechanisms.

Vulnerability Detail

In the Linux kernel, a use-after-free vulnerability was discovered in the IPCS lookups. This issue arises when the idr_for_each() function, which is responsible for iterating over IDR (ID Radix) structures, is not adequately protected by an RCU (Read-Copy-Update) read-critical region. When idr_for_each() calls radix_tree_node_free() through call_rcu() to free a radix_tree_node structure, the node can be freed immediately. If the next node is read in radix_tree_for_each_slot() after this, it may access already freed memory, leading to potential crashes or exploitation.

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. It is advisable to apply the patch as soon as it becomes available to mitigate risks.

Conclusion

The use-after-free vulnerability in the Linux kernel's IPCS lookups poses significant risks to system stability and security. Users are urged to update their Linux packages to the latest versions to mitigate these risks. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a memory location after it has been freed, potentially leading to crashes or arbitrary code execution.

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

Exploitation of this vulnerability could lead to system crashes, data corruption, or unauthorized access to sensitive information.

Yes, the vulnerability affects multiple versions of the Linux package across Debian 11, 12, and 13.

It is recommended to regularly check for updates and apply them promptly 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