NetSight
critical9.8

CVE-2024-50086

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 lo…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
before 6.1.114
from 6.2 before 6.6.58
from 6.7 before 6.11.5
Version 6.12

Weakness classification

References