VDB

CVE-2026-53129

CVE-2026-53129 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.18-develAmazon Linux1:6.18.33-63.124.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.33-63.124.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.33-63.124.amzn2023
kernel6.18Amazon Linux1:6.18.33-63.124.amzn2023
kernel-livepatch-6.12.92-122.166Amazon Linux1:1.0-0.amzn2023
kernel-livepatch-6.18.33-63.124Amazon Linux1:1.0-0.amzn2023
kernel6.12-develAmazon Linux1:6.12.92-122.166.amzn2023
bpftool6.18Amazon Linux1:6.18.33-63.124.amzn2023
python3-perf6.18Amazon Linux1:6.18.33-63.124.amzn2023
kernel6.12-headersAmazon Linux1:6.12.92-122.166.amzn2023
perf6.12Amazon Linux1:6.12.92-122.166.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.92-122.166.amzn2023

10 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinuxc2f3140fe2eceb3a6c1615b2648b9471544881c6, c2f3140fe2eceb3a6c1615b2648b9471544881c6, c2f3140fe2eceb3a6c1615b2648b9471544881c6
LinuxLinux4.6, 0, 6.1.191
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.180
amazon:2023kernel-livepatch-6.12.92-122.1660
amazon:2023kernel-livepatch-6.18.33-63.1240
amazon:2023kernel6.12-devel0
amazon:2023bpftool6.180
amazon:2023python3-perf6.180
amazon:2023kernel6.12-headers0
amazon:2023perf6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-tools-devel0
amazon:2023python3-perf6.120
amazon:2023perf6.180

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›