CVE-2025-21945

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_lock If smb_lock->zero_len has value, ->llist of smb_lock is not delete and flock is old one. It will cause use-after-free on error handling routine.
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.14:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*

History

10 Apr 2025, 18:05

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: se corrige el use-after-free en smb2_lock. Si smb_lock->zero_len tiene valor, ->llist de smb_lock no se elimina y Flock es antiguo. Esto provocará el use-after-free en la rutina de gestión de errores.
CWE CWE-416
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
References () https://git.kernel.org/stable/c/410ce35a2ed6d0e114132bba29af49b69880c8c7 - () https://git.kernel.org/stable/c/410ce35a2ed6d0e114132bba29af49b69880c8c7 - Patch
References () https://git.kernel.org/stable/c/636e021646cf9b52ddfea7c809b018e91f2188cb - () https://git.kernel.org/stable/c/636e021646cf9b52ddfea7c809b018e91f2188cb - Patch
References () https://git.kernel.org/stable/c/84d2d1641b71dec326e8736a749b7ee76a9599fc - () https://git.kernel.org/stable/c/84d2d1641b71dec326e8736a749b7ee76a9599fc - Patch
References () https://git.kernel.org/stable/c/8573571060ca466cbef2c6f03306b2cc7b883506 - () https://git.kernel.org/stable/c/8573571060ca466cbef2c6f03306b2cc7b883506 - Patch
References () https://git.kernel.org/stable/c/a0609097fd10d618aed4864038393dd75131289e - () https://git.kernel.org/stable/c/a0609097fd10d618aed4864038393dd75131289e - Patch
First Time Linux linux Kernel
Linux

01 Apr 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-04-01 16:15

Updated : 2025-04-16 14:15


NVD link : CVE-2025-21945

Mitre link : CVE-2025-21945

CVE.ORG link : CVE-2025-21945


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free