CVEvulnerability
CVE-2024-50086
7.0 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-10-29
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.0 HIGH — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416
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.
Affected configurations
• linux linux kernel (< 6.1.114)
• linux linux kernel (>= 6.2 < 6.6.58)
• linux linux kernel (>= 6.7 < 6.11.5)
• linux linux kernel 6.12
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://git.kernel.org/stable/c/0f62358ce85b2d4c949ef1b648be01b29cec667a git.kernel.org
- https://git.kernel.org/stable/c/5511999e9615e4318e9142d23b29bd1597befc08 Patch
- https://git.kernel.org/stable/c/7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 Patch
- https://git.kernel.org/stable/c/a9839c37fd813b432988f58a9d9dd59253d3eb2c Patch
- https://git.kernel.org/stable/c/ee371898b53a9b9b51c02d22a8c31bfb86d45f0d Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org