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—
Product
Linux Kernel
PublishedApr 16, 2025
First seenApr 16, 2025
Weakness typeCWE-416Use after free
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
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 5.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.2 | 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2 |
| debian debian_linux | 11.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.