CVE-2025-21944

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix bug on trap in smb2_lock If lock count is greater than 1, flags could be old value. It should be checked with flags of smb_lock, not flags. It will cause bug-on trap from locks_free_lock in 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

30 Oct 2025, 19:43

Type Values Removed Values Added
CWE CWE-667
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*
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:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/11e0e74e14f1832a95092f2c98ed3b99f57797ee - () https://git.kernel.org/stable/c/11e0e74e14f1832a95092f2c98ed3b99f57797ee - Patch
References () https://git.kernel.org/stable/c/2b70e3ac79eacbdf32571f7af48dd81cdd957ca8 - () https://git.kernel.org/stable/c/2b70e3ac79eacbdf32571f7af48dd81cdd957ca8 - Patch
References () https://git.kernel.org/stable/c/8994f0ce8259f812b4f4a681d8298c6ff682efaa - () https://git.kernel.org/stable/c/8994f0ce8259f812b4f4a681d8298c6ff682efaa - Patch
References () https://git.kernel.org/stable/c/dbcd7fdd86f77529210fe8978154a81cd479844c - () https://git.kernel.org/stable/c/dbcd7fdd86f77529210fe8978154a81cd479844c - Patch
References () https://git.kernel.org/stable/c/e26e2d2e15daf1ab33e0135caf2304a0cfa2744b - () https://git.kernel.org/stable/c/e26e2d2e15daf1ab33e0135caf2304a0cfa2744b - Patch
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: se corrige un error en la trampa de smb2_lock. Si el número de bloqueos es mayor que 1, las banderas podrían tener un valor anterior. Debe comprobarse con las banderas de smb_lock, no con las banderas. Esto provocará un error en la trampa de locks_free_lock en la rutina de gestión de errores.
First Time Linux
Linux linux Kernel

01 Apr 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-04-01 16:15

Updated : 2025-10-30 19:43


NVD link : CVE-2025-21944

Mitre link : CVE-2025-21944

CVE.ORG link : CVE-2025-21944


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-667

Improper Locking