CVE Database›Document archive›CVE-2025-38051

CVE-2025-38051

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

Loading…

Severity

Moderate

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · June 18, 2025

Updated · July 30, 2026

Description

A use-after-free flaw was found in cifs_fill_dirent in fs/cifs/readdir.c in smb client in the Linux Kernel. This flaw could allow an attacker to crash the system due to race problem. This vulnerability could even lead to a kernel information leak problem.

Statement

This Moderate impact flaw in the Linux kernel's SMB client (CIFS) can lead to a system crash or information disclosure due to a race problem, leading to a use-after-free vulnerability during directory operations. Red Hat Enterprise Linux 8, 9, and 10 are affected when utilizing the CIFS client functionality.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-825 · Expired Pointer Dereference