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 5C2F52D8390 for ; Sat, 14 Feb 2026 15:14:50 +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=1771082090; cv=none; b=CzHZd4MkZvnDzB6SONyw3GSkXxUbXo3VWO4VotUSUqnF6CMPgCE+dkJ+eQ3vokPQZEw1d+hdVnWOz92WuwI6R1N5wz+Sj3+8tvs+XxVrpPAKYYvTkWqdeJJtHdz399vSgPUimr9tceJ63BCS+cTWwknYz3BEmMZqDteT3eHUF/Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771082090; c=relaxed/simple; bh=tKchOoG+XWkYeNwUCdJ1TjuFPcEVQQd6hPk60/1U8m8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ii/n39psQy0zb+Amn74eQO0W3HoLygxJMyN6QNVhDgLW5nEel5n6VXYR7f9iDA76TBGbaFUCAaYGIwBM1fZ44gPDZQacv+czVQFXVAdpXGQmAXLvZirog8orQAXRuab5PrykX20gob1LeL6ZsB8rqndOwceXbrR6pHbV0G/TeTg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=J0neQynj; 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="J0neQynj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93FF9C16AAE; Sat, 14 Feb 2026 15:14:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771082090; bh=tKchOoG+XWkYeNwUCdJ1TjuFPcEVQQd6hPk60/1U8m8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=J0neQynjUgnmI9S1In/EkCbScBg5qaxO6JLSvgkS0+G+3jn/+1jN/dj7Aq9rRBjkk 7DsRC1lFnn6fPpusyyE9iWD0SqmPlyVqu5rq+ma/jw61Vx9TKX+ounAIPiN8AAsfAF t/pJRI/TzfAUApFGUsrR1bowQbLigCWsTxb7Wsz4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23134: slab: fix kmalloc_nolock() context check for PREEMPT_RT Date: Sat, 14 Feb 2026 16:14:40 +0100 Message-ID: <2026021437-CVE-2026-23134-22cb@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=2590; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NZZQ60qBOH0DCCvxQ6MWeylsc5aOjXfkOMN5iY0MACM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkTJsads1llMkPHfcFR3p9RxrUTivW/6hr6rwmz+GA6U 2VFXu/7jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI21mG+RF9bziDDbcEr3b0 MVaUuxd5zPd1KcNstq9pCYtqXV2XiRq0xW6o2XPgkmkyAA== 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: slab: fix kmalloc_nolock() context check for PREEMPT_RT On PREEMPT_RT kernels, local_lock becomes a sleeping lock. The current check in kmalloc_nolock() only verifies we're not in NMI or hard IRQ context, but misses the case where preemption is disabled. When a BPF program runs from a tracepoint with preemption disabled (preempt_count > 0), kmalloc_nolock() proceeds to call local_lock_irqsave() which attempts to acquire a sleeping lock, triggering: BUG: sleeping function called from invalid context in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6128 preempt_count: 2, expected: 0 Fix this by checking !preemptible() on PREEMPT_RT, which directly expresses the constraint that we cannot take a sleeping lock when preemption is disabled. This encompasses the previous checks for NMI and hard IRQ contexts while also catching cases where preemption is disabled. The Linux kernel CVE team has assigned CVE-2026-23134 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit af92793e52c3a99b828ed4bdd277fd3e11c18d08 and fixed in 6.18.8 with commit f60ba4a97ae3f94e4818722ed2e4d260bbb17b44 Issue introduced in 6.18 with commit af92793e52c3a99b828ed4bdd277fd3e11c18d08 and fixed in 6.19 with commit 99a3e3a1cfc93b8fe318c0a3a5cfb01f1d4ad53c 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-23134 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/slub.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/f60ba4a97ae3f94e4818722ed2e4d260bbb17b44 https://git.kernel.org/stable/c/99a3e3a1cfc93b8fe318c0a3a5cfb01f1d4ad53c