CVE-2024-50086ksmbd: fix user-after-free from session log off
- 9.8CriticalCVSS base score
- 0.48%Exploitation in 30 daysEPSS · top 58% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 8 days later
· 8 days later
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADPADP (enrichment) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.48% · top 58% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 0f62358ce85b2d4c949ef1b648be01b29cec667a
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < a9839c37fd813b432988f58a9d9dd59253d3eb2c
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 5511999e9615e4318e9142d23b29bd1597befc08
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < ee371898b53a9b9b51c02d22a8c31bfb86d45f0d
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930
- affected 5.15
- unaffected < 5.15
- unaffected 5.15.171 – ≤ 5.15.*
- unaffected 6.1.114 – ≤ 6.1.*
- unaffected 6.6.58 – ≤ 6.6.*
- unaffected 6.11.5 – ≤ 6.11.*
- unaffected 6.12 – ≤ *
References
References6
- https://git.kernel.org/stable/c/0f62358ce85b2d4c949ef1b648be01b29cec667a (opens in a new tab)
- https://git.kernel.org/stable/c/a9839c37fd813b432988f58a9d9dd59253d3eb2c (opens in a new tab)
- https://git.kernel.org/stable/c/5511999e9615e4318e9142d23b29bd1597befc08 (opens in a new tab)
- https://git.kernel.org/stable/c/ee371898b53a9b9b51c02d22a8c31bfb86d45f0d (opens in a new tab)
- https://git.kernel.org/stable/c/7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-45139 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-50086)Record last updated .