Menu

Star on GitHub · 3.4k

CVE-2026-98058

In the Linux kernel, the following vulnerability has been resolved: bpf: Mark syscall helpers as sleepable bpf_sys_bpf() executes the bpf(2) syscall body, which can take mutexes, allocate with GF…

Published Sep 25, 2026EPSS 0.20%

Overview

CVE-2026-98058 is a known-severity vulnerability. It was published on September 25, 2026.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Mark syscall helpers as sleepable

bpf_sys_bpf() executes the bpf(2) syscall body, which can take mutexes,

allocate with GFP_KERNEL, and wait for an RCU grace period.

bpf_sys_close() reaches close_fd() and filp_close(), which can sleep as

well.

Both helpers are limited to BPF_PROG_TYPE_SYSCALL, whose main program is

sleepable. That does not make every callback sleepable: a syscall program

can register a bpf_timer callback, and the verifier checks that callback

in a non-sleepable context while retaining the syscall helper set.

Without .might_sleep on the prototypes, such a callback can invoke

bpf_sys_bpf() from hrtimer softirq context and trigger a

scheduling-while-atomic failure. bpf_sys_close() is exposed through the

same missing context check.

Set .might_sleep on both prototypes so the existing helper-context check

rejects them from timer callbacks and other atomic regions. Calls from the

sleepable main body

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-98058?

CVE-2026-98058 is a known-severity vulnerability. It was published on September 25, 2026.

How severe is CVE-2026-98058?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2026-98058?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-98058?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-98058 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

CyberStrike v2 is here — more intelligence, greater reach