CVE-2025-39826 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net: rose: convert 'use' field to refcount_t The 'use' field in struct rose_neigh is used as a reference counter but lacks atomicity. This can lead to race conditions where a rose_neigh structure is freed while still being referenced by other code paths. For example, when rose_neigh->use becomes zero during an ioctl operation via rose_rt_ioctl(), the structure may be removed while its timer is still active, potentially causing use-after-free issues. This patch changes the type of 'use' from unsigned short to refcount_t and updates all code paths to use rose_neigh_hold() and rose_neigh_put() which operate reference counts atomically.
A vulnerability exists in the Linux kernel's handling of the ROSE protocol's neighbor structure, specifically in the reference counting mechanism. The 'use' field, intended as a reference counter, lacks atomicity, leading to potential race conditions. This issue can cause a 'rose_neigh' structure to be freed while still in use by other code paths, creating a use-after-free vulnerability. The problem is particularly evident when the 'use' counter reaches zero during an ioctl operation, allowing the structure to be removed while its timer is still active.
The vulnerability has been addressed by changing the 'use' field to use atomic reference counting, ensuring that the reference count is managed safely across different code paths. Users should upgrade to the latest version of the Linux kernel where this patch has been applied.
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/0085b250fcc79f900c82a69980ec2f3e1871823b | kernel.org | Patch |
| https://git.kernel.org/stable/c/203e4f42596ede31498744018716a3db6dbb7f51 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d860d1faa6b2ce3becfdb8b0c2b048ad31800061 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f8c29fc437d03a98fb075c31c5be761cc8326284 | kernel.org | Patch |
| https://git.kernel.org/stable/c/fb07156cc0742ba4e93dfcc84280c011d05b301f | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [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 | siemens-SADP |
| Oct 15, 2026 | CVE Modified | CVE |
| Oct 15, 2026 | CVE Modified | kernel.org |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jul 14, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| 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 |