---
cve: "CVE-2024-50086"
severity: "CRITICAL"
cvss: 9.8
epss: "0.5%"
vendor: "Linux"
kev: false
exploited: false
published: "2024-10-29 01:15:05"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-10-27T10:31:17+01:00"
---

# CVE-2024-50086

> 9.8 CRITICAL

## Beschreibung

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.

## CNA-Record (Kanon, cvelistV5)

- CNA: **Linux**
- State: PUBLISHED
- Stand: 2026-08-05 11:41:31
- CNA-CVSS: **9.8** (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)

## CISA-Anreicherung (vulnrichment/ADP)

- CISA-SSVC (Coordinator, v2.0.3):
  - Exploitation: **none**
  - Automatable: **no**
  - Technical Impact: **total**

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Hoch | bad |

## Schwachstellen-Klasse

- **CWE-416** — Use After Free
  The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

## Patch verfügbar (OSV)

- Kernel ≥ 5.15.171
- Kernel ≥ 6.1.114
- Kernel ≥ 6.6.58
- Kernel ≥ 6.11.5

## BSI-Hinweise (deutsch)

- [Linux Kernel: Mehrere Schwachstellen](https://wid.cert-bund.de/portal/wid/sicherheitshinweis/WID-SEC-W-2024-3289) — _BSI-Einstufung: mittel_
  Ein lokaler Angreifer kann mehrere Schwachstellen im Linux Kernel ausnutzen, um einen Denial of Service Angriff durchzuführen oder einen unspezifischen Angriff durchzuführen.

## Referenzen

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

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/sicherheitsluecken/cve-2024-50086/) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI WID (CSAF)_
