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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
f5a544e3bab78142207e0242d22442db85ba1eff to < 7e8b270813079c785696bce8802a3f920665c88caffectedf5a544e3bab78142207e0242d22442db85ba1eff to < d073870dab8f6dadced81d13d273ff0b21cb7f4eaffectedf5a544e3bab78142207e0242d22442db85ba1eff to < 6ebef4a220a1ebe345de899ebb9ae394206fe921affectedf5a544e3bab78142207e0242d22442db85ba1eff to < 89afe5e2dbea6e9d8e5f11324149d06fa3a4efcaaffectedf5a544e3bab78142207e0242d22442db85ba1eff to < 9feb2d1bf86d9e5e66b8565f37f8d3a7d281a772affectedf5a544e3bab78142207e0242d22442db85ba1eff to < 6260fc85ed1298a71d24a75d01f8b2e56d489a60affectedf5a544e3bab78142207e0242d22442db85ba1eff to < 282343cf8a4a5a3603b1cb0e17a7083e4a593b03affected
Linux Linux
Default version status: affected
5.15affected0 to < 5.15unaffected5.15.209 to ≤ 5.15.*unaffected6.1.167 to ≤ 6.1.*unaffected6.6.130 to ≤ 6.6.*unaffected6.12.78 to ≤ 6.12.*unaffected6.18.20 to ≤ 6.18.*unaffected6.19.10 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/7e8b270813079c785696bce8802a3f920665c88c ↗
- https://git.kernel.org/stable/c/d073870dab8f6dadced81d13d273ff0b21cb7f4e ↗
- https://git.kernel.org/stable/c/6ebef4a220a1ebe345de899ebb9ae394206fe921 ↗
- https://git.kernel.org/stable/c/89afe5e2dbea6e9d8e5f11324149d06fa3a4efca ↗
- https://git.kernel.org/stable/c/9feb2d1bf86d9e5e66b8565f37f8d3a7d281a772 ↗
- https://git.kernel.org/stable/c/6260fc85ed1298a71d24a75d01f8b2e56d489a60 ↗
- https://git.kernel.org/stable/c/282343cf8a4a5a3603b1cb0e17a7083e4a593b03 ↗