CVE-2025-71151
Last modified
CVE-2025-71151 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.11% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.6.64, < 6.6.120 | — |
| Linux | Linux Kernel | >= 6.11.11, < 6.12 | — |
| Linux | Linux Kernel | >= 6.12.2, < 6.12.64 | — |
| Linux | Linux Kernel | >= 6.13, < 6.18.3 | — |
| Linux | Linux Kernel | 6.19 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-71151?
How severe is CVE-2025-71151?
How do I fix CVE-2025-71151?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-71146In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71147In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71148In the Linux kernel, the following vulnerability has been re…3.3
- CVE-2025-71149Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-7115A vulnerability was found in rowboatlabs rowboat up to 8096e…7.3
- CVE-2025-71150In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71152In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-71153In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71154In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71155In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-71156In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-71157In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2025-71151?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
