bus: mhi: ep: Update read pointer only after buffer is written (Linux Linux)

CVE-2025-38429
CRITICAL 10.0

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: bus: mhi: ep: Update read pointer only after buffer is written Inside mhi_ep_ring_add_element, the read pointer (rd_offset) is updated before the buffer is written, potentially causing race conditions where the host sees an updated read pointer before the buffer is actually written. Updating rd_offset prematurely can lead to the host accessing an uninitialized or incomplete element, resulting in data corruption. Invoke the buffer write before updating rd_offset to ensure the element is fully written before signaling its availability.

Faiblesses (CWE)

  • CWE-908 — Utilisation d'une ressource non initialisée

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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 bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 < e2176aa3ba4361e98d9f91178a762dca6cf21fe0 ; affected bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 < 44b9620e82bbec2b9a6ac77f63913636d84f96dc ; affected bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 < f704a80d9fa268e51a6cc5242714502c3c1fa605 ; affected bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 < 0007ef098dab48f1ba58364c40b4809f1e21b130 ; affected bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 < 6f18d174b73d0ceeaa341f46c0986436b3aefc9a
Linux · Linuxaffected 5.19 ; unaffected 0 < 5.19 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.95 ≤ 6.6.* ; unaffected 6.12.35 ≤ 6.12.* ; unaffected 6.15.4 ≤ 6.15.*

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