Skip to content
Heist/ feed
Unrated

fs/mbcache: cancel shrink work before destroying the cache

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-53129

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-53129

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "c2f3140fe2eceb3a6c1615b2648b9471544881c6",
        "lessThan": "cbdd6f0fb19a0ce8a013acd80ac87a62f57fa20d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c2f3140fe2eceb3a6c1615b2648b9471544881c6",
        "lessThan": "a88d39a74a208e197c03bffaa2df34de732af19f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c2f3140fe2eceb3a6c1615b2648b9471544881c6",
        "lessThan": "0e4eff315d799f5842b95872199b0f0fb8ef5f51",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c2f3140fe2eceb3a6c1615b2648b9471544881c6",
        "lessThan": "b25fd3523bef88fb7ffd4c5b63bbe9c08f73bb4c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c2f3140fe2eceb3a6c1615b2648b9471544881c6",
        "lessThan": "d227786ab1119669df4dc333a61510c52047cce4",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/mbcache.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.6"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.6",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.91",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.33",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.0.10",
        "versionType": "semver",
        "lessThanOrEqual": "7.0.*"
      },
      {
        "status": "unaffected",
        "version": "7.1",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/mbcache.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-53129

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#46373 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement