CVE-2026-100043

ipc, msg: Account msg_msg allocations with GFP_KERNEL_ACCOUNT again

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ipc, msg: Account msg_msg allocations with GFP_KERNEL_ACCOUNT again

Since commit 734bbc1c97ea7 ("ipc, msg: Use dedicated slab buckets for
alloc_msg()"), alloc_msg() allocates with GFP_KERNEL, and a msg_msg is
accounted only through SLAB_ACCOUNT on its bucket caches. With
CONFIG_SLAB_BUCKETS=n, kmem_buckets_create() creates no caches and
kmem_buckets_alloc() is a GFP_KERNEL kmalloc() from the general caches,
which do not account it; the same happens when kmem_buckets_create()
fails. Either way, the allocation is not charged to the sender's memory
cgroup.

Allocate with GFP_KERNEL_ACCOUNT again, as before that commit, so the
allocation is charged whichever cache serves it.

Build tested ARCH=x86_64 defconfig with GCC 16.2.0, with
CONFIG_SLAB_BUCKETS as y and n.

Analysis

AI-generated

Technical impact

The vulnerability arises in the Linux kernel’s inter‑process communication message subsystem where message allocations were performed with GFP_KERNEL. The change to use dedicated slab buckets meant that, when slab buckets were not configured or creation failed, the kernel fell back to ordinary kmalloc calls that were not accounted through SLAB_ACCOUNT. Subsequent allocations were therefore not charged to the sender’s memory control group. This gap allows memory usage to grow without it being reflected in the relevant cgroup, creating a resource management weakness (CWE‑399) that could be exploited for denial of service. The likely attack vector is a local kernel exploit capable of allocating large amounts of I/O message memory, thereby bypassing cgroup limits and exhausting kernel memory reserves.

Affected Systems

All Linux kernel builds that lack the commit 734bbc1c97ea7, particularly those with CONFIG_SLAB_BUCKETS enabled or disabled where kmem_buckets_create fails, are affected. The issue applies to all architectures tested (x86_64) and depends on the kernel configuration regarding slab bucket usage.

Risk and Exploitability

The CVSS score is not available, and the EPSS score is not listed, so an exact numeric risk assessment cannot be computed from the public data. However, because memory accounting is integral to cgroup isolation, a successful exploit could lead to a denial of service by exhausting memory or subverting resource limits. The vulnerability is not in the CISA Known Exploited Vulnerabilities catalog. An attacker would need kernel‑level privileges or an upstream vulnerability that raises privilege to allocate message structures, making this a moderate to high risk for systems running vulnerable kernel versions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a version that contains the commit restoring GFP_KERNEL_ACCOUNT allocation
  • Re‑compile the kernel ensuring CONFIG_SLAB_BUCKETS is enabled and kmem_buckets_create succeeds
  • Verify that message allocations are reflected in cgroup statistics and adjust memory limits accordingly

Generated by OpenCVE AI on November 30, 2026 at 15:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-399
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ipc, msg: Account msg_msg allocations with GFP_KERNEL_ACCOUNT again Since commit 734bbc1c97ea7 ("ipc, msg: Use dedicated slab buckets for alloc_msg()"), alloc_msg() allocates with GFP_KERNEL, and a msg_msg is accounted only through SLAB_ACCOUNT on its bucket caches. With CONFIG_SLAB_BUCKETS=n, kmem_buckets_create() creates no caches and kmem_buckets_alloc() is a GFP_KERNEL kmalloc() from the general caches, which do not account it; the same happens when kmem_buckets_create() fails. Either way, the allocation is not charged to the sender's memory cgroup. Allocate with GFP_KERNEL_ACCOUNT again, as before that commit, so the allocation is charged whichever cache serves it. Build tested ARCH=x86_64 defconfig with GCC 16.2.0, with CONFIG_SLAB_BUCKETS as y and n.
Title ipc, msg: Account msg_msg allocations with GFP_KERNEL_ACCOUNT again
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:23 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM