rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read (Linux Linux)

CVE-2024-58069
HIGH 7.8

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: rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read The nvmem interface supports variable buffer sizes, while the regmap interface operates with fixed-size storage. If an nvmem client uses a buffer size less than 4 bytes, regmap_read will write out of bounds as it expects the buffer to point at an unsigned int. Fix this by using an intermediary unsigned int to hold the value.

Faiblesses (CWE)

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: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 · nvd@nist.gov (Primary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 fadfd092ee9138825d8c2a4f95719d2e2e3202b9 < 21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4 ; affected fadfd092ee9138825d8c2a4f95719d2e2e3202b9 < 6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c ; affected fadfd092ee9138825d8c2a4f95719d2e2e3202b9 < e5536677da803ed54a29a446515c28dce7d3d574 ; affected fadfd092ee9138825d8c2a4f95719d2e2e3202b9 < c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1 ; affected fadfd092ee9138825d8c2a4f95719d2e2e3202b9 < 9adefa7b9559d0f21034a5d5ec1b55840c9348b9 ; affected fadfd092ee9138825d8c2a4f95719d2e2e3202b9 < e5e06455760f2995b16a176033909347929d1128
Linux · Linuxaffected 5.2 ; unaffected 0 < 5.2 ; unaffected 5.4.291 ≤ 5.4.* ; unaffected 5.10.235 ≤ 5.10.* ; unaffected 5.15.179 ≤ 5.15.* ; unaffected 6.1.129 ≤ 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