Use-After-Free Vulnerability in Linux Kernel - CVE-2025-38377

linux Updated 02 Oct 2025

Summary

25/07/2025
N/A
No i
Unrated
Not published

CVE-2025-38377: In the Linux kernel, the following vulnerability has been resolved: rose: fix dangling neighbour pointers in rose_rt_device_down() There are two bugs in rose_rt_device_down() that can cause use-after-free: 1. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware management and system resources. It is known for its stability, performance, and security features. However, like any complex software, it is susceptible to vulnerabilities. CVE-2025-38377 specifically affects the Linux kernel versions in Debian distributions, where improper handling of neighbour pointers can lead to serious security issues.

Vulnerability Detail

CVE-2025-38377 is a use-after-free vulnerability found in the Linux kernel's rose_rt_device_down() function. This vulnerability arises from two bugs: first, the loop bound 't->count' is modified within the loop, potentially causing it to terminate early and miss some entries. Second, when an entry is removed from the neighbour array, subsequent entries are shifted up, but the loop index 'i' is still incremented, leading to skipped checks. This can leave dangling pointers in the array, which, when accessed, can lead to undefined behavior and security breaches.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, avoid using the affected functionality until the package is updated. Monitor your system for any unusual behavior that may indicate exploitation of this vulnerability.

Conclusion

CVE-2025-38377 is a critical vulnerability in the Linux kernel that requires immediate attention. By updating to the patched version and monitoring your systems, you can mitigate the risks associated with this vulnerability. Utilize tools like Vulert for ongoing vulnerability management.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-38377 is a use-after-free vulnerability in the Linux kernel that can lead to security risks due to improper handling of neighbour pointers.

The vulnerability affects Linux kernel versions in Debian 11, 12, and 13, with a specific fix available for Debian 13.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

Exploitation of this vulnerability can lead to undefined behavior, system crashes, or unauthorized access to system resources, posing significant security risks.

It is recommended to regularly check for updates and apply them promptly to ensure your system is protected against known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback