# CVE-2026-98856: kprobes: Skip disarmed probes when checking optkprobe overlap

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-10-18T15:51:12.359Z
- Modified: 2026-10-30T13:21:31.220Z
- Assigned by: Linux

## Description

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

kprobes: Skip disarmed probes when checking optkprobe overlap

On x86, an optkprobe at A replaces five bytes with a jump. If a disabled
probe B is at A+2, get_optimized_kprobe() stops at B when arming a new
probe C at A+4. It leaves A optimized:

              A    A+1  A+2  A+3  A+4
  A's jump  | e9 | d0 | d1 | d2 | d3 |
  after C   | e9 | d0 | d1 | d2 | cc |

The INT3 for C overwrites the last byte of A's jump displacement, so
execution can jump to the wrong address. B can have prepared optinsns
while disarmed, but has no jump to unoptimize.

Continue past disarmed and unprepared probes to find the active optimized
probe before arming a probe in its jump.

(As written by CVE List.)

## Affected

- Linux Linux: from afd66255b9a48f5851326ddae50e2203fbf71dc9 before e29e819cacfb4e3cd56d41eb704ab4718d6d2915; from afd66255b9a48f5851326ddae50e2203fbf71dc9 before ab9ed9faa67bf67383ff7e1479655e232a843c2b; from afd66255b9a48f5851326ddae50e2203fbf71dc9 before 3b0f604df9e2b9a456f1ae5266a439998c4c8826; from afd66255b9a48f5851326ddae50e2203fbf71dc9 before 3f968dcdf018861129f97910fa7bd680d939a9b0; from afd66255b9a48f5851326ddae50e2203fbf71dc9 before 985a568171e7bdba6dcde3420d0e5bb515813457; from afd66255b9a48f5851326ddae50e2203fbf71dc9 before 6745fa65f4115045431c0c15610e876855a04625; from afd66255b9a48f5851326ddae50e2203fbf71dc9 before 526fac219e8b7d3369b43026bd0a1df51b811cd4; from afd66255b9a48f5851326ddae50e2203fbf71dc9 before 7a39c732a22ec4a369af9e19fbe3d666ec83eec4; 2.6.34 (not affected: before 2.6.34; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/e29e819cacfb4e3cd56d41eb704ab4718d6d2915>
- <https://git.kernel.org/stable/c/ab9ed9faa67bf67383ff7e1479655e232a843c2b>
- <https://git.kernel.org/stable/c/3b0f604df9e2b9a456f1ae5266a439998c4c8826>
- <https://git.kernel.org/stable/c/3f968dcdf018861129f97910fa7bd680d939a9b0>
- <https://git.kernel.org/stable/c/985a568171e7bdba6dcde3420d0e5bb515813457>
- <https://git.kernel.org/stable/c/6745fa65f4115045431c0c15610e876855a04625>
- <https://git.kernel.org/stable/c/526fac219e8b7d3369b43026bd0a1df51b811cd4>
- <https://git.kernel.org/stable/c/7a39c732a22ec4a369af9e19fbe3d666ec83eec4>

## Sources

- CVE List: [CVE-2026-98856](https://www.cve.org/CVERecord?id=CVE-2026-98856), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-98856](https://nvd.nist.gov/vuln/detail/CVE-2026-98856), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-98856 · Whole record: https://cve.day/CVE-2026-98856.json · Rebuilt by cve.day 2026-11-25T22:59:45.328Z
