Bug 2432362 (CVE-2025-71151) - CVE-2025-71151 kernel: cifs: Fix memory and information leak in smb3_reconfigure()
Summary: CVE-2025-71151 kernel: cifs: Fix memory and information leak in smb3_reconfig...
Keywords:
Status: NEW
Alias: CVE-2025-71151
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-23 15:02 UTC by OSIDB Bzimport
Modified: 2026-01-23 18:17 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-23 15:02:24 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.