VDB

CVE-2025-71151

CVE-2025-71151 PUBLISHED

cifs: Fix memory and information leak in smb3_reconfigure()

Reported by linux · Published January 23, 2026

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 0.14% · 3.1th percentile

Risk scores

EPSS Score
0.14%
3.1th percentile

Affected products

VendorProductVersions
LinuxLinux880a661e67648a3ffe85405e8de5f50650a3c0b2, 0e4145774c016530bf99afb3675a1a0593c35642, 0f0e357902957fba28ed31bde0d6921c6bd1485d
LinuxLinux6.13, 0, 6.6.120
linuxlinux_kernel6.6.64, 6.11.11, 6.13
amazon:2023perf6.120
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-headers0
amazon:2023bpftool6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra0
LinuxLinux6.11.11, 6.13, 6.6.64
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.12.64-87.1220
amazon:2023kernel6.12-libbpf-static0

Timeline

  • Jan 23, 2026 CVE Published
  • Jan 24, 2026 EPSS Score (30 in total, the first dated here)
  • Feb 2, 2026 Security Advisory (128 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (125 in total, the first dated here)
  • Sep 27, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-71151
vulnetix vdb fixes CVE-2025-71151

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-71151/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›