Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-31476

HIGH 8.2EPSS 51%

ksmbd: do not expire session on binding failure

Mitigation

  • Upgrade Linux to 9bbb19d21ded7d78645506f20d8c44895e3d0fb9 or later.

Who should check

  • Anyone running Linux >= f5a544e3bab78142207e0242d22442db85ba1eff, < 4642ea35c03cf3d3558c009df4757cdb7af3f82d; >= f5a544e3bab78142207e0242d22442db85ba1eff, < f5300690c23c5ac860499bb37dbc09cf43fd62e6; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 6fafc4c4238e538969f1375f9ecdc6587c53f1cc; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 1d1888b4a7aec518b707f6eca0bf08992c0e8da3; >= f5a544e3bab78142207e0242d22442db85ba1eff, < a897064a457056acb976e20e3007cdf553de340f; >= f5a544e3bab78142207e0242d22442db85ba1eff, < e0e5edc81b241c70355217de7e120c97c3429deb; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 9bbb19d21ded7d78645506f20d8c44895e3d0fb9
  • Anyone running Linux 5.15

Vulnerability facts

Affected
Linux >= f5a544e3bab78142207e0242d22442db85ba1eff, < 4642ea35c03cf3d3558c009df4757cdb7af3f82d; >= f5a544e3bab78142207e0242d22442db85ba1eff, < f5300690c23c5ac860499bb37dbc09cf43fd62e6; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 6fafc4c4238e538969f1375f9ecdc6587c53f1cc; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 1d1888b4a7aec518b707f6eca0bf08992c0e8da3; >= f5a544e3bab78142207e0242d22442db85ba1eff, < a897064a457056acb976e20e3007cdf553de340f; >= f5a544e3bab78142207e0242d22442db85ba1eff, < e0e5edc81b241c70355217de7e120c97c3429deb; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 9bbb19d21ded7d78645506f20d8c44895e3d0fb9; Linux 5.15
Fixed in
Linux 4642ea35c03cf3d3558c009df4757cdb7af3f82d, Linux 6fafc4c4238e538969f1375f9ecdc6587c53f1cc, Linux 1d1888b4a7aec518b707f6eca0bf08992c0e8da3, Linux 9bbb19d21ded7d78645506f20d8c44895e3d0fb9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: High
EPSS
0.74% chance of exploitation in 30 days (percentile 51, 2026-11-26)
Published
Modified

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().

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= f5a544e3bab78142207e0242d22442db85ba1eff, < 4642ea35c03cf3d3558c009df4757cdb7af3f82d; >= f5a544e3bab78142207e0242d22442db85ba1eff, < f5300690c23c5ac860499bb37dbc09cf43fd62e6; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 6fafc4c4238e538969f1375f9ecdc6587c53f1cc; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 1d1888b4a7aec518b707f6eca0bf08992c0e8da3; >= f5a544e3bab78142207e0242d22442db85ba1eff, < a897064a457056acb976e20e3007cdf553de340f; >= f5a544e3bab78142207e0242d22442db85ba1eff, < e0e5edc81b241c70355217de7e120c97c3429deb; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 9bbb19d21ded7d78645506f20d8c44895e3d0fb9—cvelist
Linux5.15—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-31476. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31476.md
Affected: Linux >= f5a544e3bab78142207e0242d22442db85ba1eff, < 4642ea35c03cf3d3558c009df4757cdb7af3f82d; >= f5a544e3bab78142207e0242d22442db85ba1eff, < f5300690c23c5ac860499bb37dbc09cf43fd62e6; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 6fafc4c4238e538969f1375f9ecdc6587c53f1cc; >= f5a544e3bab78142207e024…
Fixed in: Linux 4642ea35c03cf3d3558c009df4757cdb7af3f82d, Linux 6fafc4c4238e538969f1375f9ecdc6587c53f1cc, Linux 1d1888b4a7aec518b707f6eca0bf08992c0e8da3, Linux 9bbb19d21ded7d78645506f20d8c44895e3d0fb9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-31476 being exploited?

There is no confirmed exploitation: CVE-2026-31476 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.74% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-31476?

High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-31476?

Linux >= f5a544e3bab78142207e0242d22442db85ba1eff, < 4642ea35c03cf3d3558c009df4757cdb7af3f82d; >= f5a544e3bab78142207e0242d22442db85ba1eff, < f5300690c23c5ac860499bb37dbc09cf43fd62e6; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 6fafc4c4238e538969f1375f9ecdc6587c53f1cc; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 1d1888b4a7aec518b707f6eca0bf08992c0e8da3; >= f5a544e3bab78142207e0242d22442db85ba1eff, < a897064a457056acb976e20e3007cdf553de340f; >= f5a544e3bab78142207e0242d22442db85ba1eff, < e0e5edc81b241c70355217de7e120c97c3429deb; >= f5a544e3bab78142207e0242d22442db85ba1eff, < 9bbb19d21ded7d78645506f20d8c44895e3d0fb9; Linux 5.15.

Is there a fix for CVE-2026-31476?

Yes. Fixed in Linux 4642ea35c03cf3d3558c009df4757cdb7af3f82d, Linux 6fafc4c4238e538969f1375f9ecdc6587c53f1cc, Linux 1d1888b4a7aec518b707f6eca0bf08992c0e8da3, Linux 9bbb19d21ded7d78645506f20d8c44895e3d0fb9. Upgrade Linux to 9bbb19d21ded7d78645506f20d8c44895e3d0fb9 or later.

How do I check if I'm affected by CVE-2026-31476?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors