Critical severity9.8NVD Advisory· Published Oct 29, 2024· Updated Aug 4, 2026
CVE-2024-50086
CVE-2024-50086
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
17- osv-coords11 versionspkg:linux/kernelpkg:rpm/opensuse/kernel-source&distro=openSUSE%20Tumbleweedpkg:deb/ubuntu/[email protected]?arch=source&distro=oracularpkg:rpm/opensuse/kernel-source-longterm&distro=openSUSE%20Tumbleweedpkg:deb/ubuntu/[email protected]?arch=source&distro=oracularpkg:deb/ubuntu/[email protected]?arch=source&distro=oracularpkg:deb/ubuntu/[email protected]?arch=source&distro=oracularpkg:deb/ubuntu/[email protected]?arch=source&distro=oracularpkg:deb/ubuntu/[email protected]?arch=source&distro=oracularpkg:deb/ubuntu/[email protected]?arch=source&distro=oracularpkg:deb/ubuntu/[email protected]?arch=source&distro=oracular
>= 5.15.0, < 5.15.171+ 10 more
- (no CPE)range: >= 5.15.0, < 5.15.171
- (no CPE)range: < 6.11.8-1.1
- (no CPE)range: < 6.11.0-1010.11
- (no CPE)range: < 6.12.11-1.1
- (no CPE)range: < 6.11.0-1009.10
- (no CPE)range: < 6.11.0-1008.8
- (no CPE)range: < 6.11.0-1011.12
- (no CPE)range: < 6.11.0-18.18
- (no CPE)range: < 6.11.0-1009.9
- (no CPE)range: < 6.11.0-1009.9
- (no CPE)range: < 6.11.0-1005.5
Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/5511999e9615e4318e9142d23b29bd1597befc08nvdPatch
- git.kernel.org/stable/c/7aa8804c0b67b3cb263a472d17f2cb50d7f1a930nvdPatch
- git.kernel.org/stable/c/a9839c37fd813b432988f58a9d9dd59253d3eb2cnvdPatch
- git.kernel.org/stable/c/ee371898b53a9b9b51c02d22a8c31bfb86d45f0dnvdPatch
- git.kernel.org/stable/c/0f62358ce85b2d4c949ef1b648be01b29cec667anvd
- lists.debian.org/debian-lts-announce/2025/01/msg00001.htmlnvd
News mentions
0No linked articles in our index yet.