mm/compaction: fix UBSAN shift-out-of-bounds warning (Linux Linux)

CVE-2025-21815
HIGH 7.1

En bref

Source
NVD
EPSS
EPSS 0.19 % · centile 9 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: mm/compaction: fix UBSAN shift-out-of-bounds warning syzkaller reported a UBSAN shift-out-of-bounds warning of (1UL << order) in isolate_freepages_block(). The bogus compound_order can be any value because it is union with flags. Add back the MAX_PAGE_ORDER check to fix the warning.

Faiblesses (CWE)

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: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 3da0272a4c7d0d37b47b28e87014f421296fc2be < 4491159774d973a9e2e998d25d8fbb20fada6dfa ; affected 3da0272a4c7d0d37b47b28e87014f421296fc2be < 10b7d3eb535098ccd4c82a182a33655d8a0e5c88 ; affected 3da0272a4c7d0d37b47b28e87014f421296fc2be < d1366e74342e75555af2648a2964deb2d5c92200
Linux · Linuxaffected 6.7 ; unaffected 0 < 6.7 ; unaffected 6.12.14 ≤ 6.12.* ; unaffected 6.13.3 ≤ 6.13.* ; unaffected 6.14 ≤ *

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