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

7.8 · HIGH
Published Jun 18, 2025 debian CWE-416 EPSS 0.18% (7th pctl)

Overview

CVE-2025-38051 is a high-severity vulnerability affecting debian debian_linux. It was published on June 18, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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:

smb: client: Fix use-after-free in cifs_fill_dirent

There is a race condition in the readdir concurrency process, which may

access the rsp buffer after it has been released, triggering the

following KASAN warning.

==================================================================

BUG: KASAN: slab-use-after-free in cifs_fill_dirent+0xb03/0xb60 [cifs]

Read of size 4 at addr ffff8880099b819c by task a.out/342975

CPU: 2 UID: 0 PID: 342975 Comm: a.out Not tainted 6.15.0-rc6+ #240 PREEMPT(full)

Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.1-2.fc37 04/01/2014

Call Trace:

<TASK>

dump_stack_lvl+0x53/0x70

print_report+0xce/0x640

kasan_report+0xb8/0xf0

cifs_fill_dirent+0xb03/0xb60 [cifs]

cifs_readdir+0x12cb/0x3190 [cifs]

iterate_dir+0x1a1/0x520

__x64_sys_getdents+0x134/0x220

do_syscall_64+0x4b/0x110

entry_SYSCALL_64_after_hwframe+0x76/0x7e

RIP: 0033:0x7f996f64b9f9

Code: ff c3 66

Remediation

Check the references section for vendor advisories and patches from debian. Update debian_linux 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.27.4, < 5.4.294 Affected

Frequently Asked Questions

What is CVE-2025-38051?

CVE-2025-38051 is a high-severity vulnerability affecting debian debian_linux. It was published on June 18, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-38051?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. 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-38051?

Check the references section for vendor advisories and patches from debian. Update debian_linux 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-38051?

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