CVE Catalog

CVE-2025-37777

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.32%

25th percentile - higher than 25% of all known CVEs

Summary

In the Linux kernel, the ksmbd SMB server has a use-after-free vulnerability in __smb2_lease_break_noti(). When a connection is disconnected, tcp_transport is freed but the connection object may still be in use, leading to UAF.

Risk Assessment

An attacker can exploit this to execute code in kernel context or cause a system crash by sending a lease break request after disconnection.

Recommendation

Apply the Linux kernel patch that moves tcp_transport freeing to ksmbd_conn_free to prevent UAF.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS