# CVE-2026-53272: erofs: fix use-after-free on sbi->sync_decompress

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-06-25T08:39:57.147Z
- Modified: 2026-11-06T17:18:17.623Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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!!

(As written by CVE List.)

## Affected

- 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.*; from 7.1 up to *)
- 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

## References

- <https://git.kernel.org/stable/c/5627e57f1da68ff0146896eb3d2eed25e62adc44>
- <https://git.kernel.org/stable/c/59db5d8bcc65e04d8598afd81ec3a18edb407470>
- <https://git.kernel.org/stable/c/86ab00cf81d44b675bb23db62b88fd76c8ac8cea> (patch)
- <https://git.kernel.org/stable/c/00bf6868df65fa95b3854996246d15759fdc7070> (patch)
- <https://git.kernel.org/stable/c/95caf60da33d87ed26c28993620f0d92487b0296> (patch)
- <https://git.kernel.org/stable/c/1aee05e814d292064bf5fa15733741040cdc48ba> (patch)

## Sources

- CVE List: [CVE-2026-53272](https://www.cve.org/CVERecord?id=CVE-2026-53272), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-53272](https://nvd.nist.gov/vuln/detail/CVE-2026-53272), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-53272 · Whole record: https://cve.day/CVE-2026-53272.json · Rebuilt by cve.day 2026-11-25T22:59:26.344Z
