CVE-2025-37777

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

published May 1, 2025

CVSS
—
EPSS
0%
Percentile
29.9
In the wild
Unconfirmed
What it is

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

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

Move tcp_transport free to ksmbd_conn_free. If ksmbd connection is

referenced when ksmbd server thread terminates, It will not be freed,

but conn->tcp_transport is freed. __smb2_lease_break_noti can be performed

asynchronously when the connection is disconnected. __smb2_lease_break_noti

calls ksmbd_conn_write, which can cause use-after-free

when conn->ksmbd_transport is already freed.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00371 · 29.9th percentile
Published
2025-05-01T13:07Z
EPSS history
Timeline
  • 01 MAY 13:07Z
    ksmbd: fix use-after-free in __smb2_lease_break_noti()
    cvelistv5