CVE-2024-50086

HIGH EPSS 11.1%
Published Oct 29, 20241y ago · Modified Jun 17, 20261w ago
7.0 CVSS 3.1
High
Find Similar
Published Oct 29, 2024 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
7.0
Exploitability
1.0
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
11.1% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-416 Use After Free Memory Safety

Affected Products 6

VendorProductVersionRange
linuxlinux_kernel* <6.1.114
linuxlinux_kernel*≥6.2  –  <6.6.58
linuxlinux_kernel*≥6.7  –  <6.11.5
linuxlinux_kernel6.12any
linuxlinux_kernel6.12any
linuxlinux_kernel6.12any

References 6

  • git.kernel.org https://git.kernel.org/stable/c/0f62358ce85b2d4c949ef1b648be01b29cec667a
  • git.kernel.org https://git.kernel.org/stable/c/5511999e9615e4318e9142d23b29bd1597befc08
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/7aa8804c0b67b3cb263a472d17f2cb50d7f1a930
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a9839c37fd813b432988f58a9d9dd59253d3eb2c
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ee371898b53a9b9b51c02d22a8c31bfb86d45f0d
    Patch
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/5511999e9615e4318e9142d23b29bd1597befc08
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/7aa8804c0b67b3cb263a472d17f2cb50d7f1a930
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a9839c37fd813b432988f58a9d9dd59253d3eb2c
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/ee371898b53a9b9b51c02d22a8c31bfb86d45f0d
    Patch