CVE-2024-50086CWE-416

CVE-2024-50086

Critical · published October 29, 2024

CVSS v3.1
9.8
EPSS
0%
Percentile
40.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00477 · 40.2th percentile
Weakness
CWE-416 · Use After Free
Published
2024-10-29T05:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel< 6.1.1146.1.114
linux/linux_kernel≥ 6.2, < 6.6.586.6.58
linux/linux_kernel≥ 6.7, < 6.11.56.11.5
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (6)
EPSS history
Timeline
  • 29 OCT 00:50Z
    ksmbd: fix user-after-free from session log off
    cvelistv5