CVE-2026-98058
High 7.1No known exploitationFix availablebpf: Mark syscall helpers as sleepable
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 2% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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 remain valid.
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 79a7f8bdb159d9914b58740f3d31d602a6e4aca8 before 65f636322ac402add6046c68e9ece77b9ffd71c9 | 65f636322ac402add6046c68e9ece77b9ffd71c9 | CVE Program |
| Linux | Linux | from 79a7f8bdb159d9914b58740f3d31d602a6e4aca8 before d05524794240b52fdc3b6c1220dd05505715824d | d05524794240b52fdc3b6c1220dd05505715824d | CVE Program |
| Linux | Linux | from 79a7f8bdb159d9914b58740f3d31d602a6e4aca8 before 3408e98f06ce06ea6a58ca6c39da9c23f0029c06 | 3408e98f06ce06ea6a58ca6c39da9c23f0029c06 | CVE Program |
| Linux | Linux | from 79a7f8bdb159d9914b58740f3d31d602a6e4aca8 before 9496d857205e60241034b798d7745ff8830ba599 | 9496d857205e60241034b798d7745ff8830ba599 | CVE Program |
| Linux | Linux | from 79a7f8bdb159d9914b58740f3d31d602a6e4aca8 before d8cfe9f71d302970ae393616960f2b3021d2b3b0 | d8cfe9f71d302970ae393616960f2b3021d2b3b0 | CVE Program |
| Linux | Linux | 5.14 | Not documented | CVE Program |
| Microsoft | azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Microsoft | azl3 kernel 6.6.159.1-1 on Azure Linux 3.0 | Not documented | 6.6.161.1-1 | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 6.12.114 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.57 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.6.160 up to and including 6.6.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.2.7 up to and including 7.2.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.3 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 5.14 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Advisory change
Microsoft advisory revised (6.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/3408e98f06ce06ea6a58ca6c39da9c23f0029c06 (opens in a new tab)
- https://git.kernel.org/stable/c/65f636322ac402add6046c68e9ece77b9ffd71c9 (opens in a new tab)
- https://git.kernel.org/stable/c/9496d857205e60241034b798d7745ff8830ba599 (opens in a new tab)
- https://git.kernel.org/stable/c/d05524794240b52fdc3b6c1220dd05505715824d (opens in a new tab)
- https://git.kernel.org/stable/c/d8cfe9f71d302970ae393616960f2b3021d2b3b0 (opens in a new tab)