Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11E1230FC2E for ; Sat, 14 Feb 2026 16:29:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771086584; cv=none; b=COEEUQ1PZctNHt7j3yzWdxWUYw151tIoo8Z73XqcQVLhKwt89K1L4toQAKNPbRgn647PfQ+Bgu5xVDOuhz9TmwVW8y6LGPx+QgyGC12rBjxIUxx2bJMQL5MQ83PoecZN85NIUaScJWfD1u+SIFPng77tyEGr7XuM1AqTGKNeh5Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771086584; c=relaxed/simple; bh=AZFkJBCJVvUNSayHsECBJnpfA/2Bkhl20GEWfOtLZyg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ApId9GajAqHOgUQyiY7m5Vcx8p1FIsSTk8AirCIJp0YCSLlDZ8+pVs6f3MeuGKQ1liAV1IokxHRJcmlp/6GAxMVACN9RE+bjgJUNTR+XMw3IjJGnURqOkPs41+FiICqtsAzL/CWN4+1om6KVmvykr4kWQlZWCCNWPLMzrpuy0Ns= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wJJZXUVb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="wJJZXUVb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91866C16AAE; Sat, 14 Feb 2026 16:29:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771086584; bh=AZFkJBCJVvUNSayHsECBJnpfA/2Bkhl20GEWfOtLZyg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=wJJZXUVbVNZJCLFRraV9YRXT27RindJNMp1Gq7b2Nzt5b2VlYXmlrNinq2TOwE5ce 21n5MZSeLtT/xWuT19b3qkr45GGD4Ne8NhkwbAU/ik4aPoaWNQoJaWk8/BP1MQjSQe uNLC/8eVLhOTeSoVWHvgvolMZ2QHjygmohMHgFaE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23195: cgroup/dmem: avoid pool UAF Date: Sat, 14 Feb 2026 17:28:52 +0100 Message-ID: <2026021434-CVE-2026-23195-6042@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3245; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FxNdl5SSj9SJL945EIbV1JTbT0NEGgy5+9wF+8hs4Ns=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkTFm3qZC4NjjttM21bucy6tq3fToXWXAzanZ2iGLHRp GK1leesjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIP3aG+Wmf7l5hX74/6q9y 56dDnSu2rk7L6WZYcJljZdTJdjGnU3cvcc3JbvI6+SOxAAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: cgroup/dmem: avoid pool UAF An UAF issue was observed: BUG: KASAN: slab-use-after-free in page_counter_uncharge+0x65/0x150 Write of size 8 at addr ffff888106715440 by task insmod/527 CPU: 4 UID: 0 PID: 527 Comm: insmod 6.19.0-rc7-next-20260129+ #11 Tainted: [O]=OOT_MODULE Call Trace: dump_stack_lvl+0x82/0xd0 kasan_report+0xca/0x100 kasan_check_range+0x39/0x1c0 page_counter_uncharge+0x65/0x150 dmem_cgroup_uncharge+0x1f/0x260 Allocated by task 527: Freed by task 0: The buggy address belongs to the object at ffff888106715400 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 64 bytes inside of freed 512-byte region [ffff888106715400, ffff888106715600) The buggy address belongs to the physical page: Memory state around the buggy address: ffff888106715300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888106715380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888106715400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888106715480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888106715500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb The issue occurs because a pool can still be held by a caller after its associated memory region is unregistered. The current implementation frees the pool even if users still hold references to it (e.g., before uncharge operations complete). This patch adds a reference counter to each pool, ensuring that a pool is only freed when its reference count drops to zero. The Linux kernel CVE team has assigned CVE-2026-23195 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit b168ed458ddecc176f3b9a1f4bcd83d7a4541c14 and fixed in 6.18.10 with commit d3081353acaa6a638dcf75726066ea556a2de8d5 Issue introduced in 6.14 with commit b168ed458ddecc176f3b9a1f4bcd83d7a4541c14 and fixed in 6.19 with commit 99a2ef500906138ba58093b9893972a5c303c734 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-23195 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: kernel/cgroup/dmem.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/d3081353acaa6a638dcf75726066ea556a2de8d5 https://git.kernel.org/stable/c/99a2ef500906138ba58093b9893972a5c303c734