CVE-2026-98655

perf: Require kernel access for text poke events

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e17d43b93e544f5016c0251d2074c15568d5d963 to before 4d8fc6290d14aa9e4c3b620fe3e5dc8ba3bea7e3Affected
  • e17d43b93e544f5016c0251d2074c15568d5d963 to before c30886396eb1c0e9fdc4296398dea0db0ab37610Affected
  • e17d43b93e544f5016c0251d2074c15568d5d963 to before 0e26d44b7c64b045adebcf5d614140f811f09752Affected
  • e17d43b93e544f5016c0251d2074c15568d5d963 to before 8c38cb055f6a9651198780e4e4d5283de4039f79Affected
  • e17d43b93e544f5016c0251d2074c15568d5d963 to before 8473f44db9f710ea6f8cafb22f2e3ba6cb8ca9a7Affected
  • e17d43b93e544f5016c0251d2074c15568d5d963 to before e506333d1b9f42f1e402acebf1283af3c44a3809Affected
  • e17d43b93e544f5016c0251d2074c15568d5d963 to before 677d0b51ac1a0db55d768c4c6399210b3de0795bAffected
  • e17d43b93e544f5016c0251d2074c15568d5d963 to before 357e8a77a501d96c9517f01f4a211eed5e9c9184Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.56 through 6.18.*Not affected
  • 7.2.10 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.