CVE-2026-53129
fs/mbcache: cancel shrink work before destroying the cache
Reported by linux · Published June 24, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-devel | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel-livepatch-6.12.92-122.166 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-livepatch-6.18.33-63.124 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.92-122.166.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.33-63.124.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.92-122.166.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.92-122.166.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.92-122.166.amzn2023 |
10 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | c2f3140fe2eceb3a6c1615b2648b9471544881c6, c2f3140fe2eceb3a6c1615b2648b9471544881c6, c2f3140fe2eceb3a6c1615b2648b9471544881c6 |
| Linux | Linux | 4.6, 0, 6.1.191 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.12.92-122.166 | 0 |
| amazon:2023 | kernel-livepatch-6.18.33-63.124 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | perf6.18 | 0 |
…and 6 more
Timeline
- Jun 24, 2026 CVE Published
- Jun 25, 2026 EPSS Score (5 in total, the first dated here)
- Jun 25, 2026 Coalition ESS Score
- Jul 6, 2026 CVE Updated
- Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
- Aug 11, 2026 Security Advisory (63 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-53129
vulnetix vdb fixes CVE-2026-53129
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53129/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart