PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-31476 Linux CVE debrief

A denial-of-service vulnerability in the Linux kernel's ksmbd SMB server allows remote attackers to invalidate arbitrary active sessions by sending a multichannel session binding request with an incorrect password. The error path unconditionally sets the target session state to SMB2_SESSION_EXPIRED, even though the session belongs to another connection's user. The fix skips session expiration when the failed request was a binding attempt.

Vendor
Linux
Product
Unknown
CVSS
HIGH 8.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-22
Original CVE updated
2026-06-01
Advisory published
2026-04-22
Advisory updated
2026-06-01

Who should care

Organizations running Linux systems with ksmbd enabled and exposed to untrusted networks, particularly those relying on SMB multichannel for performance. The unauthenticated remote attack vector and high availability impact make this a priority patch for file server deployments.

Technical summary

The ksmbd kernel SMB server mishandles failed multichannel session binding requests. When a binding attempt fails (e.g., wrong password), the error path sets sess->state = SMB2_SESSION_EXPIRED on the target session looked up via ksmbd_session_lookup_slowpath(). Because this session belongs to another connection's user, a remote unauthenticated attacker can force-expire any active session. The fix distinguishes binding failures from initial session setup failures and skips the expiration step for binding attempts, while still properly releasing the session reference via ksmbd_user_session_put().

Defensive priority

high

Recommended defensive actions

  • Apply the appropriate stable kernel patch for your branch: 5.15.168+, 6.6.131+, 6.12.80+, 6.18.21+, or 6.19.11+.
  • If patching is not immediately feasible, consider restricting or disabling SMB multichannel until updates can be applied.
  • Monitor ksmbd session logs for unexpected SMB2_SESSION_EXPIRED events that may indicate exploitation attempts.
  • Validate that session binding requests are properly authenticated and logged in network-accessible ksmbd deployments.

Evidence notes

The vulnerability description and patch references are drawn from the official CVE record and NVD data. The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H yields a score of 8.2 (HIGH). Multiple stable kernel patches are available across affected branches.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-31476 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-31476

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-31476 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-31476

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/1d1888b4a7aec518b707f6eca0bf08992c0e8da3

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/4642ea35c03cf3d3558c009df4757cdb7af3f82d

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/6fafc4c4238e538969f1375f9ecdc6587c53f1cc

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/9bbb19d21ded7d78645506f20d8c44895e3d0fb9

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/a897064a457056acb976e20e3007cdf553de340f

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/e0e5edc81b241c70355217de7e120c97c3429deb

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/f5300690c23c5ac860499bb37dbc09cf43fd62e6

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.