---
id: CVE-2026-53272
title: 'erofs: fix use-after-free on sbi->sync_decompress'
summary: |-
  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.

  Whe…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 <
    59db5d8bcc65e04d8598afd81ec3a18edb407470
  - >-
    Linux >= 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 <
    86ab00cf81d44b675bb23db62b88fd76c8ac8cea
  - >-
    Linux >= 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 <
    00bf6868df65fa95b3854996246d15759fdc7070
  - >-
    Linux >= 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 <
    95caf60da33d87ed26c28993620f0d92487b0296
  - >-
    Linux >= 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 <
    1aee05e814d292064bf5fa15733741040cdc48ba
  - Linux 5.17
published: '2026-06-25'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T12:42:21.684Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-53272'
references:
  - url: 'https://git.kernel.org/stable/c/59db5d8bcc65e04d8598afd81ec3a18edb407470'
  - url: 'https://git.kernel.org/stable/c/86ab00cf81d44b675bb23db62b88fd76c8ac8cea'
  - url: 'https://git.kernel.org/stable/c/00bf6868df65fa95b3854996246d15759fdc7070'
  - url: 'https://git.kernel.org/stable/c/95caf60da33d87ed26c28993620f0d92487b0296'
  - url: 'https://git.kernel.org/stable/c/1aee05e814d292064bf5fa15733741040cdc48ba'
tags:
  - cve.org
epss: 0.00117
epssPercentile: 0.01554
ingestedAt: '2026-10-21T12:48:53.618Z'
---

## Overview

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

- `Linux >= 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 < 59db5d8bcc65e04d8598afd81ec3a18edb407470`
- `Linux >= 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 < 86ab00cf81d44b675bb23db62b88fd76c8ac8cea`
- `Linux >= 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 < 00bf6868df65fa95b3854996246d15759fdc7070`
- `Linux >= 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 < 95caf60da33d87ed26c28993620f0d92487b0296`
- `Linux >= 40452ffca3c1a0f2994e826f9fa213b107f1a2d4 < 1aee05e814d292064bf5fa15733741040cdc48ba`
- `Linux 5.17`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
