CVE-2025-37777

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
01/05/2025
Last modified:
30/07/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ksmbd: fix use-after-free in __smb2_lease_break_noti()<br /> <br /> Move tcp_transport free to ksmbd_conn_free. If ksmbd connection is<br /> referenced when ksmbd server thread terminates, It will not be freed,<br /> but conn-&gt;tcp_transport is freed. __smb2_lease_break_noti can be performed<br /> asynchronously when the connection is disconnected. __smb2_lease_break_noti<br /> calls ksmbd_conn_write, which can cause use-after-free<br /> when conn-&gt;ksmbd_transport is already freed.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.15 (including) 6.6.101 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.26 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.14.4 (excluding)
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*