VDB

CVE-2025-22041

CVE-2025-22041 PUBLISHED CVSS 8.8 HIGH

ksmbd: fix use-after-free in ksmbd_sessions_deregister()

Reported by linux · Published April 16, 2025

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in ksmbd_sessions_deregister() In multichannel mode, UAF issue can occur in session_deregister when the second channel sets up a session through the connection of the first channel. session that is freed through the global session table can be accessed again through ->sessions of connection.

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.134
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf, 6.6.87, 6.13.11
linuxlinux_kernel5.15, 5.15, 5.15

Timeline

  • Apr 16, 2025 CVE Published
  • Apr 17, 2025 EPSS Score (30 in total, the first dated here)
  • May 30, 2025 Coalition ESS Score (11 in total, the first dated here)
  • Dec 21, 2025 Security Advisory (316 in total, the first dated here)
  • Dec 21, 2025 CVE Updated
  • Apr 20, 2026 Distribution Patch (309 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-22041
vulnetix vdb fixes CVE-2025-22041

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-22041/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 ›