CVE-2024-50086
Summary
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.
Impact & exploitability
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: https://git.kernel.org/stable/c/5511999e9615e4318e9142d23b29bd1597befc08 ↗
Additional information
- NVD record
- https://git.kernel.org/stable/c/5511999e9615e4318e9142d23b29bd1597befc08Patch
- https://git.kernel.org/stable/c/7aa8804c0b67b3cb263a472d17f2cb50d7f1a930Patch
- https://git.kernel.org/stable/c/a9839c37fd813b432988f58a9d9dd59253d3eb2cPatch
- https://git.kernel.org/stable/c/ee371898b53a9b9b51c02d22a8c31bfb86d45f0dPatch
- https://git.kernel.org/stable/c/0f62358ce85b2d4c949ef1b648be01b29cec667a
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html