CVE-2025-21945

high

Description

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.

References

https://git.kernel.org/stable/c/a0609097fd10d618aed4864038393dd75131289e

https://git.kernel.org/stable/c/8573571060ca466cbef2c6f03306b2cc7b883506

https://git.kernel.org/stable/c/84d2d1641b71dec326e8736a749b7ee76a9599fc

https://git.kernel.org/stable/c/636e021646cf9b52ddfea7c809b018e91f2188cb

https://git.kernel.org/stable/c/410ce35a2ed6d0e114132bba29af49b69880c8c7

Details

Source: Mitre, NVD

Published: 2025-04-01

Updated: 2025-04-16

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.00018