CVE-2026-68130 json
ksmbd: defer destroy_previous_session() until after NTLM authentication
published 2026-08-10 2 mo ago modified 2026-08-23 2 mo ago also EUVD-2026-55511
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: defer destroy_previous_session() until after NTLM authentication
In ntlm_authenticate(), destroy_previous_session() is called using a user pointer resolved from the client-supplied NTLM blob username field before the NTLMv2 response is validated. An authenticated attacker can set the NTLM blob username to match a victim account and set PreviousSessionId to the victim's session ID; destroy_previous_session() destroys the victim's session while ksmbd_decode_ntlmssp_auth_blob() subsequently rejects the request with -EPERM.
Move destroy_previous_session() and the prev_id assignment to after ksmbd_decode_ntlmssp_auth_blob() returns success and use sess->user rather than the pre-authentication lookup result. This matches the ordering already used by krb5_authenticate(), where destroy_previous_session() is called only after ksmbd_krb5_authenticate() returns success.
Patch / fix
- Linux Linux 5.15.217, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6, 7.2
- linux Debian 12 6.1.187-1
- linux Debian 13 6.12.101-1
- linux Debian 14 7.1.6-1
- linux-6.12 Debian 12 6.12.101-1~deb12u1
debian advisories DEBIAN-CVE-2026-68130
- linux Ubuntu 22.04 LTS 5.15.0-202.212
- linux Ubuntu 24.04 LTS 6.8.0-147.147
- linux Ubuntu 26.04 LTS 7.0.0-38.38
- linux-aws Ubuntu 22.04 LTS 5.15.0-1119.126
- linux-aws Ubuntu 24.04 LTS 6.8.0-1067.70
- linux-aws Ubuntu 26.04 LTS 7.0.0-1014.14
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1120.130
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1071.79
ubuntu advisories UBUNTU-CVE-2026-68130
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
- git.kernel.org/stable/c/ab0230257ebdf48b07eaa679a8c92bc842fe3498 commit
- git.kernel.org/stable/c/370b0ec8822b69c9073265e16b7daaa8201c9a4f commit
- git.kernel.org/stable/c/5c833074b549e5db125436a6f681af682261f785 commit
- git.kernel.org/stable/c/243f1614ef2aca2d62a744575f1c24b07cd42757 commit
- git.kernel.org/stable/c/18705cace0619fd2123737dcd028147774f38181 commit
- git.kernel.org/stable/c/0ff12308c8a6c16ab68f0a487ffa93d69001dc18 commit
- git.kernel.org/stable/c/c74801ee524f477c174a1899782b6c3b6918d407 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-68130 updated cvss 5.5
kernel: ksmbd: defer destroy_previous_session() until after NTLM authentication
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +2 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +9 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +30 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +84 more Red Hat Enterprise Linux 10 kernel 6.12.0-55.94.1.el10_0 Red Hat Enterprise Linux for NVIDIA 26 kernel 6.12.0-55.94.1.el10_0not affected: vulnerable code not present
+2 more productsfewer
Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9
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.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/ab0230257ebdf48b07eaa679a8c92bc842fe3498
- git.kernel.org /stable/c/370b0ec8822b69c9073265e16b7daaa8201c9a4f
- git.kernel.org /stable/c/5c833074b549e5db125436a6f681af682261f785
- git.kernel.org /stable/c/243f1614ef2aca2d62a744575f1c24b07cd42757
- git.kernel.org /stable/c/18705cace0619fd2123737dcd028147774f38181
- git.kernel.org /stable/c/0ff12308c8a6c16ab68f0a487ffa93d69001dc18
- git.kernel.org /stable/c/c74801ee524f477c174a1899782b6c3b6918d407
Sources
- CVE List CVE-2026-68130
- NVD CVE-2026-68130
Fencer Vulns 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.