Critical · published May 1, 2025
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: Fix dangling pointer in krb_authenticate
krb_authenticate frees sess->user and does not set the pointer
to NULL. It calls ksmbd_krb5_authenticate to reinitialise
sess->user but that function may return without doing so. If
that happens then smb2_sess_setup, which calls krb_authenticate,
will be accessing free'd memory when it later uses sess->user.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 5.15, < 6.1.135 | 6.1.135 |
| linux/linux_kernel | ≥ 6.2, < 6.6.88 | 6.6.88 |
| linux/linux_kernel | ≥ 6.7, < 6.12.25 | 6.12.25 |
| linux/linux_kernel | ≥ 6.13, < 6.14.4 | 6.14.4 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| debian/debian_linux | all versions | — |