IM
IronMonkey Threat Research

CVE-2025-39826 HIGH

Published: 2025-09-16 | Last Modified: 2026-07-14 | Status: Modified

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.

CVSS Metrics

Base Score: 7.0 (HIGH)

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack VectorLOCAL
Attack ComplexityHIGH
Privileges RequiredLOW
User InteractionNONE
ScopeUNCHANGED
Confidentiality ImpactHIGH
Integrity ImpactHIGH
Availability ImpactHIGH

Source: [email protected]

Type: Primary

Exploitability Score: 1.0

Impact Score: 5.9

Weaknesses

Source Type Description
[email protected] Primary
en CWE-416

Affected Products

Vendor Product Version Update Type
linux linux_kernel * <built-in method update of dict object at 0x702bc462c480> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702b703b9900> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702bde7ad1c0> Operating System
linux linux_kernel * <built-in method update of dict object at 0x702bde7acc40> Operating System
linux linux_kernel 2.6.12 <built-in method update of dict object at 0x702bc462d980> Operating System
linux linux_kernel 2.6.12 <built-in method update of dict object at 0x702bc462ca40> Operating System
linux linux_kernel 2.6.12 <built-in method update of dict object at 0x702b703b9880> Operating System
linux linux_kernel 2.6.12 <built-in method update of dict object at 0x702bde7af040> Operating System
linux linux_kernel 2.6.12 <built-in method update of dict object at 0x702bc462f5c0> Operating System
linux linux_kernel 6.17 <built-in method update of dict object at 0x702bc462f3c0> Operating System
linux linux_kernel 6.17 <built-in method update of dict object at 0x702bde7ace00> Operating System
linux linux_kernel 6.17 <built-in method update of dict object at 0x702bde7adb40> Operating System
debian debian_linux 11.0 <built-in method update of dict object at 0x702bde7af980> Operating System

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.12:rc2:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.12:rc3:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.12:rc4:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:2.6.12:rc5:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

References

Notification
Message here