1. Accueil
  2. Vulnérabilités
  3. CVE-2026-64294

CVE-2026-64294

mm: do file ownership checks with the proper mount idmap

Publiée le 25 juil. 2026 · modifiée le 6 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 23/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: mm: do file ownership checks with the proper mount idmap Ever since idmapped mounts were introduced, inode ownership checks (for side-channel protection) in mincore() and madvise(MADV_PAGEOUT) were done against the nop_mnt_idmap, which completely ignores the file's mount's idmap. This results in odd edgecases like: 1) mount/bind-mount with an idmap userA:userB:1 2) userB runs an owner_or_capable() check on file that is owned by userA on-disk/in-memory, but owned by userB after idmap translation 3) owner_or_capable() mysteriously fails as the correct idmap wasn't supplied In the case of mincore/madvise MADV_PAGEOUT, this is usually benign, because file_permission(file, MAY_WRITE) will probably succeed, as it uses the proper idmap internally, but it does not need to be the case on e.g a 0444 file where even the owner itself doesn't have permissions to write to it. Since this is clearly not trivial to get right, introduce a file_owner_or_capable() that can carry the correct semantics, and switch the various users in mm to it. The issue was found by manual code inspection & an off-list discussion with Jan Kara.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (6 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 5.12 — CNA (éditeur ou attributeur)
Linux kernel de 5.12 (inclus) à 6.6.145 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.96 (exclu) — NVD
Linux kernel de 6.13 (inclus) à 6.18.39 (exclu) — NVD
Linux kernel de 6.19 (inclus) à 7.1.4 (exclu) — NVD
Linux kernel 7.2 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1333)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1469)
  4. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1537)
  5. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1596)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
NVD-CWE-noinfo · Non classé

Comment sont obtenues et calculées ces données