Linux Kernel up to 6.6.90/6.12.28/6.14.6/6.15-rc5 ksmbd __close_file_table_ids use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.7$0-$5k0.00

Summaryinfo

A vulnerability was found in Linux Kernel up to 6.6.90/6.12.28/6.14.6/6.15-rc5. It has been classified as critical. This vulnerability affects the function __close_file_table_ids of the component ksmbd. Performing a manipulation results in use after free. This vulnerability is identified as CVE-2025-37952. There is not any exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in Linux Kernel up to 6.6.90/6.12.28/6.14.6/6.15-rc5. It has been classified as critical. This affects the function __close_file_table_ids of the component ksmbd. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

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.

The advisory is shared at git.kernel.org. This vulnerability is uniquely identified as CVE-2025-37952 since 04/16/2025. The exploitability is told to be easy. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 12/14/2025).

The vulnerability scanner Nessus provides a plugin with the ID 242347 (Oracle Linux 9 : Unbreakable Enterprise kernel (ELSA-2025-20480)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 6.6.91, 6.12.29, 6.14.7 or 6.15-rc6 eliminates this vulnerability. Applying the patch fec1f9e9a650e8e7011330a085c77e7bf2a08ea9/9e9841e232b51171ddf3bc4ee517d5d28dc8cad6/16727e442568a46d9cca69fe2595896de86e120d/36991c1ccde2d5a521577c448ffe07fcccfe104d is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (242347) and CERT Bund (WID-SEC-2025-1114). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • Dell Avamar
  • Open Source Linux Kernel
  • Dell NetWorker
  • Dell Secure Connect Gateway

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.9
VulDB Meta Temp Score: 7.7

VulDB Base Score: 8.0
VulDB Temp Score: 7.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 242347
Nessus Name: Oracle Linux 9 : Unbreakable Enterprise kernel (ELSA-2025-20480)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 6.6.91/6.12.29/6.14.7/6.15-rc6
Patch: fec1f9e9a650e8e7011330a085c77e7bf2a08ea9/9e9841e232b51171ddf3bc4ee517d5d28dc8cad6/16727e442568a46d9cca69fe2595896de86e120d/36991c1ccde2d5a521577c448ffe07fcccfe104d

Timelineinfo

04/16/2025 🔍
05/20/2025 +34 days 🔍
05/20/2025 +0 days 🔍
12/14/2025 +208 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-37952 (🔍)
GCVE (CVE): GCVE-0-2025-37952
GCVE (VulDB): GCVE-100-309741
CERT Bund: WID-SEC-2025-1114 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 05/20/2025 18:27
Updated: 12/14/2025 17:52
Changes: 05/20/2025 18:27 (59), 07/19/2025 15:26 (2), 08/10/2025 00:07 (7), 09/27/2025 09:14 (1), 11/17/2025 20:51 (12), 12/14/2025 17:52 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!