CVE-2025-38476
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38476 is a use-after-free vulnerability discovered in the Linux kernel's RPL (IPv6 Routing Protocol for Low-Power and Lossy Networks) implementation. The vulnerability was disclosed on July 28, 2025, affecting the rpl_do_srh_inline() function in the Linux kernel's network stack (NVD).

Technical details

The vulnerability occurs in the rpl_do_srh_inline() function where it fetches ipv6_hdr(skb) and incorrectly accesses it after skb_cow_head(), which can lead to a use-after-free condition. This issue was discovered during testing when running lwt_dst_cache_ref_loop.sh in selftest with KASAN enabled (Debian Tracker).

Impact

The vulnerability affects multiple Linux kernel versions including Debian distributions: bullseye (5.10.223-1 to 5.10.237-1), bookworm (6.1.137-1 to 6.1.140-1), and trixie (6.12.31-1 to 6.12.38-1). When exploited, this use-after-free vulnerability could potentially lead to system crashes or memory corruption (Debian Tracker).

Mitigation and workarounds

The fix involves modifying the oldhdr variable to be a local struct instead of a pointer, preventing the use-after-free condition. This solution has been implemented in the kernel patch (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-fips
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-fips
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-oracle-6.8
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-6.8
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel-devel
NoYesJan 05, 2026

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