7.8high
erofs: fix use-after-free on sbi->sync_decompress
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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!!
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 before 5627e57f1da68ff0146896eb3d2eed25e62adc44, from 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 before 59db5d8bcc65e04d8598afd81ec3a18edb407470, from 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 before 86ab00cf81d44b675bb23db62b88fd76c8ac8cea, from 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 before 00bf6868df65fa95b3854996246d15759fdc7070, from 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 before 95caf60da33d87ed26c28993620f0d92487b0296, from 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 before 1aee05e814d292064bf5fa15733741040cdc48ba, 5.17 Not affected: before 5.17, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.12.94 up to 6.12.*, from 6.18.36 up to 6.18.*, from 7.0.13 up to 7.0.* | CVE List |
| linux linux_kernel | from 5.17 before 6.12.94, from 6.13 before 6.18.36, from 6.19 before 7.0.13, 7.1 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53272 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-53272 changed 2026-11-06 | Public domain |