ext4: fix circular lock dependency in ext4_ext_migrate (Linux Linux)

CVE-2026-93269
Non disponible

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: fix circular lock dependency in ext4_ext_migrate Move iput(tmp_inode) after ext4_writepages_up_write() to avoid a circular lock dependency between s_writepages_rwsem and sb_internal (freeze protection). The deadlock scenario: CPU0 (EXT4_IOC_MIGRATE) CPU1 (orphan cleanup during mount) ---- ---- ext4_ext_migrate() ext4_writepages_down_write() s_writepages_rwsem (write) ext4_evict_inode() sb_start_intwrite() [sb_internal] ... ext4_writepages() s_writepages_rwsem (read) [BLOCKED] iput(tmp_inode) ext4_evict_inode() sb_start_intwrite() [BLOCKED] The tmp_inode is a temporary inode with nlink=0 created solely for building the extent tree. Its eviction does not require s_writepages_rwsem protection, so deferring iput() until after releasing the rwsem is safe.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected cb85f4d23f794e24127f3e562cb3b54b0803f456 < f204882d5eaca09f7848f081c9c9b5bbf2234895 ; affected cb85f4d23f794e24127f3e562cb3b54b0803f456 < 452950461241dfed8b1d32e94b227db38c99c5af ; affected cb85f4d23f794e24127f3e562cb3b54b0803f456 < ada23457d4748d6e9c36c6f871fc29a6f558c48c ; affected cb85f4d23f794e24127f3e562cb3b54b0803f456 < e4223231b6860141813637a6413c2371ae4d6fa8 ; affected cb85f4d23f794e24127f3e562cb3b54b0803f456 < 32f7ab52875ec7f800ca67e7176e5743a84baddf ; affected cb85f4d23f794e24127f3e562cb3b54b0803f456 < a897682793eba5de51ee6f3152760374afa629cf
Linux · Linuxaffected 5.6 ; unaffected 0 < 5.6 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.110 ≤ 6.12.* ; unaffected 6.18.52 ≤ 6.18.*

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