CVE-2025-38112
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38112 is a vulnerability discovered in the Linux kernel affecting the network subsystem, specifically in the sk_is_readable() function. The vulnerability was disclosed on July 3, 2025, and involves a Time-of-Check to Time-of-Use (TOCTOU) issue that occurs when handling socket operations in sockmaps (NVD, CVE).

Technical details

The vulnerability stems from a race condition in the sk_is_readable() function where sk->sk_prot->sock_is_readable is a valid function pointer when sk resides in a sockmap. After the last sk_psock_put() operation, which typically occurs when a socket is removed from sockmap, sk->sk_prot gets restored and sk->sk_prot->sock_is_readable becomes NULL. This creates a race condition if the value of sk->sk_prot is reloaded after the initial check, potentially leading to a null pointer dereference (NVD).

Impact

The vulnerability can result in a null pointer dereference, which could potentially lead to system crashes or denial of service conditions in affected Linux kernel implementations (NVD).

Mitigation and workarounds

The vulnerability has been resolved in the Linux kernel through a patch that ensures the function pointer does not turn NULL after the initial check. Multiple stable kernel branches have received the fix through backported patches (NVD).

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-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 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