CVE-2025-71151
MEDIUMLinux Kernel < 6.6.120, 6.7.0-6.12.64, 6.13.0-6.18.3 - Use-After-Free in SMB3 Session Context Reconfiguration
Title source: llmDescription
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.
References (4)
Core 4
Core References
Scores
CVSS v3
5.5
EPSS
0.0011
EPSS Percentile
1.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-401
Status
published
Products (19)
linux/Kernel
< 6.6.120linux
linux/Kernel
6.13.0 - 6.18.3linux
linux/Kernel
6.7.0 - 6.12.64linux
Linux/Linux
< 6.13
Linux/Linux
0e4145774c016530bf99afb3675a1a0593c35642 - 5679cc90bb5415801fa29041da0319d9e15d295d
Linux/Linux
0f0e357902957fba28ed31bde0d6921c6bd1485d - bb82aaee16907dc4d0b9b0ca7953ceb3edc328c6
Linux/Linux
0f0e357902957fba28ed31bde0d6921c6bd1485d - cb6d5aa9c0f10074f1ad056c3e2278ad2cc7ec8d
Linux/Linux
6.11.11 - 6.12
Linux/Linux
6.12.2 - 6.12.64
Linux/Linux
6.12.64 - 6.12.*
... and 9 more
Published
Jan 23, 2026
Tracked Since
Feb 18, 2026