CVE-2025-39827
Last modified
CVE-2025-39827 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| 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 | Rc1 |
| Debian | Debian Linux | 11.0 | — |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-39827?
How severe is CVE-2025-39827?
How do I fix CVE-2025-39827?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-39821In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-39822In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39823In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-39824In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-39825In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-39826In the Linux kernel, the following vulnerability has been re…7
- CVE-2025-39828In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-39829In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3983A vulnerability has been found in AMTT Hotel Broadband Opera…7.2
- CVE-2025-39830In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39831In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-39832In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-39827?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
