# CVE-2026-53129: fs/mbcache: cancel shrink work before destroying the cache

- 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-02)
- Published: 2026-06-24T16:30:56.562Z
- Modified: 2026-11-06T17:18:09.117Z
- 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:

fs/mbcache: cancel shrink work before destroying the cache

mb_cache_destroy() calls shrinker_free() and then frees all cache
entries and the cache itself, but it does not cancel the pending
c_shrink_work work item first.

If mb_cache_entry_create() schedules c_shrink_work via schedule_work()
and the work item is still pending or running when mb_cache_destroy()
runs, mb_cache_shrink_worker() will access the cache after its memory
has been freed, causing a use-after-free.

This is only reachable by a privileged user (root or CAP_SYS_ADMIN)
who can trigger the last put of a mounted ext2/ext4/ocfs2 filesystem.

Cancel the work item with cancel_work_sync() before calling
shrinker_free(), ensuring the worker has finished and will not be
rescheduled before the cache is torn down.

(As written by CVE List.)

## Affected

- Linux Linux: from c2f3140fe2eceb3a6c1615b2648b9471544881c6 before 40148c615687c1692712e50a6de53d62dfbfc20f; from c2f3140fe2eceb3a6c1615b2648b9471544881c6 before cbdd6f0fb19a0ce8a013acd80ac87a62f57fa20d; from c2f3140fe2eceb3a6c1615b2648b9471544881c6 before a88d39a74a208e197c03bffaa2df34de732af19f; from c2f3140fe2eceb3a6c1615b2648b9471544881c6 before 0e4eff315d799f5842b95872199b0f0fb8ef5f51; from c2f3140fe2eceb3a6c1615b2648b9471544881c6 before b25fd3523bef88fb7ffd4c5b63bbe9c08f73bb4c; from c2f3140fe2eceb3a6c1615b2648b9471544881c6 before d227786ab1119669df4dc333a61510c52047cce4; 4.6 (not affected: before 4.6; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 4.6 before 6.12.91; from 6.13 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/40148c615687c1692712e50a6de53d62dfbfc20f>
- <https://git.kernel.org/stable/c/cbdd6f0fb19a0ce8a013acd80ac87a62f57fa20d>
- <https://git.kernel.org/stable/c/a88d39a74a208e197c03bffaa2df34de732af19f> (patch)
- <https://git.kernel.org/stable/c/0e4eff315d799f5842b95872199b0f0fb8ef5f51> (patch)
- <https://git.kernel.org/stable/c/b25fd3523bef88fb7ffd4c5b63bbe9c08f73bb4c> (patch)
- <https://git.kernel.org/stable/c/d227786ab1119669df4dc333a61510c52047cce4> (patch)

## Sources

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

---

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