Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-38112

4.7 · MEDIUM
Published Jul 3, 2025 linux CWE-367 EPSS 0.12% (2th pctl)

Overview

CVE-2025-38112 is a medium-severity vulnerability affecting linux linux_kernel. It was published on July 3, 2025 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

net: Fix TOCTOU issue in sk_is_readable()

sk->sk_prot->sock_is_readable is a valid function pointer when sk resides

in a sockmap. After the last sk_psock_put() (which usually happens when

socket is removed from sockmap), sk->sk_prot gets restored and

sk->sk_prot->sock_is_readable becomes NULL.

This makes sk_is_readable() racy, if the value of sk->sk_prot is reloaded

after the initial check. Which in turn may lead to a null pointer

dereference.

Ensure the function pointer does not turn NULL after the check.

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 4.17, < 5.10.239 Affected

Frequently Asked Questions

What is CVE-2025-38112?

CVE-2025-38112 is a medium-severity vulnerability affecting linux linux_kernel. It was published on July 3, 2025 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2025-38112?

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-38112?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-38112?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-38112 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.