First published: Tue Oct 29 2024(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | <6.1.114 | |
Linux Kernel | >=6.2<6.6.58 | |
Linux Kernel | >=6.7<6.11.5 | |
Linux Kernel | =6.12-rc1 | |
Linux Kernel | =6.12-rc2 | |
Linux Kernel | =6.12-rc3 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.123-1 6.1.128-1 6.12.12-1 6.12.15-1 | |
debian/linux-6.1 | 6.1.119-1~deb11u1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The CVE-2024-50086 has a moderate severity level due to the user-after-free vulnerability in the Linux kernel.
You can mitigate CVE-2024-50086 by updating the Linux kernel to a version that includes the fix, as detailed in the security advisories.
CVE-2024-50086 affects Linux kernel versions from 6.2 up to, but not including, 6.6.58, as well as some release candidates.
CVE-2024-50086 can lead to potential memory corruption due to a race condition during the SMB2 session log off and setup.
Yes, CVE-2024-50086 can be exploited remotely under certain conditions, making it important to address promptly.