CVE-2026-31476 json
ksmbd: do not expire session on binding failure
published 2026-04-22 6 mo ago modified 2026-08-05 3 mo ago also EUVD-2026-24831
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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().
Patch / fix
- Linux Linux 5.15.209, 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0
- linux Debian 12 6.1.170-1
- linux Debian 13 6.12.85-1
- linux Debian 14 6.19.11-1
debian advisories DEBIAN-CVE-2026-31476
- linux Ubuntu 22.04 LTS 5.15.0-186.196
- linux Ubuntu 24.04 LTS 6.8.0-136.136
- linux-aws Ubuntu 22.04 LTS 5.15.0-1112.119
- linux-aws Ubuntu 24.04 LTS 6.8.0-1061.64
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1112.122
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1064.72
- linux-gke Ubuntu 22.04 LTS 5.15.0-1108.114
- linux-gke Ubuntu 24.04 LTS 6.8.0-1059.67
ubuntu advisories UBUNTU-CVE-2026-31476
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/4642ea35c03cf3d3558c009df4757cdb7af3f82d commit
- git.kernel.org/stable/c/f5300690c23c5ac860499bb37dbc09cf43fd62e6 commit
- git.kernel.org/stable/c/6fafc4c4238e538969f1375f9ecdc6587c53f1cc commit
- git.kernel.org/stable/c/1d1888b4a7aec518b707f6eca0bf08992c0e8da3 commit
- git.kernel.org/stable/c/a897064a457056acb976e20e3007cdf553de340f commit
- git.kernel.org/stable/c/e0e5edc81b241c70355217de7e120c97c3429deb commit
- git.kernel.org/stable/c/9bbb19d21ded7d78645506f20d8c44895e3d0fb9 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-31476 updated
kernel: ksmbd: do not expire session on binding failure
-
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 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot 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.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/4642ea35c03cf3d3558c009df4757cdb7af3f82d
-
git.kernel.org
/stable/c/f5300690c23c5ac860499bb37dbc09cf43fd62e6
patch
-
git.kernel.org
/stable/c/6fafc4c4238e538969f1375f9ecdc6587c53f1cc
patch
-
git.kernel.org
/stable/c/1d1888b4a7aec518b707f6eca0bf08992c0e8da3
patch
-
git.kernel.org
/stable/c/a897064a457056acb976e20e3007cdf553de340f
patch
-
git.kernel.org
/stable/c/e0e5edc81b241c70355217de7e120c97c3429deb
patch
-
git.kernel.org
/stable/c/9bbb19d21ded7d78645506f20d8c44895e3d0fb9
patch
Sources
- CVE List CVE-2026-31476
- NVD CVE-2026-31476
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.