Vulnerabilities · 2025 · Linux
CVE-2025-38191
Linux Kernel vulnerability
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().
Affected products
Linux Kernel, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/076f1adefb9837977af7ed233883842ddc446644 · Patch
- git.kernel.org/stable/c/0902625a24eea7fdc187faa5d97df244d159dd6e · Patch
- git.kernel.org/stable/c/1193486dffb7432a09f57f5d09049b4d4123538b · Patch
- git.kernel.org/stable/c/281afc52e2961cd5dd8326ebc9c5bc40904c0468 · Patch
- git.kernel.org/stable/c/7ac5b66acafcc9292fb935d7e03790f2b8b2dc0e · Patch
- www.zerodayinitiative.com/advisories/ZDI-25-610/ · Third Party Advisory
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2025-38191
- cve.org/CVERecord?id=CVE-2025-38191
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.