Bug 2360294 (CVE-2025-22041) - CVE-2025-22041 kernel: ksmbd: fix use-after-free in ksmbd_sessions_deregister()
Summary: CVE-2025-22041 kernel: ksmbd: fix use-after-free in ksmbd_sessions_deregister()
Keywords:
Status: NEW
Alias: CVE-2025-22041
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-16 15:06 UTC by OSIDB Bzimport
Modified: 2025-04-17 06:03 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-16 15:06:48 UTC
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.

Comment 1 Avinash Hanwate 2025-04-17 05:56:53 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025041600-CVE-2025-22041-6dbd@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.