CVE-2025-38087
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38087 is a use-after-free vulnerability discovered in the Linux kernel's networking scheduler component, specifically affecting the tapriodevnotifier functionality. The vulnerability was disclosed on June 30, 2025, and impacts the net/sched subsystem of the Linux kernel (NVD Database, Wiz Database).

Technical details

The vulnerability stems from taprio's tapriodevnotifier() function not being protected by an RCU read-side critical section, which can lead to a race condition with advancesched(). This creates a potential use-after-free scenario in the kernel's networking scheduler. The issue was resolved by adding rcureadlock() inside tapriodev_notifier() (Debian Tracker, Wiz Database).

Impact

The vulnerability affects various Linux kernel versions, with confirmed impacts on Debian distributions including trixie and sid versions 6.12.33-1. Earlier versions like bullseye (5.10.223-1) and bookworm (6.1.137-1) have been fixed. Ubuntu distributions 22.04, 24.04, 24.10, and 25.04 are also affected with medium severity (Ubuntu Security, Wiz Database).

Mitigation and workarounds

Fixed versions have been released for several Debian distributions: bullseye (5.10.237-1) and bookworm (6.1.140-1). The fix involves adding proper RCU read-side protection in the tapriodevnotifier function. For affected systems, updating to the patched versions is recommended (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management