High severity · published Apr 16, 2025
CVE-2025-22040
ksmbd: fix session use-after-free in multichannel connection
8.8
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 53% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
5.15 before 6.1.134; 6.2 before 6.6.87; 6.7 before 6.12.23; 6.13 before 6.13.11; 6.14 before 6.14.2 · source: NVD
LI
Linux · Linux
0626e6641f6b467447c81dd7678a69c66f7746cf before 596407adb9af1ee75fe7c7529607783d31b66e7f; 0626e6641f6b467447c81dd7678a69c66f7746cf before 3980770cb1470054e6400fd97668665975726737; 0626e6641f6b467447c81dd7678a69c66f7746cf before 9069939d762138e232a6f79e3e1462682ed6a17d; 0626e6641f6b467447c81dd7678a69c66f7746cf before 94c281721d4ed2d972232414b91d98a6f5bdb16b; 0626e6641f6b467447c81dd7678a69c66f7746cf before 7dfbd4c43eed91dd2548a95236908025707a8dfd; 0626e6641f6b467447c81dd7678a69c66f7746cf before fa4cdb8cbca7d6cb6aa13e4d8d83d1103f6345db; +1 more · source: vendor
DL
Debian Linux · Debian
11.0 · source: NVD