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

5.5 · MEDIUM
Published Jul 4, 2025 linux CWE-401 EPSS 0.16% (6th pctl)

Overview

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

This vulnerability has a CVSS 3.1 base score of 5.5, 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:

atm: atmtcp: Free invalid length skb in atmtcp_c_send().

syzbot reported the splat below. [0]

vcc_sendmsg() copies data passed from userspace to skb and passes

it to vcc->dev->ops->send().

atmtcp_c_send() accesses skb->data as struct atmtcp_hdr after

checking if skb->len is 0, but it's not enough.

Also, when skb->len == 0, skb and sk (vcc) were leaked because

dev_kfree_skb() is not called and sk_wmem_alloc adjustment is missing

to revert atm_account_tx() in vcc_sendmsg(), which is expected

to be done in atm_pop_raw().

Let's properly free skb with an invalid length in atmtcp_c_send().

[0]:

BUG: KMSAN: uninit-value in atmtcp_c_send+0x255/0xed0 drivers/atm/atmtcp.c:294

atmtcp_c_send+0x255/0xed0 drivers/atm/atmtcp.c:294

vcc_sendmsg+0xd7c/0xff0 net/atm/common.c:644

sock_sendmsg_nosec net/socket.c:712 [inline]

__sock_sendmsg+0x330/0x3d0 net/socket.c:727

____sys_sendmsg+0x7e0/0xd80 net/socket.c:2566

___sys_sendms

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 >= 2.6.13, < 5.4.295 Affected

Frequently Asked Questions

What is CVE-2025-38185?

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

How severe is CVE-2025-38185?

This vulnerability has a CVSS 3.1 base score of 5.5, 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-38185?

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

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