mm/hugetlb: preserve mremap address delta when skipping page tables (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.16 % · centile 5 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: preserve mremap address delta when skipping page tables move_hugetlb_page_tables() optimizes mremap() by advancing to the last entry in the page table when the source page table does not exist, either initially or after unsharing a PMD table. The common loop increment then steps to the first entry in the next page table. However, the code advances both the source and destination addresses to the last entries in their respective page tables, which is wrong. The destination address must be advanced only by the same amount as the source address. If the source and destination offsets within their page tables differ, the destination address can be advanced too far, causing follow-up issues. Fix this by advancing the destination address by the source advance distance. With a reproducer, we were able to trigger a kernel panic on x86-64. With this fix in place, we can no longer reproduce the issue.
Références
- https://git.kernel.org/stable/c/ab4f0f68cf4773dc0513baccbbe790c80a301773
- https://git.kernel.org/stable/c/cf73ef2a761df9329af116c905a7a94b317921e4
- https://git.kernel.org/stable/c/7a96b0f657c8d799ea5b8e02fc9ec7cca0e6e7ff
- https://git.kernel.org/stable/c/850cc4a84b36a0062dcd0391acd2450e20ab0767
- https://git.kernel.org/stable/c/480a39b0a12c977ed6e755f3d12a23424c57d11f
- https://git.kernel.org/stable/c/9bdad082d44bdcf93716973dcba6be77e8a06e7b
Références européennes
- ENISA EUVD · EUVD-2026-94322
- GCVE · GCVE-0-2026-98373
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1374 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected e95a9851787bbb3cd4deb40fe8bab03f731852d1 < ab4f0f68cf4773dc0513baccbbe790c80a301773 ; affected e95a9851787bbb3cd4deb40fe8bab03f731852d1 < cf73ef2a761df9329af116c905a7a94b317921e4 ; affected e95a9851787bbb3cd4deb40fe8bab03f731852d1 < 7a96b0f657c8d799ea5b8e02fc9ec7cca0e6e7ff ; affected e95a9851787bbb3cd4deb40fe8bab03f731852d1 < 850cc4a84b36a0062dcd0391acd2450e20ab0767 ; affected e95a9851787bbb3cd4deb40fe8bab03f731852d1 < 480a39b0a12c977ed6e755f3d12a23424c57d11f ; affected e95a9851787bbb3cd4deb40fe8bab03f731852d1 < 9bdad082d44bdcf93716973dcba6be77e8a06e7b |
| Linux · Linux | affected 6.0 ; unaffected 0 < 6.0 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.112 ≤ 6.12.* ; unaffected 6.18.55 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |