Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-31476

published high CVSS 3.1 · 8.2

ksmbd: do not expire session on binding failure

Published
22 Apr 2026, 13:54:04 UTC
Updated
05 Aug 2026, 12:22:55 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf5a544e3bab78142207e0242d22442db85ba1eff to < 4642ea35c03cf3d3558c009df4757cdb7af3f82d · f5a544e3bab78142207e0242d22442db85ba1eff to < f5300690c23c5ac860499bb37dbc09cf43fd62e6 · f5a544e3bab78142207e0242d22442db85ba1eff to < 6fafc4c4238e538969f1375f9ecdc6587c53f1cc · f5a544e3bab78142207e0242d22442db85ba1eff to < 1d1888b4a7aec518b707f6eca0bf08992c0e8da3 · f5a544e3bab78142207e0242d22442db85ba1eff to < a897064a457056acb976e20e3007cdf553de340f · f5a544e3bab78142207e0242d22442db85ba1eff to < e0e5edc81b241c70355217de7e120c97c3429deb · f5a544e3bab78142207e0242d22442db85ba1eff to < 9bbb19d21ded7d78645506f20d8c44895e3d0fb9 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.209 through 5.15.* (unaffected · semver) · 6.1.168 through 6.1.* (unaffected · semver) · 6.6.131 through 6.6.* (unaffected · semver) · 6.12.80 through 6.12.* (unaffected · semver) · 6.18.21 through 6.18.* (unaffected · semver) · 6.19.11 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.170-1 DSA-6243-1
Ubuntu bionic linux Advisory build 4.15.0-260.272 LSN-0122-1
Debian bullseye linux-6.1 Advisory build 6.1.170-1~deb11u1 DLA-4561-1
Debian trixie linux Advisory build 6.12.85-1 DSA-6238-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu bionic linux-aws Advisory build 4.15.0-1197.210 LSN-0122-1
Ubuntu bionic linux-azure-4.15 Advisory build 4.15.0-1207.222 LSN-0122-1
Ubuntu bionic linux-gcp-4.15 Advisory build 4.15.0-1190.207 LSN-0122-1
Ubuntu bionic linux-hwe-5.4 Advisory build 5.4.0-245.265~18.04.1 LSN-0122-1
Ubuntu bionic linux-oracle Advisory build 4.15.0-1160.171 LSN-0122-1
Ubuntu focal linux Advisory build 5.4.0-245.265 LSN-0122-1
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1112 Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-aws-5.15-headers-5.15.0-1112 Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-aws-5.15-tools-5.15.0-1112 Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1117 Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1117 Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1117 Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-azure-fde-5.15 Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-azure-fde-5.15-cloud-tools-5.15.0-1117 Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-azure-fde-5.15-headers-5.15.0-1117 Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-azure-fde-5.15-tools-5.15.0-1117 Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-buildinfo-5.15.0-1064-nvidia-tegra Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-buildinfo-5.15.0-1064-nvidia-tegra-rt Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-buildinfo-5.15.0-1106-ibm Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-buildinfo-5.15.0-1107-intel-iotg Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-buildinfo-5.15.0-1109-oracle Advisory build 5.15.0-1109.115~20.04.1 USN-8620-1
Ubuntu focal linux-buildinfo-5.15.0-1112-aws Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-buildinfo-5.15.0-1112-gcp Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1
Ubuntu focal linux-buildinfo-5.15.0-1117-azure Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-buildinfo-5.15.0-1117-azure-fde Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-buildinfo-5.15.0-184-lowlatency Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-buildinfo-5.15.0-184-lowlatency-64k Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-buildinfo-5.15.0-186-generic Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-buildinfo-5.15.0-186-generic-64k Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-buildinfo-5.15.0-186-generic-lpae Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-cloud-tools-5.15.0-1107-intel-iotg Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-cloud-tools-5.15.0-1112-aws Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-cloud-tools-5.15.0-1117-azure Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-cloud-tools-5.15.0-1117-azure-fde Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-cloud-tools-5.15.0-184-lowlatency Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-cloud-tools-5.15.0-186-generic Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1112 Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1112 Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1
Ubuntu focal linux-headers-5.15.0-1064-nvidia-tegra Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-headers-5.15.0-1064-nvidia-tegra-rt Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-headers-5.15.0-1106-ibm Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-headers-5.15.0-1107-intel-iotg Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-headers-5.15.0-1109-oracle Advisory build 5.15.0-1109.115~20.04.1 USN-8620-1
Ubuntu focal linux-headers-5.15.0-1112-aws Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-headers-5.15.0-1112-gcp Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1
Ubuntu focal linux-headers-5.15.0-1117-azure Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-headers-5.15.0-1117-azure-fde Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-headers-5.15.0-184-lowlatency Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-headers-5.15.0-184-lowlatency-64k Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-headers-5.15.0-186-generic Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-headers-5.15.0-186-generic-64k Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-headers-5.15.0-186-generic-lpae Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-186 Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-hwe-5.15-headers-5.15.0-186 Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-hwe-5.15-tools-5.15.0-186 Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1106 Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1106 Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-image-5.15.0-186-generic Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-image-5.15.0-186-generic-lpae Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-image-unsigned-5.15.0-1064-nvidia-tegra Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-image-unsigned-5.15.0-1064-nvidia-tegra-rt Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-image-unsigned-5.15.0-1106-ibm Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-image-unsigned-5.15.0-1107-intel-iotg Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-image-unsigned-5.15.0-1109-oracle Advisory build 5.15.0-1109.115~20.04.1 USN-8620-1
Ubuntu focal linux-image-unsigned-5.15.0-1112-aws Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-image-unsigned-5.15.0-1112-gcp Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1
Ubuntu focal linux-image-unsigned-5.15.0-1117-azure Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-image-unsigned-5.15.0-1117-azure-fde Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-image-unsigned-5.15.0-184-lowlatency Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-image-unsigned-5.15.0-184-lowlatency-64k Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-image-unsigned-5.15.0-186-generic Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-image-unsigned-5.15.0-186-generic-64k Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1107 Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1107 Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1107 Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-184 Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-184 Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-5.15.0-184 Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-modules-5.15.0-1064-nvidia-tegra Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-modules-5.15.0-1064-nvidia-tegra-rt Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-modules-5.15.0-1106-ibm Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-modules-5.15.0-1107-intel-iotg Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-modules-5.15.0-1109-oracle Advisory build 5.15.0-1109.115~20.04.1 USN-8620-1
Ubuntu focal linux-modules-5.15.0-1112-aws Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-modules-5.15.0-1112-gcp Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: do not expire session on binding failure When a multichannel session binding request fails (e.g. wrong password), the error path unconditionally sets sess->state = SMB2_SESSION_EXPIRED. However, during binding, sess points to the target session looked up via ksmbd_session_lookup_slowpath() -- which belongs to another connection's user. This allows a remote attacker to invalidate any active session by simply sending a binding request with a wrong password (DoS). Fix this by skipping session expiration when the failed request was a binding attempt, since the session does not belong to the current connection. The reference taken by ksmbd_session_lookup_slowpath() is still correctly released via ksmbd_user_session_put().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

45

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.2 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Scenarios
en: AV:N - ksmbd is an in-kernel SMB server reachable over TCP, commonly on port 445, and the vulnerable path is reached by remote SMB2 SESSION_SETUP traffic. The binding failure is processed from network-supplied SMB packets. AC:L - With SMB3 multichannel enabled and an active target session, the attacker can trigger the flaw by sending a binding SESSION_SETUP request that fails authentication. There is no race or memory-layout dependency, and uncertainty about required protocol identifiers is resolved toward the higher-severity low-complexity value. PR:N - SMB2 SESSION_SETUP is explicitly exempt from the normal authenticated session check, and the bug is triggered on the failed authentication path before attacker credentials are accepted. The code checks the signed flag but does not cryptographically validate the binding request before expiring the looked-up session. UI:N - The attacker sends network SMB requests directly to the ksmbd service. No victim action is required during exploitation beyond the existence of an active SMB session to disrupt. S:U - The impact remains within the same kernel/ksmbd server security authority. It does not cross a VM, sandbox, IOMMU, or other separate authorization boundary. C:N - The bug changes session state but does not expose memory, file contents, credentials, or other confidential data. No information disclosure primitive was found. I:L - The attacker can cause an unauthorized change to a security-relevant server-side session object by forcing another session into SMB2_SESSION_EXPIRED. This is limited state modification, not arbitrary write or code execution. A:H - The vulnerable code invalidates active SMB sessions belonging to other connections, disrupting their file/service access. Repeating the unauthenticated network trigger can deny ksmbd service availability to active clients.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f5a544e3bab78142207e0242d22442db85ba1eff to < 4642ea35c03cf3d3558c009df4757cdb7af3f82d (affected · git)f5a544e3bab78142207e0242d22442db85ba1eff to < f5300690c23c5ac860499bb37dbc09cf43fd62e6 (affected · git)f5a544e3bab78142207e0242d22442db85ba1eff to < 6fafc4c4238e538969f1375f9ecdc6587c53f1cc (affected · git)f5a544e3bab78142207e0242d22442db85ba1eff to < 1d1888b4a7aec518b707f6eca0bf08992c0e8da3 (affected · git)f5a544e3bab78142207e0242d22442db85ba1eff to < a897064a457056acb976e20e3007cdf553de340f (affected · git)f5a544e3bab78142207e0242d22442db85ba1eff to < e0e5edc81b241c70355217de7e120c97c3429deb (affected · git)f5a544e3bab78142207e0242d22442db85ba1eff to < 9bbb19d21ded7d78645506f20d8c44895e3d0fb9 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.209 through 5.15.* (unaffected · semver)6.1.168 through 6.1.* (unaffected · semver)6.6.131 through 6.6.* (unaffected · semver)6.12.80 through 6.12.* (unaffected · semver)6.18.21 through 6.18.* (unaffected · semver)6.19.11 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

ksmbd: do not expire session on binding failure

Provenance

Schema
5.2
Searchable
yes
Content hash
98e6d458de5b860af38d4d749c2ff1bc736f018656bda854e352d0e05c61918e
Ingested
23 Sep 2026, 09:09:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected