CVE-2025-71151
MediumIn 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 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness type
CWE-401CVE-2025-71151 is a Memory Leak vulnerability
What is Memory Leak?
The product does not release memory after use, causing gradual resource exhaustion. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.6.64,
6.12.2,
6.11.11,
6.13
and later are affected. Fixed in
6.6.120,
6.12.64,
6.18.3,
6.19
and their respective stable series.
References
The following references provide additional information about CVE-2025-71151 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5679cc90bb5415801fa29041da0319d9e15d295d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/bb82aaee16907dc4d0b9b0ca7953ceb3edc328c6
-
PatchKernel patch commithttps://git.kernel.org/stable/c/bc390b2737205163e48cc1655f6a0c8cd55b02fc
Frequently asked questions
-
What is CVE-2025-71151?
CVE-2025-71151 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Memory Leak flaw (CWE-401) . It affects Linux kernel versions from 6.6.64 onward and has been patched in 6.6.120, 6.12.64, 6.18.3 and others. CVE-2025-71151 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-71151?
CVE-2025-71151 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. -
Is there a patch available for CVE-2025-71151?
Yes — CVE-2025-71151 has been patched. Fixed versions include 6.6.120, 6.12.64, 6.18.3 and others. If you are running Linux kernel 6.6.64 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-71151 actively exploited?
No — CVE-2025-71151 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Memory Leak (CWE-401)?
The product does not release memory after use, causing gradual resource exhaustion. View CWE-401 on MITRE CWE →