VDB

CVE-2025-37899

CVE-2025-37899 PUBLISHED CVSS 8.8 HIGH

ksmbd: fix use-after-free in session logoff

Reported by linux · Published May 20, 2025

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.

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf
LinuxLinux5.15, 0, 6.1.159
linuxlinux_kernel5.15, 5.15, 5.15
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf

Timeline

  • May 20, 2025 CVE Published
  • May 21, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 9, 2025 VulnCheck KEV Exploitation
  • Oct 22, 2025 CVE Updated
  • Oct 24, 2025 PoC Published (2 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (214 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (222 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-37899
vulnetix vdb fixes CVE-2025-37899

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37899/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›