CVE Database
/

CVE-2025-22040

Back to search

CVE-2025-22040

Published: Apr 16, 2025

Modified: May 11, 2026

PUBLISHED

CVSS v3.1

8.8

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.

VendorProductVersions

Linux

Linux

affected
0626e6641f6b467447c81dd7678a69c66f7746cf - < 596407adb9af1ee75fe7c7529607783d31b66e7f
affected
0626e6641f6b467447c81dd7678a69c66f7746cf - < 3980770cb1470054e6400fd97668665975726737
affected
0626e6641f6b467447c81dd7678a69c66f7746cf - < 9069939d762138e232a6f79e3e1462682ed6a17d
affected
0626e6641f6b467447c81dd7678a69c66f7746cf - < 94c281721d4ed2d972232414b91d98a6f5bdb16b
affected
0626e6641f6b467447c81dd7678a69c66f7746cf - < 7dfbd4c43eed91dd2548a95236908025707a8dfd

+1 more versions

Linux

Linux

affected
5.15
unaffected
0 - < 5.15
unaffected
6.1.134 - <= 6.1.*
unaffected
6.6.87 - <= 6.6.*
unaffected
6.12.23 - <= 6.12.*

+3 more versions

CVSS v3.1 Details

CVSS v3.1 Vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector

Network

Attack Complexity

Low

Privileges Required

Low

User Interaction

None

Scope

Unchanged

Confidentiality

High

Integrity

High

Availability

High

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now