CVE-2025-22041 HIGH

CVE-2025-22041: ksmbd: fix use-after-free in ksmbd_sessions_deregister()

Vendor Linux
Product Linux
Published April 16, 2025
Last update May 11, 2026

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 16, 2025 CVE published
May 11, 2026 Record updated