erofs: fix use-after-free on sbi->sync_decompress (Linux Linux)

CVE-2026-53272
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: erofs: fix use-after-free on sbi->sync_decompress z_erofs_decompress_kickoff() can race with filesystem unmount, causing a use-after-free on sbi->sync_decompress. When I/O completes, z_erofs_endio() calls z_erofs_decompress_kickoff() to queue z_erofs_decompressqueue_work() asynchronously. Then, after all folios are unlocked, unmount workflow can proceed and sbi will be freed before accessing to sbi->sync_decompress. Thread (unmount) I/O completion kworker queue_work z_erofs_decompressqueue_work (all folios are unlocked) cleanup_mnt .. erofs_kill_sb erofs_sb_free kfree(sbi) access sbi->sync_decompress // UAF!!

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 < 5627e57f1da68ff0146896eb3d2eed25e62adc44 ; affected 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 < 59db5d8bcc65e04d8598afd81ec3a18edb407470 ; affected 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 < 86ab00cf81d44b675bb23db62b88fd76c8ac8cea ; affected 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 < 00bf6868df65fa95b3854996246d15759fdc7070 ; affected 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 < 95caf60da33d87ed26c28993620f0d92487b0296 ; affected 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 < 1aee05e814d292064bf5fa15733741040cdc48ba
Linux · Linuxaffected 5.17 ; unaffected 0 < 5.17 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.94 ≤ 6.12.* ; unaffected 6.18.36 ≤ 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