rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow (Linux Linux)

CVE-2024-38577
HIGH 7.0

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow There is a possibility of buffer overflow in show_rcu_tasks_trace_gp_kthread() if counters, passed to sprintf() are huge. Counter numbers, needed for this are unrealistically high, but buffer overflow is still possible. Use snprintf() with buffer size instead of sprintf(). Found by Linux Verification Center (linuxtesting.org) with SVACE.

Faiblesses (CWE)

  • CWE-120 — Copie de tampon sans vérification de taille (débordement classique)

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.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 edf3775f0ad66879796f594983163f672c4bf1a2 < 17c43211d45f13d1badea3942b76bf16bcc49281 ; affected edf3775f0ad66879796f594983163f672c4bf1a2 < af7b560c88fb420099e29890aa682b8a3efc8784 ; affected edf3775f0ad66879796f594983163f672c4bf1a2 < 08186d0c5fb64a1cc4b43e009314ee6b173ed222 ; affected edf3775f0ad66879796f594983163f672c4bf1a2 < 32d988f48ed287e676a29a15ac30701c35849aec ; affected edf3775f0ad66879796f594983163f672c4bf1a2 < 6593d857ce5b5b802fb73d8091ac9c84b92c1697 ; affected edf3775f0ad66879796f594983163f672c4bf1a2 < 1a240e138071b25944ded0f5b3e357aa99fabcb7
Linux · Linuxaffected 5.8 ; unaffected 0 < 5.8 ; unaffected 5.10.226 ≤ 5.10.* ; unaffected 5.15.167 ≤ 5.15.* ; unaffected 6.1.93 ≤ 6.1.* ; unaffected 6.6.33 ≤ 6.6.*

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