Vulnerabilities · 2024 · Linux
CVE-2024-50086
Linux Kernel vulnerability
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
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/5511999e9615e4318e9142d23b29bd1597befc08 · Patch
- git.kernel.org/stable/c/7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 · Patch
- git.kernel.org/stable/c/a9839c37fd813b432988f58a9d9dd59253d3eb2c · Patch
- git.kernel.org/stable/c/ee371898b53a9b9b51c02d22a8c31bfb86d45f0d · Patch
- git.kernel.org/stable/c/0f62358ce85b2d4c949ef1b648be01b29cec667a
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- nvd.nist.gov/vuln/detail/CVE-2024-50086
- cve.org/CVERecord?id=CVE-2024-50086
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.