dm array: reject an array block whose value size is not the caller's (Linux Linux)

CVE-2026-89573
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: dm array: reject an array block whose value size is not the caller's array_block_check() can only compare the header against itself, so a block with value_size 4 and max_entries 1018 is internally consistent and passes. dm-cache keeps two arrays -- mappings at 8 bytes and hints at 4 -- and the roots for both live in the superblock. Point the mappings root at a hint block and __load_mappings() walks it through an info whose value size is 8, so element_at() strides 8 bytes over 4-byte entries and reaches offset 8160 of a 4096-byte block. get_ablock() and __shadow_ablock() are the two places that hold the block and the caller at once. Reject there when the two value sizes disagree. Arrays only ever read their own blocks, so this fires on crafted metadata only.

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)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 6513c29f44f2cc970c0e9fecfe5a6526c3e73025 < 35cd3b278448c79614f65ab6bbc9ed348d847df9 ; affected 6513c29f44f2cc970c0e9fecfe5a6526c3e73025 < a8237cb8fa0a628d903e76635bfdeae4202036b9 ; affected 6513c29f44f2cc970c0e9fecfe5a6526c3e73025 < a530a9a419a7c5fdb7dae55ffa2dd7a130631842 ; affected 6513c29f44f2cc970c0e9fecfe5a6526c3e73025 < 522fa26da24ccaa298ebe3c1c97395d2d63dfc21 ; affected 6513c29f44f2cc970c0e9fecfe5a6526c3e73025 < 7bf4b5cb42a4e27f36bcbc6209d82a5da9c0168c ; affected 6513c29f44f2cc970c0e9fecfe5a6526c3e73025 < ac4a5eb8b002a0742c938fc98b922e243f53573a
Linux · Linuxaffected 3.9 ; unaffected 0 < 3.9 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

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