CVE-2025-71151
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-71151, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-01-23

Last updated on: 2026-02-26

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: Fix memory and information leak in smb3_reconfigure() In smb3_reconfigure(), if smb3_sync_session_ctx_passwords() fails, the function returns immediately without freeing and erasing the newly allocated new_password and new_password2. This causes both a memory leak and a potential information leak. Fix this by calling kfree_sensitive() on both password buffers before returning in this error case.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-01-23
Last Modified
2026-02-26
Generated
2026-07-06
AI Q&A
2026-01-23
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 6.11.11 (inc) to 6.12 (exc)
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel From 6.13 (inc) to 6.18.3 (exc)
linux linux_kernel From 6.12.2 (inc) to 6.12.64 (exc)
linux linux_kernel From 6.6.64 (inc) to 6.6.120 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability occurs in the Linux kernel's CIFS implementation, specifically in the smb3_reconfigure() function. If the function smb3_sync_session_ctx_passwords() fails, the code returns immediately without freeing and erasing two newly allocated password buffers (new_password and new_password2). This leads to a memory leak and a potential information leak because sensitive password data remains in memory instead of being securely erased.

Impact Analysis

The vulnerability can cause a memory leak and potentially expose sensitive password information in memory. This could allow an attacker with access to the system memory to retrieve passwords that should have been securely erased, leading to unauthorized access or compromise of credentials.

Mitigation Strategies

Apply the patch that fixes the smb3_reconfigure() function in the Linux kernel to ensure that kfree_sensitive() is called on password buffers when smb3_sync_session_ctx_passwords() fails, preventing memory and information leaks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-71151. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart