What’s Vulnerable › Vulnerabilities

CVE-2024-50286: ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create There is a race condition between ksmbd_smb2_session_create and ksmbd_expire_session. This patch add missing sessions_table_lock while adding/deleting session from global session table.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.117, 6.11.8, 6.6.61. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-50286 or the next vulnerability affects your stack