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-38181

7.5 · HIGH
Published Jul 4, 2025 linux CWE-476 EPSS 0.47% (39th pctl)

Overview

CVE-2025-38181 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 4, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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

calipso: Fix null-ptr-deref in calipso_req_{set,del}attr().

syzkaller reported a null-ptr-deref in sock_omalloc() while allocating

a CALIPSO option. [0]

The NULL is of struct sock, which was fetched by sk_to_full_sk() in

calipso_req_setattr().

Since commit a1a5344ddbe8 ("tcp: avoid two atomic ops for syncookies"),

reqsk->rsk_listener could be NULL when SYN Cookie is returned to its

client, as hinted by the leading SYN Cookie log.

Here are 3 options to fix the bug:

1) Return 0 in calipso_req_setattr()

2) Return an error in calipso_req_setattr()

3) Alaways set rsk_listener

1) is no go as it bypasses LSM, but 2) effectively disables SYN Cookie

for CALIPSO. 3) is also no go as there have been many efforts to reduce

atomic ops and make TCP robust against DDoS. See also commit 3b24d854cb35

("tcp/dccp: do not touch listener sk_refcnt under synflood").

As of the blamed commit, SYN Cookie already did not need r

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.8, < 5.4.295 Affected

Frequently Asked Questions

What is CVE-2025-38181?

CVE-2025-38181 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 4, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2025-38181?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

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-38181?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-38181 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.