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.
Published: 2026-10-18
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel Code Execution
Action: Immediate Patch
AI Analysis

Impact

The bug lies in the Linux kernel kprobe subsystem’s handling of optimized probes. When a new probe is armed close to an existing disabled (disarmed) probe, the routine stops at the disabled probe and writes a breakpoint into the last byte of a preceding probe’s jump instruction. This corrupts the jump and causes execution to be redirected to an unintended address, effectively allowing an attacker to execute arbitrary code at kernel level. The weakness is an improper validation of probe states and mismanagement of in‑kernel code patching, leading to a kernel execution vulnerability.

Affected Systems

All Linux kernel releases that include the optkprobe optimization are affected. No exact version numbers are listed, so any kernel that implements kprobes and the optkprobe optimization could be impacted.

Risk and Exploitability

The CVSS score of 4.4 indicates moderate severity, but the nature of the flaw—kernel‑level code execution—implies significant risk. EPSS score is < 1% and the issue is not listed in the CISA KEV catalog, so exploitation is not currently known. The attack vector requires a privileged user to arm kprobes, so local privilege escalation or a privilege‑escalating exploit that enables probe manipulation would be required. If a system remains on an unpatched kernel, an attacker with the requisite privileges could easily trigger the bug and run code in kernel context.

Generated by OpenCVE AI on October 24, 2026 at 03:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the commit fixing optkprobe handling and reboot
  • If the patch is not yet released, disable the kprobe subsystem by removing the CONFIG_KPROBES kernel configuration option or using sysctl settings to prevent probe usage
  • Avoid using optkprobe optimizations in environments where kernel code alteration is risky; verify that all dynamic instrumentation utilities are updated or removed

Generated by OpenCVE AI on October 24, 2026 at 03:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
History

Fri, 30 Oct 2026 13:00:00 +0000


Sat, 24 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Sat, 24 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1285
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Wed, 21 Oct 2026 13:15:00 +0000


Sun, 18 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
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.
Title kprobes: Skip disarmed probes when checking optkprobe overlap
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-30T12:40:17.396Z

Reserved: 2026-09-25T10:25:14.376Z

Link: CVE-2026-98856

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:40.050

Modified: 2026-10-30T13:21:31.220

Link: CVE-2026-98856

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98856 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T03:30:15Z

Weaknesses
  • CWE-1285

    Improper Validation of Specified Index, Position, or Offset in Input