CVE-2026-43010

bpf: Reject sleepable kprobe_multi programs at attach time

MEDIUM
5.5
CVSS Score
Published: May 1, 2026 at 02:15 PM UTC
Updated: July 4, 2026 at 12:34 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.18 ≤ v < 6.12.955.18 ≤ v < 6.18.225.18 ≤ v < 6.19.125.18 ≤ v < 6.6.1445.18 ≤ v < 7.06.19 ≤ v < 6.19.120dcac272540613d41c05e89679e4ddb978b612f17.0 rc17.0 rc27.0 rc37.0 rc47.0 rc57.0 rc6
Vendor states this is fixed in 89327ed787746a7aa4db3c97f91d2e294228932b (fixed)
Vendor states this is fixed in d97b19fe5265f7901b2c862f88a4eb1b129a0b61 (fixed)
Vendor states this is fixed in dc9a060d76c12b23c5f378ee115d5e5d03d8bbf3 (fixed)
Vendor states this is fixed in eb7024bfcc5f68ed11ed9dd4891a3073c15f04a8 (fixed)
Vendor states this is fixed in f952157e695fd434bdc05af63a703bb082a78717 (fixed)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 6.12.95 (unaffected)
Vendor states this is fixed in 6.18.22 (unaffected)
Vendor states this is fixed in 6.19.12 (unaffected)
Vendor states this is fixed in 6.6.144 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card