VDB

CVE-2024-50086

CVE-2024-50086 PUBLISHED CVSS 9.8 CRITICAL

ksmbd: fix user-after-free from session log off

Reported by linux · Published October 29, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.11.5, 6.6.58, 6.1.114
LinuxLinuxee371898b53a9b9b51c02d22a8c31bfb86d45f0d, a9839c37fd813b432988f58a9d9dd59253d3eb2c, 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930, 5511999e9615e4318e9142d23b29bd1597befc08, 5.15, 0f62358ce85b2d4c949ef1b648be01b29cec667a

Risk scores

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

Affected products

VendorProductVersions
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf
LinuxLinux5.15, 0, 5.15.171
LinuxLinux6.12, 5.15.171, 6.1.114
linuxlinux_kernel5.15, 5.15, 5.15

Timeline

  • Oct 28, 2024 CVE Published
  • Oct 29, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 29, 2024 Coalition ESS Score (21 in total, the first dated here)
  • Jan 2, 2026 Security Advisory (129 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (114 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-50086
vulnetix vdb fixes CVE-2024-50086

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-50086/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›