1. Accueil
  2. Vulnérabilités
  3. CVE-2025-68239

CVE-2025-68239

binfmt_misc: restore write access before closing files opened by open_exec()

Publiée le 16 déc. 2025 · modifiée le 15 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 13/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: binfmt_misc: restore write access before closing files opened by open_exec() bm_register_write() opens an executable file using open_exec(), which internally calls do_open_execat() and denies write access on the file to avoid modification while it is being executed. However, when an error occurs, bm_register_write() closes the file using filp_close() directly. This does not restore the write permission, which may cause subsequent write operations on the same file to fail. Fix this by calling exe_file_allow_write_access() before filp_close() to restore the write permission properly.

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

Produits et versions affectés

Linux (7 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 4.9.262 (inclus) à 4.10 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.14.226 (inclus) à 4.15 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.19.181 (inclus) à 4.20 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.4.106 (inclus) à 5.5 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.10.24 (inclus) à 5.11 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.11.7 (inclus) à 5.12 (exclu) — CNA (éditeur ou attributeur)
Linux 5.12 — CNA (éditeur ou attributeur)

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-1298)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)

Comment sont obtenues et calculées ces données