ksmbd: validate session id and tree id in the compound request (Linux Linux)

CVE-2023-3866
HIGH 7.5

En bref

Source
NVD
EPSS
EPSS 12.47 % · centile 96 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate session id and tree id in the compound request This patch validate session id and tree id in compound request. If first operation in the compound is SMB2 ECHO request, ksmbd bypass session and tree validation. So work->sess and work->tcon could be NULL. If secound request in the compound access work->sess or tcon, It cause NULL pointer dereferecing error.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 0626e6641f6b467447c81dd7678a69c66f7746cf < eb947403518ea3d93f6d89264bb1f5416bb0c7d0 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 854156d12caa9d36de1cf5f084591c7686cc8a9d ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < d1066c1b3663401cd23c0d6e60cdae750ce00c0f ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 5005bcb4219156f1bf7587b185080ec1da08518e
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 5.15.121 ≤ 5.15.* ; unaffected 6.1.36 ≤ 6.1.* ; unaffected 6.3.10 ≤ 6.3.* ; unaffected 6.4 ≤ *

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