Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793026358; b=yajXp0wUrFg4YXs0Bro0WvMQDIRSXEKqfA3ti3RN4JtBUhYkF0iwTwUTjcEiT0rIw6QM Iet1qZTUxZjVW8wiFcfvuxcEPPq9jbT47t9HS7FnIKAXI1kmMJgN4ZISQ1MTMNQSsN8/z 71wx+bk/wxR7Mbzt0/F0FwSi30q6wcxaLYeKw8/4vKEi2ECQ57RgB9wEPFj2Ty+dMZdDL MytXbdWiJBth3hjKheV8yUJHInOOLSidLZ/myRpIBM+HMMrIL9OK0DMwn3FhjdqdQc8Tg WSL2oybERsKqr3I+9z4af9c1e4YDK/AbTQCThmxpeu5/XzCZIekg8dStnxI+ruDAJjQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793026358; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=NC57T28wPylJjkXYX95J0DHoIkFRsFB8sU2mqUgkX+w=; b=FHJG4t+HUVgZN89w8XNKs9hE6lHqVZ+i8+zk5o9LXuar84/WMTM+jH+i/4F5q7dGuJJG 1laX+iJOXcWHCTW0JegRofs3bCMCyQYvggIitTBPKbln3fu9yynjHMH+hnQE1NtMwO49M TbM1Rix9mGOm2VMAPjfu7gW5UrjqKjioRqflVUZ2TBdfuVHyI+Z1hjsMdYRFELxiI9p6T h/HeDFQFCo/ScaQkIBDg5IkrBkNF3RfJsXW7w5Xsx14RqEkBHp0wpv1q87wa8X4jC/72c 4MT896YBdGSEMAGAgQg575MiVVOp7Ugp/Ccg6knRpXEK1q2XSnJRey1L9XsuS35I05w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=HCJWRPAN; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8FE0E606A327 for ; Mon, 26 Oct 2026 14:52:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=HCJWRPAN Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB9261F01825; Mon, 26 Oct 2026 14:52:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793026358; bh=NC57T28wPylJjkXYX95J0DHoIkFRsFB8sU2mqUgkX+w=; h=From:To:Cc:Subject:Date:Reply-To; b=HCJWRPANRuqsborWK8+qP1zaioczh30MAa11XZgVUAVpd6LBcheFgWQs9wxQg5Nqe dpQioKD+r5zFT7VHsvQMO+d3tKP6eQoAJg7ADhbSX4TzTxCbkF34hMjmq5gVBFgOlk 5FftUG/so2pk4ZEBWoVu2bUxhZu/Er9900rup7rI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99093: mm: don't schedule deferred kernel page table freeing while booting Date: Mon, 26 Oct 2026 15:52:15 +0100 Message-ID: <2026102612-CVE-2026-99093-40eb@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3728; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Wh+By0d7UDH4Ql5DxQy4ElXyZ8hOk9u4NmfQlETFLNQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn3M2UqKt15eA2lf5j8Vvt753RRmc3llJ0dGkH/1kbx6 SZY7ivpiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgInIHWSYK7s8iav65mxWfX+V 9R/PvGTfa9Z6m2F+8KZQ75mTU40PHymQM+Z0qV+4oWUXAA== 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: don't schedule deferred kernel page table freeing while booting Booting with a boot-time function tracer and a filter, for example ftrace=function ftrace_filter=pud_free_pmd_page panics on 7.3-rc4 as soon as the tracer starts: [ 23.531178] Starting tracer 'function' [ 23.675800] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000038: 0000 [#1] SMP KASAN NOPTI [ 23.819917] KASAN: null-ptr-deref in range [0x00000000000001c0-0x00000000000001c7] [ 23.964025] CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 7.3.0-rc4-fe2ec83746e5-with-fixes-v2+ #195 PREEMPT(undef) [ 24.252248] RIP: 0010:__queue_work+0xab/0xf00 [ 25.981629] Call Trace: [ 26.125727] [ 26.413912] ? pagetable_free_kernel+0x20/0x120 [ 26.990283] queue_work_on+0x97/0xf0 [ 27.134382] __cpa_collapse_large_pages+0x501/0x6f0 [ 27.566662] cpa_flush+0x394/0x620 [ 27.998953] change_page_attr_set_clr+0x321/0x4a0 [ 29.151729] set_memory_rox+0xa2/0xf0 [ 29.584018] create_trampoline+0x431/0x6f0 ... [ 44.343347] Kernel panic - not syncing: Attempted to kill the idle task! The boot-time tracer is started from early_trace_init(), which runs before workqueue_init_early(). Making its trampoline read-only splits a large page, and CPA collapses it again right away. The split table has been a kernel page table since commit 9e4a3ec3411b ("x86/mm/pat: Allocate split page tables as kernel page tables"), so the collapse frees it through pagetable_free_kernel(), which queues work on system_percpu_wq - still NULL at that point. That commit is correct in itself; it only lets CPA reach pagetable_free_kernel() before the workqueue that function relies on exists. Keep putting the table on the list, but don't schedule the work while the system is still booting. A core_initcall schedules it once to free whatever was queued by then. The Linux kernel CVE team has assigned CVE-2026-99093 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18.53 with commit 84e0cd79d57f06b872154eb5d8f610584133f260 and fixed in 6.18.57 with commit 7a25ca170c12a9328f6fcf4410713beb516b01c0 Issue introduced in 7.2.7 with commit 922873cf4fc34124215070a8ad391bf831538bb9 and fixed in 7.2.11 with commit df6c704a08bc0925d5db047b0a6221f962bda4d9 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-99093 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/pgtable-generic.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/7a25ca170c12a9328f6fcf4410713beb516b01c0 https://git.kernel.org/stable/c/df6c704a08bc0925d5db047b0a6221f962bda4d9 https://git.kernel.org/stable/c/2fb552b0bee70c24c092720028ab4620f5eb2646