0.0
NA
CVE-2025-37899
ksmbd: fix use-after-free in session logoff
Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in session logoff The sess->user object can currently be in use by another thread, for example if another connection has sent a session setup request to bind to the session being free'd. The handler for that connection could be in the smb2_sess_setup function which makes use of sess->user.

INFO

Published Date :

May 20, 2025, 4:15 p.m.

Last Modified :

May 24, 2025, 7:15 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-37899 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Update the Linux kernel to fix a use-after-free vulnerability in ksmbd.
  • Update the Linux kernel to the latest version.
  • Apply the provided patch for ksmbd.
Public PoC/Exploit Available at Github

CVE-2025-37899 has a 11 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-37899 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-37899 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 2 months, 4 weeks ago
0 stars 0 fork 0 watcher
Born at : June 9, 2025, 9:01 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 months, 4 weeks ago
0 stars 0 fork 0 watcher
Born at : June 8, 2025, 7:21 p.m. This repo has been linked 1 different CVEs too.

fully lawful to open source under US and MA law

Python

Updated: 2 weeks, 5 days ago
0 stars 0 fork 0 watcher
Born at : June 2, 2025, 1:17 p.m. This repo has been linked 2 different CVEs too.

Artefacts for blog post on finding CVE-2025-37899 with o3

Updated: 1 month, 2 weeks ago
314 stars 43 fork 43 watcher
Born at : May 22, 2025, 10:36 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 months, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : March 2, 2025, 7:40 a.m. This repo has been linked 3 different CVEs too.

A collection of the the best ML and AI news every week (research, news, resources)

artificial-intelligence computer-vision llms machine-learning nlp agents ai python rag retrieval-augmented-generation transformer deeplearning

Updated: 1 month, 1 week ago
166 stars 8 fork 8 watcher
Born at : Oct. 30, 2023, 9:13 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 3 months, 2 weeks ago
4 stars 1 fork 1 watcher
Born at : Oct. 23, 2023, 1:48 p.m. This repo has been linked 1 different CVEs too.

Cybersecurity oriented awesome list

awesome awesome-list cybersecurity exploitation reverse-engineering

Updated: 1 day, 3 hours ago
2308 stars 226 fork 226 watcher
Born at : May 6, 2022, 6:02 p.m. This repo has been linked 100 different CVEs too.

TOP All bugbounty pentesting CVE-2023- POC Exp RCE example payload Things

bugbounty cve exp exploit payload poc rce vulnerability

Shell

Updated: 1 day, 12 hours ago
704 stars 120 fork 120 watcher
Born at : March 19, 2022, 1:54 a.m. This repo has been linked 289 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 day, 5 hours ago
7251 stars 1200 fork 1200 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 812 different CVEs too.

A collection of links related to Linux kernel security and exploitation

linux-kernel kernel-exploitation exploit privilege-escalation security

Updated: 1 day, 11 hours ago
6121 stars 960 fork 960 watcher
Born at : Nov. 13, 2016, 10:21 p.m. This repo has been linked 302 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-37899 vulnerability anywhere in the article.

  • huntress.com
AI: Friend or Faux in Cybersecurity? Huntress Tradecraft Tuesday

As generative AI continues to rapidly evolve, security professionals keep coming back to the same question: Is AI good or bad for cybersecurity? The answer isn’t that simple. Generative AI models came ... Read more

Published Date: Jun 30, 2025 (2 months, 1 week ago)

The following table lists the changes that have been made to the CVE-2025-37899 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    May. 24, 2025

    Action Type Old Value New Value
    Added Reference https://news.ycombinator.com/item?id=44081338
    Added Reference https://sean.heelan.io/2025/05/22/how-i-used-o3-to-find-cve-2025-37899-a-remote-zeroday-vulnerability-in-the-linux-kernels-smb-implementation/
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 20, 2025

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in session logoff The sess->user object can currently be in use by another thread, for example if another connection has sent a session setup request to bind to the session being free'd. The handler for that connection could be in the smb2_sess_setup function which makes use of sess->user.
    Added Reference https://git.kernel.org/stable/c/02d16046cd11a5c037b28c12ffb818c56dd3ef43
    Added Reference https://git.kernel.org/stable/c/2fc9feff45d92a92cd5f96487655d5be23fb7e2b
    Added Reference https://git.kernel.org/stable/c/d5ec1d79509b3ee01de02c236f096bc050221b7f
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
No CVSS metrics available for this vulnerability.