CVE-2026-52911

Source
https://cve.org/CVERecord?id=CVE-2026-52911
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-52911.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-52911
Downstream
Published
2026-06-21T06:18:49.342Z
Modified
2026-06-23T04:02:17.659546157Z
Summary
ksmbd: scope conn->binding slowpath to bound sessions only
Details

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: scope conn->binding slowpath to bound sessions only

When the binding SESSIONSETUP sets conn->binding = true, the flag stays set after the call so that the global session lookup in ksmbdsessionlookupall() can find the session, which was not added to conn->sessions. Because the flag is connection-wide, the global lookup path will also resolve any other session by id if asked.

Tighten the global lookup so that the returned session must have this connection registered in its channel xarray (sess->ksmbdchannlist). The channel entry is installed by the existing bindingsession path in ntlmauthenticate()/krb5authenticate() when a SESSIONSETUP completes successfully, so this condition is a strict equivalent of "this connection has been accepted as a channel of this session". Connections that have not bound to a given session cannot reach it via the global table.

The existing conn->binding gate for entering the slowpath is preserved so that non-binding connections keep the fast-path-only behavior, and the session->state check is unchanged.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52911.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f5a544e3bab78142207e0242d22442db85ba1eff
Fixed
e74c00c6af428a39e564cdc5bd3a3648c6d8de87
Fixed
e3a93ce6e25757b8f375e38b8f91e1d9da4edc1a
Fixed
1ff46c9915c1cbf454db58a8cb87f7cac818e6a6
Fixed
974c1c224e85549dc3459f3bb2255bbbdd2b9372
Fixed
2cc8a4db633b10715450b291c1343859a4b2c509
Fixed
1e2bec062c5c9ec282636715166056d0998d746d
Fixed
b0da97c034b6107d14e537e212d4ce8b22109a58

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-52911.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
5.15.209
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.175
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.141
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.91
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.33
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-52911.json"