Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 9628B35F5E5 for ; Thu, 24 Sep 2026 15:11:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790262690; cv=none; b=rTbHayEEZzeiT1FxEk35RT7L6NoXOD5x4U8JrSWQUpR3okRDJETNJ0bZM6WCcdHJICDKVq08NK+iBDjfvKHaEv356reVXnsveds9xZl3z1kuYnwJut0UtbKfPLtsSdmnoPWwejy9sj08sVNnh8Y+E2MbEATHIipWyRk9YuRZmxE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790262690; c=relaxed/simple; bh=Nni23z7zmWLXJcFnUie0BX6c9KoZ9JtozQeNLmhf0tI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KykoQNMWegVewJBszygsiXfiSV52Nzfvr2yTPYWDtjM0XxbRhUZI/F2RnJfplCGycBeLE1Yepo9ZhrJnUEv/vUQZ91k3Oqlo7PJfDO2/ayLTugGituEYW6l9Tiw2i7pG98geWN3L60MlaOWAUX9M06LAwSGAeO6C1uCMpwkdsbE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wtgVwnUH; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="wtgVwnUH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 726481F000FF; Thu, 24 Sep 2026 15:11:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790262689; bh=7xDBA1EKr+XQK0Ny/Biwp8pl68WH7qT9Ohlzz8jA9TU=; h=From:To:Cc:Subject:Date:Reply-To; b=wtgVwnUHJUod22UlaVqM7Au8ICtpzUt8Zf39fzE4Qptx/0gPQVRRL1ziAqow4sFPv ltE35v3WCyT7eJ+LA8S/O561ILaXfFz6Vp4d06bBGIKn15rAz5rL8hrS5fuMnH83BK T3f3/4ebzH9xAIq0jNndvZBDaBb3vitlZ2tGyjsY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93216: mm/page_owner: use memcg_data snapshot to avoid TOCTOU in print_page_owner_memcg() Date: Thu, 24 Sep 2026 17:10:52 +0200 Message-ID: <2026092445-CVE-2026-93216-1545@gregkh> X-Mailer: git-send-email 2.55.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=2400; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=f+Y+J4pX5jFPLecAR75Ws9cJ5tfSlS/hWM9PpdIqUDo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbbUtv1nyueBMufzNPK+OL1lpbto1iB0T+tTBfOupy+ m7XotePO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAibv8ZFkxb9ENjjvU99/WZ 63Y/leLdukhz0xeGBYen9h32Omz919tw2yL+D39/Ht6emQ4A 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: mm/page_owner: use memcg_data snapshot to avoid TOCTOU in print_page_owner_memcg() print_page_owner_memcg() reads page->memcg_data via READ_ONCE() at the start to guard against tail pages and NULL data. However, it later re-reads page->memcg_data locklessly in two places: 1: page_memcg_check(page) 2: PageMemcgKmem(page) (via folio_memcg_kmem(), which includes VM_BUG_ON assertions for tail pages and MEMCG_DATA_OBJEXTS) If the page is concurrently freed and reallocated as a THP tail page or slab page between these calls, the VM_BUG_ON assertions can trigger on CONFIG_DEBUG_VM=y builds, crashing the kernel. Fix both TOCTOU issues by using the memcg_data snapshot throughout. The Linux kernel CVE team has assigned CVE-2026-93216 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit fcf8935832b86d3437f00e732c6d0d4d2819d6a9 and fixed in 7.2.4 with commit 46761406e14381dc35f498c247a87565b87ea2ef Issue introduced in 5.18 with commit fcf8935832b86d3437f00e732c6d0d4d2819d6a9 and fixed in 7.3-rc1 with commit 90f095b816e25c6a9e4446d299bac5007fdcb3df 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-93216 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: mm/page_owner.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/46761406e14381dc35f498c247a87565b87ea2ef https://git.kernel.org/stable/c/90f095b816e25c6a9e4446d299bac5007fdcb3df