Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix null pointer dereference in destroy_previous_session If client set ->PreviousSessionId on kerberos session setup stage, NULL pointer dereference error will happen. Since sess->user is not set yet, It can pass the user argument as NULL to destroy_previous_session. sess->user will be set in ksmbd_krb5_authenticate(). So this patch move calling destroy_previous_session() after ksmbd_krb5_authenticate().
References (7)
Core 7
Core References
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Third Party Advisory
https://www.zerodayinitiative.com/advisories/ZDI-25-610/
Scores
CVSS v3
5.5
EPSS
0.0008
EPSS Percentile
22.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (19)
debian/debian_linux
11.0
linux/Kernel
5.15.0 - 6.1.142linux
linux/Kernel
6.13.0 - 6.15.4linux
linux/Kernel
6.2.0 - 6.6.95linux
linux/Kernel
6.7.0 - 6.12.35linux
Linux/Linux
< 5.15
Linux/Linux
0626e6641f6b467447c81dd7678a69c66f7746cf - 076f1adefb9837977af7ed233883842ddc446644
Linux/Linux
0626e6641f6b467447c81dd7678a69c66f7746cf - 0902625a24eea7fdc187faa5d97df244d159dd6e
Linux/Linux
0626e6641f6b467447c81dd7678a69c66f7746cf - 1193486dffb7432a09f57f5d09049b4d4123538b
Linux/Linux
0626e6641f6b467447c81dd7678a69c66f7746cf - 281afc52e2961cd5dd8326ebc9c5bc40904c0468
... and 9 more
Published
Jul 04, 2025
Tracked Since
Feb 18, 2026