ksmbd: unset conn->binding on failed binding request
Summary
| CVE | CVE-2026-31409 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-06 08:16:38 UTC |
| Updated | 2026-06-01 17:16:46 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: ksmbd: unset conn->binding on failed binding request When a multichannel SMB2_SESSION_SETUP request with SMB2_SESSION_REQ_FLAG_BINDING fails ksmbd sets conn->binding = true but never clears it on the error path. This leaves the connection in a binding state where all subsequent ksmbd_session_lookup_all() calls fall back to the global sessions table. This fix it by clearing conn->binding = false in the error path. |
Risk And Classification
Primary CVSS: v3.1 8.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.000130000 probability, percentile 0.023500000 (date 2026-04-27)
Problem Types: NVD-CWE-noinfo
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected f5a544e3bab78142207e0242d22442db85ba1eff 7e8b270813079c785696bce8802a3f920665c88c git | Not specified |
| CNA | Linux | Linux | affected f5a544e3bab78142207e0242d22442db85ba1eff d073870dab8f6dadced81d13d273ff0b21cb7f4e git | Not specified |
| CNA | Linux | Linux | affected f5a544e3bab78142207e0242d22442db85ba1eff 6ebef4a220a1ebe345de899ebb9ae394206fe921 git | Not specified |
| CNA | Linux | Linux | affected f5a544e3bab78142207e0242d22442db85ba1eff 89afe5e2dbea6e9d8e5f11324149d06fa3a4efca git | Not specified |
| CNA | Linux | Linux | affected f5a544e3bab78142207e0242d22442db85ba1eff 9feb2d1bf86d9e5e66b8565f37f8d3a7d281a772 git | Not specified |
| CNA | Linux | Linux | affected f5a544e3bab78142207e0242d22442db85ba1eff 6260fc85ed1298a71d24a75d01f8b2e56d489a60 git | Not specified |
| CNA | Linux | Linux | affected f5a544e3bab78142207e0242d22442db85ba1eff 282343cf8a4a5a3603b1cb0e17a7083e4a593b03 git | Not specified |
| CNA | Linux | Linux | affected 5.15 | Not specified |
| CNA | Linux | Linux | unaffected 5.15 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.209 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.167 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.130 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.78 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.20 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.10 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/89afe5e2dbea6e9d8e5f11324149d06fa3a4efca | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/6ebef4a220a1ebe345de899ebb9ae394206fe921 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/6260fc85ed1298a71d24a75d01f8b2e56d489a60 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/9feb2d1bf86d9e5e66b8565f37f8d3a7d281a772 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/282343cf8a4a5a3603b1cb0e17a7083e4a593b03 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d073870dab8f6dadced81d13d273ff0b21cb7f4e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/7e8b270813079c785696bce8802a3f920665c88c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.