8.8

CVE-2025-37952: ksmbd: Fix UAF in __close_file_table_ids

Modified
AliasesUBUNTU-CVE-2025-37952DEBIAN-CVE-2025-37952
Published 20-05-2025Last modified 30-10-2026

Vulnerability summary

CVE-2025-37952 is a high (CVSS 8.8) Use After Free vulnerability in linux. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 34.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.38%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 23 · Related 19

Timeline

  1. 20-05-2025
    PublishedVulnerability first disclosed.
  2. 30-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.38%

Chance of exploitation in the next 30 days

Percentile

34%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.37% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu134 products
  • linuxAll versions (No fix recorded) | < 6.8.0-100.100
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1046.49
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 21100812657965dd95bc305f6076f62012f34cf4 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < fec1f9e9a650e8e7011330a085c77e7bf2a08ea9 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 9e9841e232b51171ddf3bc4ee517d5d28dc8cad6 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 16727e442568a46d9cca69fe2595896de86e120d | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 36991c1ccde2d5a521577c448ffe07fcccfe104d | 5.15
  • linux_kernel≥ 5.15, < 6.6.91 | ≥ 6.7, < 6.12.29 | ≥ 6.13, < 6.14.7 | 6.15:rc1 | 6.15:rc2 | 6.15:rc3 | 6.15:rc4 | 6.15:rc5
Debian1 product
  • linuxAll versions (No fix recorded) | < 6.1.192-1 | < 6.12.29-1

3 vendors · 137 products

References

29 links
Show all 29 references