CVE-2025-38191

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().
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

18 Dec 2025, 17:24

Type Values Removed Values Added
CPE cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/076f1adefb9837977af7ed233883842ddc446644 - () https://git.kernel.org/stable/c/076f1adefb9837977af7ed233883842ddc446644 - Patch
References () https://git.kernel.org/stable/c/0902625a24eea7fdc187faa5d97df244d159dd6e - () https://git.kernel.org/stable/c/0902625a24eea7fdc187faa5d97df244d159dd6e - Patch
References () https://git.kernel.org/stable/c/1193486dffb7432a09f57f5d09049b4d4123538b - () https://git.kernel.org/stable/c/1193486dffb7432a09f57f5d09049b4d4123538b - Patch
References () https://git.kernel.org/stable/c/281afc52e2961cd5dd8326ebc9c5bc40904c0468 - () https://git.kernel.org/stable/c/281afc52e2961cd5dd8326ebc9c5bc40904c0468 - Patch
References () https://git.kernel.org/stable/c/7ac5b66acafcc9292fb935d7e03790f2b8b2dc0e - () https://git.kernel.org/stable/c/7ac5b66acafcc9292fb935d7e03790f2b8b2dc0e - Patch
References () https://www.zerodayinitiative.com/advisories/ZDI-25-610/ - () https://www.zerodayinitiative.com/advisories/ZDI-25-610/ - Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - Third Party Advisory
CWE CWE-476
First Time Linux
Debian
Debian debian Linux
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

03 Nov 2025, 18:16

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html -

09 Aug 2025, 15:15

Type Values Removed Values Added
References
  • () https://www.zerodayinitiative.com/advisories/ZDI-25-610/ -

08 Jul 2025, 16:18

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: se corrige la desreferencia de puntero nulo en destroy_previous_session. Si el cliente configura ->PreviousSessionId durante la configuración de la sesión Kerberos, se producirá un error de desreferencia de puntero nulo. Dado que sess->user aún no está configurado, se puede pasar el argumento de usuario como nulo a destroy_previous_session. Sess->user se configurará en ksmbd_krb5_authenticate(). Por lo tanto, este parche modifica la llamada a destroy_previous_session() después de ksmbd_krb5_authenticate().

04 Jul 2025, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-07-04 14:15

Updated : 2025-12-18 17:24


NVD link : CVE-2025-38191

Mitre link : CVE-2025-38191

CVE.ORG link : CVE-2025-38191


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference