lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc() (Linux Linux)

CVE-2024-47668
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc() If we need to increase the tree depth, allocate a new node, and then race with another thread that increased the tree depth before us, we'll still have a preallocated node that might be used later. If we then use that node for a new non-root node, it'll still have a pointer to the old root instead of being zeroed - fix this by zeroing it in the cmpxchg failure path.

Faiblesses (CWE)

  • CWE-362 — Situation de compétition

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/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:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/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 ba20ba2e3743bac786dff777954c11930256075e < 0f27f4f445390cb7f73d4209cb2bf32834dc53da ; affected ba20ba2e3743bac786dff777954c11930256075e < 99418ec776a39609f50934720419e0b464ca2283 ; affected ba20ba2e3743bac786dff777954c11930256075e < ad5ee9feebc2eb8cfc76ed74a2d6e55343b0e169 ; affected ba20ba2e3743bac786dff777954c11930256075e < ebeff038744c498a036e7a92eb8e433ae0a386d7 ; affected ba20ba2e3743bac786dff777954c11930256075e < d942e855324a60107025c116245095632476613e ; affected ba20ba2e3743bac786dff777954c11930256075e < 0f078f8ca93b28a34e20bd050f12cd4efeee7c0f
Linux · Linuxaffected 5.1 ; unaffected 0 < 5.1 ; unaffected 5.4.284 ≤ 5.4.* ; unaffected 5.10.226 ≤ 5.10.* ; unaffected 5.15.167 ≤ 5.15.* ; unaffected 6.1.110 ≤ 6.1.*

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