accel/ivpu: Reject firmware log with size smaller than header (Linux Linux)

CVE-2026-72089
HIGH 7.1

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 6 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: accel/ivpu: Reject firmware log with size smaller than header fw_log_from_bo() validates the tracing buffer header_size and that the log fits within the BO, but never checks that log->size is at least log->header_size. fw_log_print_buffer() then computes: u32 data_size = log->size - log->header_size; which underflows to a near-U32_MAX value when firmware reports a log whose size is smaller than its header. That huge data_size defeats the log_start/log_end bounds clamps added by commit dd1311bcf0e6 ("accel/ivpu: Add bounds checks for firmware log indices"), so fw_log_print_lines() reads far past the small real data region of the BO. A size of 0 also makes fw_log_from_bo() advance the offset by 0, causing the callers to loop forever on the same header. Reject logs whose size is smaller than the header (which also rejects size == 0).

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ d4e4257afa6ed5205eda993180401fc2c20e4b60 < 5592a207e158b738d9c1d27f208dbbea13ae7606
affectée : ≥ d4e4257afa6ed5205eda993180401fc2c20e4b60 < dc9a1cda2e46d0254730a6f93cfe48532895f33c
affectée : ≥ d4e4257afa6ed5205eda993180401fc2c20e4b60 < 257321a1c036da417f5d9c47b95c7e58f62bf263
affectée : ≥ d4e4257afa6ed5205eda993180401fc2c20e4b60 < 6920e62be4c969a68ce4ebc59da68c6cbc9512e5
affectée : ≥ d4e4257afa6ed5205eda993180401fc2c20e4b60 < ddb44baed257560f192b145ed36cf8c0a412de47
Autres versions : non affectée
Linux · Linux
affectée : 6.6
non affectée : ≥ 0 < 6.6
non affectée : ≥ 6.6.148 ≤ 6.6.*
non affectée : ≥ 6.12.97 ≤ 6.12.*
non affectée : ≥ 6.18.40 ≤ 6.18.*
non affectée : ≥ 7.1.5 ≤ 7.1.*
non affectée : ≥ 7.2 ≤ *
Autres versions : affectée

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