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

perf: Require kernel access for text poke events

Perf events with exclude_kernel=1 can be opened without kernel perf
access. However, exclude_kernel does not suppress text-poke sideband
records. Every PERF_RECORD_TEXT_POKE is marked PERF_RECORD_MISC_KERNEL
and contains a raw kernel instruction address.

An unprivileged task can therefore open and mmap a task-local software
event with text_poke=1. Both opening a count-only tracepoint event and
configuring UDP GRO for ESP-in-UDP cause updates to inline static calls;
the observer receives the relocated addresses of the modified instructions.
For a known kernel image, any such address reveals the runtime kernel
text base despite KASLR.

Call perf_allow_kernel() whenever attr.text_poke is set, regardless of
exclude_kernel. Events that neither monitor kernel execution nor request
text-poke records retain their existing permissions.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Information disclosure of kernel text base potentially enabling KASLR bypass and downstream attacks
Action: Immediate Remediation
AI Analysis

Impact

The vulnerability allows an unprivileged process to open and mmap a performance event with text_poke enabled while setting exclude_kernel=1. The resulting PERF_RECORD_TEXT_POKE records are marked as kernel events and contain the raw address of relocated kernel instructions. An observer of these records can thus obtain concrete kernel instruction addresses, revealing the runtime base address of the kernel image, even when KASLR is active. The disclosure of this address can be a stepping stone for further kernel exploitation, including privilege escalation or code execution in the kernel space.

Affected Systems

All systems running the Linux kernel, regardless of vendor, are affected. No specific kernel releases are listed, so any kernel that still implements the unprotected text‑poke behavior is vulnerable. The issue originates from the generic Linux kernel source and therefore applies across all mainstream distributions.

Risk and Exploitability

EPSS data is not available and the vulnerability is not listed in CISA’s KEV catalog, but the weakness is significant due to the kernel address exposure. The attack vector requires the ability to create a perf event, a capability normally available to any process. Once the kernel base address is known, an attacker could build or trigger more complex exploits against the kernel. The CVSS score is not provided, so assess the risk conservatively, assuming a high potential severity given the kernel information leakage.

Generated by OpenCVE AI on October 18, 2026 at 22:31 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that enforces kernel access control for perf events with text_poke enabled. Consult vendor advisories or kernel release notes for the specific patch commit.
  • Disable text‑poke functionality for non‑kernel events by configuring the kernel or using sysctl settings that restrict text_poke or exclude_kernel usage for userland processes.
  • If an immediate kernel update is not possible, consider disabling or limiting the perf subsystem for unprivileged users by setting appropriate capabilities or using firewall/ACL rules to block access to the perf_event_open system call.

Generated by OpenCVE AI on October 18, 2026 at 22:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Weaknesses CWE-200
CWE-264

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: perf: Require kernel access for text poke events Perf events with exclude_kernel=1 can be opened without kernel perf access. However, exclude_kernel does not suppress text-poke sideband records. Every PERF_RECORD_TEXT_POKE is marked PERF_RECORD_MISC_KERNEL and contains a raw kernel instruction address. An unprivileged task can therefore open and mmap a task-local software event with text_poke=1. Both opening a count-only tracepoint event and configuring UDP GRO for ESP-in-UDP cause updates to inline static calls; the observer receives the relocated addresses of the modified instructions. For a known kernel image, any such address reveals the runtime kernel text base despite KASLR. Call perf_allow_kernel() whenever attr.text_poke is set, regardless of exclude_kernel. Events that neither monitor kernel execution nor request text-poke records retain their existing permissions.
Title perf: Require kernel access for text poke events
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-18T15:44:05.722Z

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

Link: CVE-2026-98655

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-10-18T16:17:18.797

Link: CVE-2026-98655

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T22:45:04Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-264