ksmbd: unset conn->binding on failed binding request
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.209, 6.1.167, 6.12.78, 6.18.20, 6.19.10, 6.6.130
- CVEs
- CVE-2026-31409
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:00 UTC · Revision 1
Source evidence
ksmbd: unset conn->binding on failed binding request
core-osv · Original sourcePublished 6 Apr 2026, 07:38 UTC
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.
osv:CVE-2026-31409
Kernel
Fixed versions: 5.15.209, 6.1.167, 6.6.130, 6.12.78, 6.18.20, 6.19.10
Complete source record
{
"id": "a2755df34ba736432a99da59b8b999c4dfcd53b8b4fdc82473b118536bbe6aab",
"url": "https://osv.dev/vulnerability/CVE-2026-31409",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ksmbd: unset conn->binding on failed binding request",
"summary": "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.",
"evidence": "osv:CVE-2026-31409",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.209",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.167",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.130",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.78",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.20",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-31409",
"aliases": [
"CVE-2026-31409"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "f5a544e3bab78142207e0242d22442db85ba1eff"
},
{
"fixed": "7e8b270813079c785696bce8802a3f920665c88c"
},
{
"fixed": "d073870dab8f6dadced81d13d273ff0b21cb7f4e"
},
{
"fixed": "6ebef4a220a1ebe345de899ebb9ae394206fe921"
},
{
"fixed": "89afe5e2dbea6e9d8e5f11324149d06fa3a4efca"
},
{
"fixed": "9feb2d1bf86d9e5e66b8565f37f8d3a7d281a772"
},
{
"fixed": "6260fc85ed1298a71d24a75d01f8b2e56d489a60"
},
{
"fixed": "282343cf8a4a5a3603b1cb0e17a7083e4a593b03"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31409.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.15.0"
},
{
"fixed": "5.15.209"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.167"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.130"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.78"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.20"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "6.19.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31409.json"
}
}
],
"modified": "2026-10-28T02:30:41.164313310Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/282343cf8a4a5a3603b1cb0e17a7083e4a593b03",
"https://git.kernel.org/stable/c/6260fc85ed1298a71d24a75d01f8b2e56d489a60",
"https://git.kernel.org/stable/c/6ebef4a220a1ebe345de899ebb9ae394206fe921",
"https://git.kernel.org/stable/c/7e8b270813079c785696bce8802a3f920665c88c",
"https://git.kernel.org/stable/c/89afe5e2dbea6e9d8e5f11324149d06fa3a4efca",
"https://git.kernel.org/stable/c/9feb2d1bf86d9e5e66b8565f37f8d3a7d281a772",
"https://git.kernel.org/stable/c/d073870dab8f6dadced81d13d273ff0b21cb7f4e",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31409.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-31409",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31409.json"
}
},
"related_cves": [
{
"value": "CVE-2026-31409",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 508845,
"published_at": "2026-04-06T07:38:21.223+00:00"
}