CVEvulnerability
CVE-2025-39826
7.0 HIGH
Official page ↗
- Status
- Modified
- Published
- 2025-09-16
- Last modified
- 2026-10-19
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 8.8 HIGH — CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.0 HIGH — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416
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.
Affected configurations
• linux linux kernel (>= 2.6.12.1 < 6.1.150)
• linux linux kernel (>= 6.2 < 6.6.104)
• linux linux kernel (>= 6.7 < 6.12.45)
• linux linux kernel (>= 6.13 < 6.16.5)
• linux linux kernel 2.6.12
• linux linux kernel 6.17
• debian debian linux 11.0
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://git.kernel.org/stable/c/0085b250fcc79f900c82a69980ec2f3e1871823b Patch
- https://git.kernel.org/stable/c/203e4f42596ede31498744018716a3db6dbb7f51 Patch
- https://git.kernel.org/stable/c/d860d1faa6b2ce3becfdb8b0c2b048ad31800061 Patch
- https://git.kernel.org/stable/c/f8c29fc437d03a98fb075c31c5be761cc8326284 Patch
- https://git.kernel.org/stable/c/fb07156cc0742ba4e93dfcc84280c011d05b301f Patch
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html Mailing List, Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com