Race Condition Vulnerability in Linux Kernel Affecting Refcount in ROSE Network Protocol
CVE-2025-39826

Currently unrated

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
16 September 2025

What is CVE-2025-39826?

A vulnerability exists in the Linux kernel's ROSE protocol implementation that can lead to race conditions. The misuse of the 'use' field in the struct rose_neigh—designed as a reference counter—creates a situation where the structure may be deallocated while still being in use by other code paths. This mismanagement can result in use-after-free scenarios, particularly during ioctl operations where the reference count unexpectedly drops to zero. The vulnerability has been addressed by enhancing the atomicity of the reference count, converting the 'use' field from an unsigned short to a refcount_t type, and implementing safer reference management functions.

Affected Version(s)

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 0085b250fcc79f900c82a69980ec2f3e1871823b

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-39826 : Race Condition Vulnerability in Linux Kernel Affecting Refcount in ROSE Network Protocol