binfmt_flat: Fix corruption when not offsetting data start (Linux Linux)

CVE-2024-44966
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: binfmt_flat: Fix corruption when not offsetting data start Commit 04d82a6d0881 ("binfmt_flat: allow not offsetting data start") introduced a RISC-V specific variant of the FLAT format which does not allocate any space for the (obsolete) array of shared library pointers. However, it did not disable the code which initializes the array, resulting in the corruption of sizeof(long) bytes before the DATA segment, generally the end of the TEXT segment. Introduce MAX_SHARED_LIBS_UPDATE which depends on the state of CONFIG_BINFMT_FLAT_NO_DATA_START_OFFSET to guard the initialization of the shared library pointer region so that it will only be initialized if space is reserved for it.

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 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 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8 < 3a684499261d0f7ed5ee72793025c88c2276809c ; affected 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8 < af65d5383854cc3f172a7d0843b628758bf462c8 ; affected 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8 < 49df34d2b7da9e57c839555a2f7877291ce45ad1 ; affected 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8 < 9350ba06ee61db392c486716ac68ecc20e030f7c ; affected 04d82a6d0881ef1ab1e9f66f10805177ee2fb1e8 < 3eb3cd5992f7a0c37edc8d05b4c38c98758d8671
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 5.15.165 ≤ 5.15.* ; unaffected 6.1.106 ≤ 6.1.* ; unaffected 6.6.47 ≤ 6.6.* ; unaffected 6.10.6 ≤ 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