In the Linux kernel, the following vulnerability has been resolved: fs/mbcache: cancel shrink work before destroying the cache mb_cache_destroy()… (CVE-2026-53129)
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.
AI Analysis
Technical Summary
The Linux kernel vulnerability CVE-2026-53129 involves the mbcache subsystem where mb_cache_destroy() fails to cancel a pending work item (c_shrink_work) before freeing the cache memory. If mb_cache_entry_create() schedules this work and it remains pending or running during cache destruction, the worker function mb_cache_shrink_worker() may access freed memory, causing a use-after-free condition. This vulnerability is exploitable only by privileged users who can trigger the last put of a mounted ext2, ext4, or ocfs2 filesystem. The fix involves calling cancel_work_sync() to ensure the work item is fully canceled before cache teardown.
Potential Impact
Exploitation of this vulnerability can lead to use-after-free memory access in the kernel, potentially resulting in arbitrary code execution, privilege escalation, or system instability. The impact is high as it affects confidentiality, integrity, and availability of the system. However, exploitation requires privileged access (root or CAP_SYS_ADMIN), limiting the attack surface to authorized users.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves canceling the scheduled work item with cancel_work_sync() before freeing the cache to prevent use-after-free. Until an official patch is available, restrict privileged user access and avoid triggering the last put of affected filesystems if possible.
In the Linux kernel, the following vulnerability has been resolved: fs/mbcache: cancel shrink work before destroying the cache mb_cache_destroy()… (CVE-2026-53129)
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.
CVSS v3.1
Score 7.8high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-53129 involves the mbcache subsystem where mb_cache_destroy() fails to cancel a pending work item (c_shrink_work) before freeing the cache memory. If mb_cache_entry_create() schedules this work and it remains pending or running during cache destruction, the worker function mb_cache_shrink_worker() may access freed memory, causing a use-after-free condition. This vulnerability is exploitable only by privileged users who can trigger the last put of a mounted ext2, ext4, or ocfs2 filesystem. The fix involves calling cancel_work_sync() to ensure the work item is fully canceled before cache teardown.
Potential Impact
Exploitation of this vulnerability can lead to use-after-free memory access in the kernel, potentially resulting in arbitrary code execution, privilege escalation, or system instability. The impact is high as it affects confidentiality, integrity, and availability of the system. However, exploitation requires privileged access (root or CAP_SYS_ADMIN), limiting the attack surface to authorized users.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves canceling the scheduled work item with cancel_work_sync() before freeing the cache to prevent use-after-free. Until an official patch is available, restrict privileged user access and avoid triggering the last put of affected filesystems if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-76p3-3v32-9xxh
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53129"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a4c345b27e9c797195feca9
Added to database: 07/06/2026, 23:03:55 UTC
Last enriched: 07/06/2026, 23:31:48 UTC
Last updated: 07/31/2026, 19:24:48 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.