High severity · published Apr 16, 2025
CVE-2025-22041
ksmbd: fix use-after-free in ksmbd_sessions_deregister()
8.8
CVSS
0.7%
EPSS
No
On KEV
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in ksmbd_sessions_deregister() In multichannel mode, UAF issue can occur in session_deregister when the second channel sets up a session through the connection of the first channel. session that is freed through the global session table can be accessed again through ->sessions of connection.
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
before 6.1.134; 6.2 before 6.6.87; 6.7 before 6.12.13; 6.13 before 6.13.11; 6.14 before 6.14.2 · source: NVD
LI
Linux · Linux
0626e6641f6b467447c81dd7678a69c66f7746cf before f0eb3f575138b816da74697bd506682574742fcd; 0626e6641f6b467447c81dd7678a69c66f7746cf before a8a8ae303a8395cbac270b5b404d85df6ec788f8; 0626e6641f6b467447c81dd7678a69c66f7746cf before ca042cc0e4f9e0d2c8f86dd67e4b22f30a516a9b; 0626e6641f6b467447c81dd7678a69c66f7746cf before 8ed0e9d2f410f63525afb8351181eea36c80bcf1; 0626e6641f6b467447c81dd7678a69c66f7746cf before 33cc29e221df7a3085ae413e8c26c4e81a151153; 0626e6641f6b467447c81dd7678a69c66f7746cf before 15a9605f8d69dc85005b1a00c31a050b8625e1aa; +1 more · source: vendor