NetSight
high8.8

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 betw…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.15 before 6.1.134
from 6.2 before 6.6.87
from 6.7 before 6.12.23
from 6.13 before 6.13.11
from 6.14 before 6.14.2
DebianDebian Linux
Version 11.0

Weakness classification

References