CVE-2025-22040

High

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix session use-after-free in multichannel connection There is a race condition between session setup and ksmbd_sessions_deregister. The session can be freed before the connection is added to channel list of session. This patch check reference count of session before freeing it.

SeverityHigh
CVSS8.8
Exploit probability—
ProductLinux Kernel
PublishedApr 16, 2025
First seenApr 16, 2025

How to fix

Update
  • linux linux_kernel6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.15 ≤ v < 6.1.134, 6.2 ≤ v < 6.6.87, 6.7 ≤ v < 6.12.23, 6.13 ≤ v < 6.13.11, 6.14 ≤ v < 6.14.26.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2
debian debian_linux11.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.