# CVE-2026-98655: perf: Require kernel access for text poke events

- 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.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-10-18T15:44:05.722Z
- Modified: 2026-10-30T13:21:16.220Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e17d43b93e544f5016c0251d2074c15568d5d963 before 4d8fc6290d14aa9e4c3b620fe3e5dc8ba3bea7e3; from e17d43b93e544f5016c0251d2074c15568d5d963 before c30886396eb1c0e9fdc4296398dea0db0ab37610; from e17d43b93e544f5016c0251d2074c15568d5d963 before 0e26d44b7c64b045adebcf5d614140f811f09752; from e17d43b93e544f5016c0251d2074c15568d5d963 before 8c38cb055f6a9651198780e4e4d5283de4039f79; from e17d43b93e544f5016c0251d2074c15568d5d963 before 8473f44db9f710ea6f8cafb22f2e3ba6cb8ca9a7; from e17d43b93e544f5016c0251d2074c15568d5d963 before e506333d1b9f42f1e402acebf1283af3c44a3809; from e17d43b93e544f5016c0251d2074c15568d5d963 before 677d0b51ac1a0db55d768c4c6399210b3de0795b; from e17d43b93e544f5016c0251d2074c15568d5d963 before 357e8a77a501d96c9517f01f4a211eed5e9c9184; 5.9 (not affected: before 5.9; 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/4d8fc6290d14aa9e4c3b620fe3e5dc8ba3bea7e3>
- <https://git.kernel.org/stable/c/c30886396eb1c0e9fdc4296398dea0db0ab37610>
- <https://git.kernel.org/stable/c/0e26d44b7c64b045adebcf5d614140f811f09752>
- <https://git.kernel.org/stable/c/8c38cb055f6a9651198780e4e4d5283de4039f79>
- <https://git.kernel.org/stable/c/8473f44db9f710ea6f8cafb22f2e3ba6cb8ca9a7>
- <https://git.kernel.org/stable/c/e506333d1b9f42f1e402acebf1283af3c44a3809>
- <https://git.kernel.org/stable/c/677d0b51ac1a0db55d768c4c6399210b3de0795b>
- <https://git.kernel.org/stable/c/357e8a77a501d96c9517f01f4a211eed5e9c9184>

## Sources

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

---

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