CVE-2025-39827 Details
Description
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 in struct rose_neigh tracks references from rose_node structures, while the 'use' field (now refcount_t) tracks references from rose_sock. This patch merges these two reference counting systems using 'use' field for proper reference management. Specifically, this patch adds incrementing and decrementing of rose_neigh->use when rose_neigh->count is incremented or decremented. This patch also modifies rose_rt_free(), rose_rt_device_down() and rose_clear_route() to properly release references to rose_neigh objects before freeing a rose_node through rose_remove_node(). These changes ensure rose_neigh structures are properly freed only when all references, including those from rose_node structures, are released. As a result, this resolves a slab-use-after-free issue reported by Syzbot.
A use-after-free vulnerability has been addressed in the Linux kernel's handling of the ROSE (Radio Operating Service) protocol. This issue arose from improper reference counting in the 'rose_neigh' structure, which manages neighbor nodes. The vulnerability was caused by two separate reference counting mechanisms: the 'count' field tracked references from 'rose_node' structures, while the 'use' field (now refcount_t) managed references from 'rose_sock'. The vulnerability allowed for a slab-use-after-free condition, where memory could be freed while still in use, potentially leading to arbitrary code execution or memory corruption.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. Instructions for downloading the updated kernel can be found on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-019113.html | siemens-SADP | |
| https://cert-portal.siemens.com/productcert/html/ssa-032379.html | siemens-SADP | |
| https://cert-portal.siemens.com/productcert/html/ssa-457936.html | siemens-SADP | |
| https://git.kernel.org/stable/c/384210cceb1873a4c8218b27ba0745444436b728 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4cce478c3e82a5fc788d72adb2f4c4e983997639 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9c547c8eee9d1cf6e744611d688b9f725cf9a115 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d7563b456ed44151e1a82091d96f60166daea89b | kernel.org | Patch |
| https://git.kernel.org/stable/c/da9c9c877597170b929a6121a68dcd3dd9a80f45 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.12.1, < 6.1.150 >= 6.2, < 6.6.104 >= 6.7, < 6.12.45 >= 6.13, < 6.16.5 2.6.12 - 2.6.12 rc2 2.6.12 rc3 2.6.12 rc4 2.6.12 rc5 6.17 rc1 6.17 rc2 6.17 rc3 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
13 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 10, 2026 | CVE Modified | siemens-SADP |
| Oct 19, 2026 | CVE Translated | [email protected] |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CVE |
| Oct 15, 2026 | CVE Modified | siemens-SADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jul 14, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Jan 16, 2026 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Sep 16, 2025 | New CVE Received | kernel.org |