Review reviewHigh

CVE-2025-37777

Linux Linux, linux kernel

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.

CVSS
7.8
EPSS
0.34%
27.1% percentile
CISA KEV
Not listed
Published
2025.05.01
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.34%
Technical severityCVSS 7.8

Vulnerability overview

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.

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 0626e6641f6b467447c81dd7678a69c66f7746cf < 1da8bd9a10ecd718692732294d15fd801c0eabb5, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 1aec4d14cf81b7b3e7b69eb1cfa94144eed7138e, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < e59796fc80603bcd8569d4d2e10b213c1918edb4, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 21a4e47578d44c6b37c4fc4aba8ed7cc8dbb13de, >= 5.15, >= 5.15 < 6.6.101, >= 6.7 < 6.12.26, >= 6.13 < 6.14.4, 6.15
Fixed versions
6.6.101, 6.12.26, 6.14.4

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416