CVE-2025-71151

cifs: Fix memory and information leak in smb3_reconfigure()

MEDIUM
5.5
CVSS Score
Published: January 23, 2026 at 02:15 PM UTC
Updated: June 17, 2026 at 10:03 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.11.116.11.11 ≤ v < 6.126.12.2 ≤ v < 6.12.646.13 ≤ v < 6.18.36.13 ≤ v < 6.196.6.64 ≤ v < 6.6.1200e4145774c016530bf99afb3675a1a0593c356420f0e357902957fba28ed31bde0d6921c6bd1485d6.11.116.12.26.136.19 rc16.19 rc26.6.64674ba43944dab8e8f87434e25d9d10c5152584bc880a661e67648a3ffe85405e8de5f50650a3c0b2
Vendor states this is fixed in 5679cc90bb5415801fa29041da0319d9e15d295d (fixed)
Vendor states this is fixed in bb82aaee16907dc4d0b9b0ca7953ceb3edc328c6 (fixed)
Vendor states this is fixed in bc390b2737205163e48cc1655f6a0c8cd55b02fc (fixed)
Vendor states this is fixed in cb6d5aa9c0f10074f1ad056c3e2278ad2cc7ec8d (fixed)
Affected range stops below 6.12, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.12.64 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.18.3 (unaffected)
Vendor states this is fixed in 6.19 (unaffected)
Vendor states this is fixed in 6.6.120 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card