Critical · published October 29, 2024
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix user-after-free from session log off
There is racy issue between smb2 session log off and smb2 session setup.
It will cause user-after-free from session log off.
This add session_lock when setting SMB2_SESSION_EXPIRED and referece
count to session struct not to free session while it is being used.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | < 6.1.114 | 6.1.114 |
| linux/linux_kernel | ≥ 6.2, < 6.6.58 | 6.6.58 |
| linux/linux_kernel | ≥ 6.7, < 6.11.5 | 6.11.5 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |