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 07E933A4528 for ; Fri, 1 May 2026 14:21:09 +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=1777645270; cv=none; b=ZXGVS0wn1qP2pa5aVa9HfPyOoCJi65kNS/t47DG/DmjLe/KoNdUQyWv6AEY7cCNmcJldLs6UhxWOeVc34mj/Fy1qleLXiqZSiYVB49VGKcF/ymts/ai4MJzWWi/gDCLb167rbdVQSauzqgVHvnWJGyYiI5b31ewmOcSyzEe+y6M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645270; c=relaxed/simple; bh=9JGYYFUWCEkKjps4aoesfKFvvL33p9KBMxMO2m1hKYA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mK2X45kc3lDB/bw74ThKiBRd34lFUYmhxOFUTV8dwNakWEnA/Pz/iuw2R76RPjJykquku6WGtLr9+iUruf4NmaCbOy6ODrQtRyHwqk/D1Ymgw+sgV0bRqS2CnKvofpDnqChruzNRWd+Pw15TqNLziJFThwpcXY5cYyF95jQfOi0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RuFij7nu; 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="RuFij7nu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 546C0C2BCB4; Fri, 1 May 2026 14:21:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645269; bh=9JGYYFUWCEkKjps4aoesfKFvvL33p9KBMxMO2m1hKYA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=RuFij7nubozqqp6CT/I+AUh0S8iawmad0T31nyVhtMs4LbPDFAFqXJY+1nP0jhem1 +FtPp2xoc1K90soHz87zAnJW+R1k0AA+IqDgaxXoinMl6EXh3+BKfoTl6bm1WQSVNl D1He15sc60rS2+IfHh0X8yVVqghrVTUAYAzZ1H6s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43010: bpf: Reject sleepable kprobe_multi programs at attach time Date: Fri, 1 May 2026 16:15:43 +0200 Message-ID: <2026050154-CVE-2026-43010-aef9@gregkh> X-Mailer: git-send-email 2.54.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=2704; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Lujdg92JJ5Xbejov05VY8jgeKHJF0csGtkX11wf2N8U=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftsYziXVdnNDkuSEg5PRSj7RKtUD7OQaz46P0ZBJzJ n5562jSEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABM5cIJhnkndn7iKlQxBcbIe xt1s0z1MczgzGObHfZkX5lwuy2nw0pwt4qzCdI811zYAAA== 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: bpf: Reject sleepable kprobe_multi programs at attach time kprobe.multi programs run in atomic/RCU context and cannot sleep. However, bpf_kprobe_multi_link_attach() did not validate whether the program being attached had the sleepable flag set, allowing sleepable helpers such as bpf_copy_from_user() to be invoked from a non-sleepable context. This causes a "sleeping function called from invalid context" splat: BUG: sleeping function called from invalid context at ./include/linux/uaccess.h:169 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1787, name: sudo preempt_count: 1, expected: 0 RCU nest depth: 2, expected: 0 Fix this by rejecting sleepable programs early in bpf_kprobe_multi_link_attach(), before any further processing. The Linux kernel CVE team has assigned CVE-2026-43010 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit 0dcac272540613d41c05e89679e4ddb978b612f1 and fixed in 6.18.22 with commit dc9a060d76c12b23c5f378ee115d5e5d03d8bbf3 Issue introduced in 5.18 with commit 0dcac272540613d41c05e89679e4ddb978b612f1 and fixed in 6.19.12 with commit f952157e695fd434bdc05af63a703bb082a78717 Issue introduced in 5.18 with commit 0dcac272540613d41c05e89679e4ddb978b612f1 and fixed in 7.0 with commit eb7024bfcc5f68ed11ed9dd4891a3073c15f04a8 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-43010 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/trace/bpf_trace.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/dc9a060d76c12b23c5f378ee115d5e5d03d8bbf3 https://git.kernel.org/stable/c/f952157e695fd434bdc05af63a703bb082a78717 https://git.kernel.org/stable/c/eb7024bfcc5f68ed11ed9dd4891a3073c15f04a8