perf: Require kernel access for text poke events
Summary
| CVE | CVE-2026-98655 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-18 16:17:18 UTC |
| Updated | 2026-10-21 13:21:32 UTC |
| 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. |
Risk And Classification
EPSS: 0.001800000 probability, percentile 0.072420000 (date 2026-10-21)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected e17d43b93e544f5016c0251d2074c15568d5d963 8c38cb055f6a9651198780e4e4d5283de4039f79 git | Not specified |
| CNA | Linux | Linux | affected e17d43b93e544f5016c0251d2074c15568d5d963 8473f44db9f710ea6f8cafb22f2e3ba6cb8ca9a7 git | Not specified |
| CNA | Linux | Linux | affected e17d43b93e544f5016c0251d2074c15568d5d963 e506333d1b9f42f1e402acebf1283af3c44a3809 git | Not specified |
| CNA | Linux | Linux | affected e17d43b93e544f5016c0251d2074c15568d5d963 677d0b51ac1a0db55d768c4c6399210b3de0795b git | Not specified |
| CNA | Linux | Linux | affected e17d43b93e544f5016c0251d2074c15568d5d963 357e8a77a501d96c9517f01f4a211eed5e9c9184 git | Not specified |
| CNA | Linux | Linux | affected 5.9 | Not specified |
| CNA | Linux | Linux | unaffected 5.9 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.160 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.113 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.56 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2.10 7.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/8c38cb055f6a9651198780e4e4d5283de4039f79 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/8473f44db9f710ea6f8cafb22f2e3ba6cb8ca9a7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/677d0b51ac1a0db55d768c4c6399210b3de0795b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/e506333d1b9f42f1e402acebf1283af3c44a3809 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/357e8a77a501d96c9517f01f4a211eed5e9c9184 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.