Skip to content
Fencer Vulns
high 7.8

CVE-2026-64418 json

mm: shrinker: fix shrinker_info teardown race with expansion

published 2026-07-25 3 mo ago modified 2026-09-04 2 mo ago also EUVD-2026-48962

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 0%
public exploits
0
none known

Summary

In the Linux kernel, the following vulnerability has been resolved:

mm: shrinker: fix shrinker_info teardown race with expansion

expand_shrinker_info() iterates all visible memcgs under shrinker_mutex, including memcgs that have not finished ->css_online() yet.

Once pn->shrinker_info has been published, teardown must stay serialized with expand_shrinker_info() until that memcg is either fully online or no longer visible to iteration. Today alloc_shrinker_info() breaks that rule by dropping shrinker_mutex before freeing a partially initialized shrinker_info array, which may cause the following race:

CPU0 CPU1 ==== ====

css_create --> list_add_tail_rcu(&css->sibling, &parent_css->children); online_css --> mem_cgroup_css_online --> alloc_shrinker_info --> alloc node0 info rcu_assign_pointer(C->node0->shrinker_info, old0) alloc node1 info -> FAIL -> goto err mutex_unlock(shrinker_mutex)

shrinker_alloc() --> shrinker_memcg_alloc --> mutex_lock(shrinker_mutex) expand_shrinker_info --> mem_cgroup_iter see the memcg expand_one_shrinker_info --> old0 = C->node0->shrinker_info memcpy(new->unit, old0->unit, ...);

free_shrinker_info --> kvfree(old0);

/* double free !! */ kvfree_rcu(old0, rcu);

The same problem exists later in mem_cgroup_css_online(). If alloc_shrinker_info() succeeds but a subsequent objcg allocation fails, the free_objcg -> free_shrinker_info() unwind path tears down the already published pn->shrinker_info arrays without shrinker_mutex. The expand_one_shrinker_info() can race with that teardown in the same way, leading to use-after-free or double-free of the old shrinker_info.

Fix this by serializing shrinker_info teardown with shrinker_mutex, and by keeping alloc_shrinker_info() error cleanup inside the locked section.

Patch / fix

  • Linux Linux 6.12.96, 6.18.39, 7.1.4, 7.2
  • linux Debian 13 6.12.96-1
  • linux Debian 14 7.1.4-1
  • linux-6.12 Debian 12 6.12.100-1~deb12u1

debian advisories DEBIAN-CVE-2026-64418

  • linux Ubuntu 24.04 LTS 6.8.0-147.147
  • linux Ubuntu 26.04 LTS 7.0.0-31.31
  • linux-aws Ubuntu 24.04 LTS 6.8.0-1067.70
  • linux-aws Ubuntu 26.04 LTS 7.0.0-1012.12
  • linux-gcp Ubuntu 24.04 LTS 6.8.0-1071.79
  • linux-gcp Ubuntu 26.04 LTS 7.0.0-1011.11
  • linux-gke Ubuntu 24.04 LTS 6.8.0-1066.74
  • linux-gke Ubuntu 26.04 LTS 7.0.0-1006.7

ubuntu advisories UBUNTU-CVE-2026-64418

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 10.2 6.12.0-211.50.1.el10_2
  • rv RHEL 10.2 6.12.0-211.50.1.el10_2
  • perf RHEL 10.2 6.12.0-211.50.1.el10_2
  • rtla RHEL 10.2 6.12.0-211.50.1.el10_2
  • libperf RHEL 10.2 6.12.0-211.50.1.el10_2
  • kernel-rt RHEL 10.2 6.12.0-211.50.1.el10_2
  • kernel-64k RHEL 10.2 6.12.0-211.50.1.el10_2
  • kernel-core RHEL 10.2 6.12.0-211.50.1.el10_2

red hat advisories RHSA-2026:61887

  • kernel-default SLES 16.0, SLE High Availability Extension 16.0, Linux Micro 6.2 +1 more 6.12.0-160000.39.1
  • kernel-rt Linux Micro 6.2 6.12.0-160000.39.1
  • kernel-64kb SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.39.1
  • kernel-source SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.39.1
  • kernel-default-base SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.39.1.160000.2.26
  • kernel-syms SLES 16.0, Linux Micro Extras 6.2, SLES for SAP applications 16.0 6.12.0-160000.39.1
  • kernel-azure SLES for SAP applications 16.0, SLES 16.0 6.12.0-160000.39.1
  • kernel-obs-qa SLES for SAP applications 16.0, SLES 16.0 6.12.0-160000.39.1

suse advisories SUSE-SU-2026:24197-1SUSE-SU-2026:24184-1SUSE-SU-2026:24235-1SUSE-SU-2026:24179-1

  • kernel-rt openSUSE Leap 16.0 6.12.0-160000.39.1
  • dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.39.1
  • kernel-64kb openSUSE Leap 16.0 6.12.0-160000.39.1
  • kernel-syms openSUSE Leap 16.0 6.12.0-160000.39.1
  • kernel-azure openSUSE Leap 16.0 6.12.0-160000.39.1
  • kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.39.1
  • kernel-source openSUSE Leap 16.0 6.12.0-160000.39.1
  • kernel-default openSUSE Leap 16.0 6.12.0-160000.39.1

opensuse advisories openSUSE-SU-2026:22091-1openSUSE-SU-2026:11476-1

  • kernel AlmaLinux 10 6.12.0-211.50.1.el10_2
  • rv AlmaLinux 10 6.12.0-211.50.1.el10_2
  • perf AlmaLinux 10 6.12.0-211.50.1.el10_2
  • rtla AlmaLinux 10 6.12.0-211.50.1.el10_2
  • libperf AlmaLinux 10 6.12.0-211.50.1.el10_2
  • kernel-rt AlmaLinux 10 6.12.0-211.50.1.el10_2
  • kernel-64k AlmaLinux 10 6.12.0-211.50.1.el10_2
  • kernel-core AlmaLinux 10 6.12.0-211.50.1.el10_2

almalinux advisories ALSA-2026:61887

  • kernel Rocky Linux 10 6.12.0-211.50.1.el10_2

rocky linux advisories RLSA-2026:61887

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-64418 updated cvss 4.7

kernel: mm: shrinker: fix shrinker_info teardown race with expansion

  • Red Hat Enterprise Linux AppStream (v. 10) rv 6.12.0-211.50.1.el10_2, perf 6.12.0-211.50.1.el10_2, rtla 6.12.0-211.50.1.el10_2, python3-perf 6.12.0-211.50.1.el10_2, kernel-devel-matched 6.12.0-211.50.1.el10_2, kernel-64k-devel-matched 6.12.0-211.50.1.el10_2, +7 more Red Hat Enterprise Linux BaseOS (v. 10) kernel 6.12.0-211.50.1.el10_2, kernel-64k 6.12.0-211.50.1.el10_2, kernel-core 6.12.0-211.50.1.el10_2, kernel-tools 6.12.0-211.50.1.el10_2, kernel-modules 6.12.0-211.50.1.el10_2, kernel-64k-core 6.12.0-211.50.1.el10_2, +28 more Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) libperf 6.12.0-211.50.1.el10_2, kernel-debuginfo-common-s390x 6.12.0-211.50.1.el10_2, kernel-debuginfo-common-x86_64 6.12.0-211.50.1.el10_2, kernel-debuginfo-common-aarch64 6.12.0-211.50.1.el10_2, kernel-debuginfo-common-ppc64le 6.12.0-211.50.1.el10_2 Red Hat Enterprise Linux Real Time (v. 10) kernel-rt 6.12.0-211.50.1.el10_2, kernel-rt-64k 6.12.0-211.50.1.el10_2, kernel-rt-core 6.12.0-211.50.1.el10_2, kernel-rt-modules 6.12.0-211.50.1.el10_2, kernel-rt-64k-core 6.12.0-211.50.1.el10_2, kernel-rt-debug-core 6.12.0-211.50.1.el10_2, +14 more Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt 6.12.0-211.50.1.el10_2, kernel-rt-core 6.12.0-211.50.1.el10_2, kernel-rt-modules 6.12.0-211.50.1.el10_2, kernel-rt-debug-core 6.12.0-211.50.1.el10_2, kernel-rt-modules-core 6.12.0-211.50.1.el10_2, kernel-rt-debug-modules 6.12.0-211.50.1.el10_2, +4 more
    fixed: vendor fix RHSA-2026:61887
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.10% chance of exploitation in the next 30 days, higher than 0% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • Linux Linux

Classification

Weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.