diff options
author | 2025-04-07 11:26:50 +0000 | |
---|---|---|
committer | 2025-04-14 22:21:26 -0500 | |
commit | 1e440d5b25b7efccb3defe542a73c51005799a5f (patch) | |
tree | 63f22353c1fd445c53cce348d59ada2b5133eed2 /scripts/lib/kdoc/kdoc_output.py | |
parent | Linux 6.15-rc2 (diff) | |
download | wireguard-linux-1e440d5b25b7efccb3defe542a73c51005799a5f.tar.xz wireguard-linux-1e440d5b25b7efccb3defe542a73c51005799a5f.zip |
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.
Cc: stable@vger.kernel.org
Signed-off-by: Sean Heelan <seanheelan@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions