CVE-2025-39975
Description
A flaw was found in the Linux kernel's Server Message Block (SMB) client. When processing compound command responses from a remote server, incorrect indexing during buffer processing can lead to an out-of-bounds memory access. A malicious or compromised SMB server could exploit this flaw by returning crafted responses to a client, resulting in kernel memory corruption or a denial of service (system crash).
Statement
This vulnerability is rated as Moderate severity because exploitation requires an active SMB client connection processing compound responses, limiting exposure to systems configured to mount remote CIFS shares. In standard Red Hat Enterprise Linux installations, the kernel SMB client module is loaded on demand when mounting network shares and is not active by default. Exploitation depends on interacting with a malicious or compromised SMB server, where malformed compound responses can cause kernel memory corruption or a denial-of-service crash.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.8 | N/A | 9.8 |
| Attack Vector | Local | N/A | Network |
| Attack Complexity | High | N/A | Low |
| Privileges Required | Low | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | Low | N/A | High |
| Integrity Impact | Low | N/A | High |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Understanding the Weakness (CWE)
Other
Technical Impact: Varies by Context
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.