CVE Catalog

CVE-2025-37952

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

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

Summary

In the ksmbd SMB server in the Linux kernel, a use-after-free vulnerability exists in __close_file_table_ids due to a race condition between threads.

Risk Assessment

An attacker can remotely cause system crashes or potentially execute arbitrary code by exploiting the file access race.

Recommendation

Install a Linux kernel update that adds ft->lock around the file removal section.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix UAF in __close_file_table_ids A use-after-free is possible if one thread destroys the file via __ksmbd_close_fd while another thread holds a reference to it. The existing checks on fp->refcount are not sufficient to prevent this. The fix takes ft->lock around the section which removes the file from the file table. This prevents two threads acquiring the same file pointer via __close_file_table_ids, as well as the other functions which retrieve a file from the IDR and which already use this same lock.

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