diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-13 09:00:00 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-17 22:38:24 +0900 |
| commit | 2cbd4a8bf460cdf414a2d7e4912c5bcfe3d0fdc2 (patch) | |
| tree | 5aa6c09d9096a59a591252281d089c912a31d876 /usr/Makefile | |
| parent | 50a400cff59f534254ace2828f2eb9d844517fbb (diff) | |
| download | linux-next-2cbd4a8bf460cdf414a2d7e4912c5bcfe3d0fdc2.tar.gz linux-next-2cbd4a8bf460cdf414a2d7e4912c5bcfe3d0fdc2.zip | |
ksmbd: fix encrypted request lookup on bound channels
An SMB3 multichannel binding registers the secondary connection in the
session channel list, but does not insert the session into the secondary
connection's session xarray.
The decryption path only searches the connection-local xarray. As a
result, every encrypted request received on a bound channel fails with
"Could not get decryption key".
Use the channel-aware session lookup for decryption. Also stop using the
temporary conn->binding flag to decide whether the global lookup is
allowed. Validate the permanent channel association under chann_lock
instead.
Fixes: f5a544e3bab7 ("ksmbd: add support for SMB3 multichannel")
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'usr/Makefile')
0 files changed, 0 insertions, 0 deletions
