Bug 2322322 (CVE-2024-50086) - CVE-2024-50086 kernel: ksmbd: fix user-after-free from session log off
Summary: CVE-2024-50086 kernel: ksmbd: fix user-after-free from session log off
Keywords:
Status: NEW
Alias: CVE-2024-50086
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2322383
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-29 01:02 UTC by OSIDB Bzimport
Modified: 2024-10-29 08:29 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-29 01:02:21 UTC
In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix user-after-free from session log off

There is racy issue between smb2 session log off and smb2 session setup.
It will cause user-after-free from session log off.
This add session_lock when setting SMB2_SESSION_EXPIRED and referece
count to session struct not to free session while it is being used.


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