CVE-2025-38192
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel was discovered related to NAT46 BPF program handling, identified as CVE-2025-38192. The issue was disclosed on July 4, 2025, affecting the Linux kernel's network stack. The vulnerability occurs when a NAT46 BPF program indiscriminately flips ingress packets from IPv4 to IPv6, potentially leading to a kernel crash due to NULL pointer dereference (NVD CVE, Debian Tracker).

Technical details

The vulnerability manifests when a NAT46 BPF program changes ingress packets from IPv4 to IPv6 without proper validation. The issue occurs in the network stack where the output interface has a 4->6 program attached at ingress. When attempting to loop the multicast skb back to the sending socket, the ingress BPF runs as part of netifrx(), pushes a valid v6 header and changes skb->protocol to v6. The problem arises when ip6rcvcore tries to use skbdst(), but the dst is still an IPv4 one left after IPv4 multicast output, resulting in a NULL pointer dereference (CVE Details).

Impact

The vulnerability can cause a kernel crash through NULL pointer dereference when processing network packets, potentially leading to system instability and denial of service. This affects systems running the Linux kernel with NAT46 BPF programs configured (NVD CVE).

Mitigation and workarounds

The fix involves clearing the dst in all BPF helpers which change the protocol while preserving metadata dsts that may carry non-routing metadata. The vulnerability has been resolved in various Linux distributions, with fixed versions available. For Debian, the fix is included in version 6.12.35-1 and later (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-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-5.15
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-raspi
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 24, 2025

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