CVE-2025-71151 json
cifs: Fix memory and information leak in smb3_reconfigure()
published 9mo ago modified 4mo ago also EUVD-2026-4391
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 3%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 6.6.120, 6.12, 6.12.64, 6.18.3, 6.19
- linux Debian 13 6.12.69-1
- linux Debian 14 6.18.3-1
debian advisories DEBIAN-CVE-2025-71151
- linux Ubuntu 24.04 LTS 6.8.0-110.110
- linux Ubuntu 25.10 6.17.0-22.22
- linux-aws Ubuntu 24.04 LTS 6.8.0-1052.55
- linux-aws Ubuntu 25.10 6.17.0-1012.12
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1054.57
- linux-gcp Ubuntu 25.10 6.17.0-1012.12
- linux-gke Ubuntu 24.04 LTS 6.8.0-1050.56
- linux-ibm Ubuntu 24.04 LTS 6.8.0-1051.51
ubuntu advisories UBUNTU-CVE-2025-71151
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 10.0 6.12.0-55.9.1.el10_0
- rv RHEL 10.0 6.12.0-55.9.1.el10_0
- perf RHEL 10.0 6.12.0-55.9.1.el10_0
- rtla RHEL 10.0 6.12.0-55.9.1.el10_0
- libperf RHEL 10.0 6.12.0-55.9.1.el10_0
- kernel-rt RHEL 10.0 6.12.0-55.9.1.el10_0
- kernel-64k RHEL 10.0 6.12.0-55.9.1.el10_0
- kernel-core RHEL 10.0 6.12.0-55.9.1.el10_0
red hat advisories RHBA-2025:6279RHSA-2025:6966
Is CVE-2025-71151 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-71151 updated cvss 5.5
kernel: cifs: Fix memory and information leak in smb3_reconfigure()
-
Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 moreaffected: no fix available
-
Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-570.12.1.el9_6, perf 5.14.0-570.12.1.el9_6, rtla 5.14.0-570.12.1.el9_6, python3-perf 5.14.0-570.12.1.el9_6, kernel-devel-matched 5.14.0-570.12.1.el9_6, kernel-64k-devel-matched 5.14.0-570.12.1.el9_6, +7 morefixed: vendor fix RHSA-2025:6966
-
Red Hat Enterprise Linux AppStream (v. 10) rv 6.12.0-55.9.1.el10_0, perf 6.12.0-55.9.1.el10_0, rtla 6.12.0-55.9.1.el10_0, python3-perf 6.12.0-55.9.1.el10_0, kernel-devel-matched 6.12.0-55.9.1.el10_0, kernel-64k-devel-matched 6.12.0-55.9.1.el10_0, +7 morefixed: vendor fix RHBA-2025:6279
-
Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-570.12.1.el9_6, kernel-64k 5.14.0-570.12.1.el9_6, kernel-core 5.14.0-570.12.1.el9_6, kernel-tools 5.14.0-570.12.1.el9_6, kernel-modules 5.14.0-570.12.1.el9_6, kernel-64k-core 5.14.0-570.12.1.el9_6, +27 morefixed: vendor fix RHSA-2025:6966
-
Red Hat Enterprise Linux BaseOS (v. 10) kernel 6.12.0-55.9.1.el10_0, kernel-64k 6.12.0-55.9.1.el10_0, kernel-core 6.12.0-55.9.1.el10_0, kernel-tools 6.12.0-55.9.1.el10_0, kernel-modules 6.12.0-55.9.1.el10_0, kernel-64k-core 6.12.0-55.9.1.el10_0, +27 morefixed: vendor fix RHBA-2025:6279
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) libperf 5.14.0-570.12.1.el9_6, kernel-debuginfo-common-s390x 5.14.0-570.12.1.el9_6, kernel-debuginfo-common-x86_64 5.14.0-570.12.1.el9_6, kernel-debuginfo-common-aarch64 5.14.0-570.12.1.el9_6, kernel-debuginfo-common-ppc64le 5.14.0-570.12.1.el9_6fixed: vendor fix RHSA-2025:6966
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) libperf 6.12.0-55.9.1.el10_0, kernel-debuginfo-common-s390x 6.12.0-55.9.1.el10_0, kernel-debuginfo-common-x86_64 6.12.0-55.9.1.el10_0, kernel-debuginfo-common-aarch64 6.12.0-55.9.1.el10_0, kernel-debuginfo-common-ppc64le 6.12.0-55.9.1.el10_0fixed: vendor fix RHBA-2025:6279
-
Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-570.12.1.el9_6, kernel-rt-64k 5.14.0-570.12.1.el9_6, kernel-rt-core 5.14.0-570.12.1.el9_6, kernel-rt-modules 5.14.0-570.12.1.el9_6, kernel-rt-64k-core 5.14.0-570.12.1.el9_6, kernel-rt-debug-core 5.14.0-570.12.1.el9_6, +14 morefixed: vendor fix RHSA-2025:6966
show 4 moreshow fewer
-
Red Hat Enterprise Linux Real Time (v. 10) kernel-rt 6.12.0-55.9.1.el10_0, kernel-rt-64k 6.12.0-55.9.1.el10_0, kernel-rt-core 6.12.0-55.9.1.el10_0, kernel-rt-modules 6.12.0-55.9.1.el10_0, kernel-rt-64k-core 6.12.0-55.9.1.el10_0, kernel-rt-debug-core 6.12.0-55.9.1.el10_0, +14 morefixed: vendor fix RHBA-2025:6279
-
Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-570.12.1.el9_6, kernel-rt-kvm 5.14.0-570.12.1.el9_6, kernel-rt-core 5.14.0-570.12.1.el9_6, kernel-rt-modules 5.14.0-570.12.1.el9_6, kernel-rt-debug-kvm 5.14.0-570.12.1.el9_6, kernel-rt-debug-core 5.14.0-570.12.1.el9_6, +6 morefixed: vendor fix RHSA-2025:6966
-
Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt 6.12.0-55.9.1.el10_0, kernel-rt-kvm 6.12.0-55.9.1.el10_0, kernel-rt-core 6.12.0-55.9.1.el10_0, kernel-rt-modules 6.12.0-55.9.1.el10_0, kernel-rt-debug-kvm 6.12.0-55.9.1.el10_0, kernel-rt-debug-core 6.12.0-55.9.1.el10_0, +6 morefixed: vendor fix RHBA-2025:6279
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.14% chance of exploitation in the next 30 days, higher than 3% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
- Technology feeds
References
Sources
- CVE List CVE-2025-71151
- NVD CVE-2025-71151
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.