Skip to content
RedCVE

CVE-2026-98058Linux Kernel race condition

LinuxPublished:

CVSS score

5.5

Medium

CVSS 3.1 from NVD

Exploit probability (EPSS)

0.12%

0.12% chance of exploitation in the next 30 days, higher than 1.80% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Linux Kernel, Linux and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Linux Kernel to 6.6.160, 6.12.114, 6.18.57, 7.2.7 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

Affected productsVersions
Linux Linux Kernel≥ 5.14, < 6.6.160 · ≥ 6.7, < 6.12.114 · ≥ 6.13, < 6.18.57 · ≥ 6.19, < 7.2.7 · 7.3
Linux Linux≥ 79a7f8bdb159d9914b58740f3d31d602a6e4aca8, < 9496d857205e60241034b798d7745ff8830ba599 · ≥ 79a7f8bdb159d9914b58740f3d31d602a6e4aca8, < d8cfe9f71d302970ae393616960f2b3021d2b3b0 · ≥ 79a7f8bdb159d9914b58740f3d31d602a6e4aca8, < 65f636322ac402add6046c68e9ece77b9ffd71c9 · ≥ 79a7f8bdb159d9914b58740f3d31d602a6e4aca8, < 3408e98f06ce06ea6a58ca6c39da9c23f0029c06 · ≥ 79a7f8bdb159d9914b58740f3d31d602a6e4aca8, < d05524794240b52fdc3b6c1220dd05505715824d · 5.14

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-98058 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-98058?

CVE-2026-98058 has a CVSS 3.1 base score of 5.5 (medium).

Which versions are affected?

Linux Linux Kernel (≥ 5.14, < 6.6.160; ≥ 6.7, < 6.12.114; ≥ 6.13, < 6.18.57; ≥ 6.19, < 7.2.7; 7.3), Linux Linux (≥ 79a7f8bdb159d9914b58740f3d31d602a6e4aca8, < 9496d857205e60241034b798d7745ff8830ba599; ≥ 79a7f8bdb159d9914b58740f3d31d602a6e4aca8, < d8cfe9f71d302970ae393616960f2b3021d2b3b0; ≥ 79a7f8bdb159d9914b58740f3d31d602a6e4aca8, < 65f636322ac402add6046c68e9ece77b9ffd71c9; ≥ 79a7f8bdb159d9914b58740f3d31d602a6e4aca8, < 3408e98f06ce06ea6a58ca6c39da9c23f0029c06; ≥ 79a7f8bdb159d9914b58740f3d31d602a6e4aca8, < d05524794240b52fdc3b6c1220dd05505715824d; 5.14)

Is there a patch for CVE-2026-98058?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.