CVE-2025-22041

ksmbd: fix use-after-free in ksmbd_sessions_deregister()

High · published April 16, 2025

CVSS v3.1
8.8
EPSS
1%
Percentile
52.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix use-after-free in ksmbd_sessions_deregister()

In multichannel mode, UAF issue can occur in session_deregister

when the second channel sets up a session through the connection of

the first channel. session that is freed through the global session

table can be accessed again through ->sessions of connection.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00695 · 52.4th percentile
Published
2025-04-16T14:11Z
EPSS history
Timeline
  • 16 APR 14:11Z
    ksmbd: fix use-after-free in ksmbd_sessions_deregister()
    cvelistv5