CVE-2025-22040

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.

Score
CVSS 3.1 8.8 High
Status
Analyzed - 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-04-16
Last modified
2026-08-05
Weaknesses
CWE-416

Affected products

References