bpf, sockmap: Several fixes to bpf_msg_pop_data (Linux Linux)

CVE-2024-56720
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Several fixes to bpf_msg_pop_data Several fixes to bpf_msg_pop_data, 1. In sk_msg_shift_left, we should put_page 2. if (len == 0), return early is better 3. pop the entire sk_msg (last == msg->sg.size) should be supported 4. Fix for the value of variable "a" 5. In sk_msg_shift_left, after shifting, i has already pointed to the next element. Addtional sk_msg_iter_var_next may result in BUG.

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile
  • CWE-193 — Erreur de décalage d'une unité

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.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
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 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 < d3f5763b3062514a234114e97bbde74d8d702449 ; affected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 < d26d977633d1d0b8bf9407278189bd0a8d973323 ; affected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 < e1f54c61c4c9a5244eb8159dce60d248f7d97b32 ; affected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 < f58d3aa457e77a3d9b3df2ab081dcf9950f6029f ; affected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 < 98c7ea7d11f2588e8197db042e0291e4ac8f8346 ; affected 7246d8ed4dcce23f7509949a77be15fa9f0e3d28 < 785180bed9879680d8e5c5e1b54c8ae8d948f4c8
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.4.287 ≤ 5.4.* ; unaffected 5.10.231 ≤ 5.10.* ; unaffected 5.15.174 ≤ 5.15.* ; unaffected 6.1.120 ≤ 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