efi/libstub: Free correct pointer on failure (Linux Linux)

CVE-2024-56573
HIGH 7.0

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: efi/libstub: Free correct pointer on failure cmdline_ptr is an out parameter, which is not allocated by the function itself, and likely points into the caller's stack. cmdline refers to the pool allocation that should be freed when cleaning up after a failure, so pass this instead to free_pool().

Faiblesses (CWE)

  • CWE-763 — Libération d'un pointeur ou d'une référence invalide

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/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 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 < d173aee5709bd0994d216d60589ec67f8b11376a ; affected 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 < eaafbcf0a5782ae412ca7de12ef83fc48ccea4cf ; affected 42c8ea3dca094ab82776ca706fb7a9cbe8ac3dc9 < 06d39d79cbd5a91a33707951ebf2512d0e759847
Linux · Linuxaffected 6.2 ; unaffected 0 < 6.2 ; unaffected 6.6.64 ≤ 6.6.* ; unaffected 6.12.4 ≤ 6.12.* ; unaffected 6.13 ≤ *

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