ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create (Linux Linux)

CVE-2024-50286
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.67 % · percentile 52 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create There is a race condition between ksmbd_smb2_session_create and ksmbd_expire_session. This patch add missing sessions_table_lock while adding/deleting session from global session table.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 0626e6641f6b467447c81dd7678a69c66f7746cf < f56446ba5378d19e31040b548a14ee9a8f1500ea ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < e923503a56b3385b64ae492e3225e4623f560c5b ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < e7a2ad2044377853cf8c59528dac808a08a99c72 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 0a77715db22611df50b178374c51e2ba0d58866e
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 6.1.117 ≤ 6.1.* ; unaffected 6.6.61 ≤ 6.6.* ; unaffected 6.11.8 ≤ 6.11.* ; unaffected 6.12 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD