Slab Use-After-Free Vulnerability in Linux Kernel - CVE-2025-39827
Summary
CVE-2025-39827: In the Linux kernel, the following vulnerability has been resolved: net: rose: include node references in rose_neigh refcount Current implementation maintains two separate reference counting mechanisms: the 'count' field... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. The kernel is modular, allowing for various functionalities to be added or removed as needed. This vulnerability affects the 'rose' networking subsystem, which is responsible for handling certain types of network protocols. The issue arises from improper reference counting, leading to potential memory management issues.
Vulnerability Detail
CVE-2025-39827 is a vulnerability in the Linux kernel's rose networking subsystem. It stems from the maintenance of two separate reference counting mechanisms for the 'rose_neigh' structures. The 'count' field tracks references from 'rose_node' structures, while the 'use' field tracks references from 'rose_sock'. This separation can lead to a slab-use-after-free condition, where memory is accessed after it has been freed, potentially allowing an attacker to exploit this flaw for arbitrary code execution or system crashes.
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 recommended to apply the patch as soon as it becomes available to mitigate any risks.
Conclusion
CVE-2025-39827 is a critical vulnerability in the Linux kernel that affects the rose networking subsystem. Proper reference counting is essential to prevent memory management issues that could lead to severe system vulnerabilities. It is important to apply the necessary patches promptly to safeguard your system.
See every vulnerability recorded for linux →
FAQ
CVE-2025-39827 is a vulnerability in the Linux kernel's rose networking subsystem that can lead to a slab-use-after-free condition.
This vulnerability can potentially allow attackers to execute arbitrary code or crash the system due to improper memory management.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.
While there are no specific workarounds, it is crucial to monitor for updates and apply them as soon as possible to mitigate risks.
More information can be found in the official CVE database or through security advisories related to the Linux kernel.
Related vulnerabilities
Recent vulnerabilities recorded for linux.