CVE-2025-71151: cifs: Fix memory and information leak in smb3_reconfigure()
Vulnerability summary
CVE-2025-71151 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.1% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 21 · Related 20Timeline
- 23-01-2026PublishedVulnerability first disclosed.
- 23-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.14%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.13% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu130 products
- linux< 6.8.0-110.110 | < 6.17.0-22.22
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1052.55 | < 6.17.0-1012.12
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 880a661e67648a3ffe85405e8de5f50650a3c0b2, < bc390b2737205163e48cc1655f6a0c8cd55b02fc | ≥ 0e4145774c016530bf99afb3675a1a0593c35642, < 5679cc90bb5415801fa29041da0319d9e15d295d | ≥ 0f0e357902957fba28ed31bde0d6921c6bd1485d, < bb82aaee16907dc4d0b9b0ca7953ceb3edc328c6 | ≥ 0f0e357902957fba28ed31bde0d6921c6bd1485d, < cb6d5aa9c0f10074f1ad056c3e2278ad2cc7ec8d | 674ba43944dab8e8f87434e25d9d10c5152584bc | ≥ 6.6.64, < 6.6.120 | ≥ 6.12.2, < 6.12.64 | ≥ 6.11.11, < 6.12 | 6.13
- linux_kernel≥ 6.6.64, < 6.6.120 | ≥ 6.11.11, < 6.12 | ≥ 6.12.2, < 6.12.64 | ≥ 6.13, < 6.18.3 | 6.19:rc1 | 6.19:rc2
Debian1 product
- linux< 6.12.69-1 | < 6.18.3-1
3 vendors · 133 products