What’s Vulnerable › Vulnerabilities
CVE-2026-53272: erofs: fix use-after-free on sbi->sync_decompress
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-25 · updated 2026-10-30
- Weakness: CWE-416
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 products
- 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-rc1, 7.1-rc2, 7.1-rc3, 7.1-rc4, 7.1-rc5, 7.1-rc6 — fixed in 6.12.94, 6.18.36, 7.0.13
- Linux: 5.17 — fixed in 7.1
How to fix
Upgrade to a fixed version: Linux kernel 6.12.94, 6.18.36, 7.0.13; Linux 7.1. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/00bf6868df65fa95b3854996246d15759fdc7070
- https://git.kernel.org/stable/c/1aee05e814d292064bf5fa15733741040cdc48ba
- https://git.kernel.org/stable/c/5627e57f1da68ff0146896eb3d2eed25e62adc44
- https://git.kernel.org/stable/c/59db5d8bcc65e04d8598afd81ec3a18edb407470
- https://git.kernel.org/stable/c/86ab00cf81d44b675bb23db62b88fd76c8ac8cea
- https://git.kernel.org/stable/c/95caf60da33d87ed26c28993620f0d92487b0296
Get alerted when CVE-2026-53272 or the next vulnerability affects your stack