CVE-2025-21945

ksmbd: fix use-after-free in smb2_lock

High · published April 1, 2025

CVSS v3.1
7.8
EPSS
1%
Percentile
43.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00515 · 43.0th percentile
Published
2025-04-01T15:41Z
EPSS history
Timeline
  • 01 APR 15:41Z
    ksmbd: fix use-after-free in smb2_lock
    cvelistv5