CVE-2025-71151

cifs: Fix memory and information leak in smb3_reconfigure()

published January 23, 2026

CVSS
—
EPSS
0%
Percentile
2.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00137 · 2.8th percentile
Published
2026-01-23T14:15Z
EPSS history
Timeline
  • 23 JAN 14:15Z
    cifs: Fix memory and information leak in smb3_reconfigure()
    cvelistv5