smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open() (Linux Linux)

CVE-2024-46742
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open() null-ptr-deref will occur when (req_op_level == SMB2_OPLOCK_LEVEL_LEASE) and parse_lease_state() return NULL. Fix this by check if 'lease_ctx_info' is NULL. Additionally, remove the redundant parentheses in parse_durable_handle_context().

Faiblesses (CWE)

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

Références

Scores

VersionScoreVecteurÉvalué par
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 < 878f32878351104448b86ef5b85d1f8ed6f599fb ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < ec28c35029b7930f31117f9284874b63bea4f31b ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 07f384c5be1f8633b13f0a22616e227570450bc6 ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 3b692794b81f2ecad69a4adbba687f3836824ada ; affected 0626e6641f6b467447c81dd7678a69c66f7746cf < 4e8771a3666c8f216eefd6bd2fd50121c6c437db
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 5.15.181 ≤ 5.15.* ; unaffected 6.1.135 ≤ 6.1.* ; unaffected 6.6.51 ≤ 6.6.* ; unaffected 6.10.10 ≤ 6.10.*

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