{"id":"CVE-2026-98655","aliases":["CVE-2026-98655"],"related":[],"kind":"vulnerability","state":"published","title":"perf: Require kernel access for text poke events","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf: Require kernel access for text poke events\n\nPerf events with exclude_kernel=1 can be opened without kernel perf\naccess. However, exclude_kernel does not suppress text-poke sideband\nrecords. Every PERF_RECORD_TEXT_POKE is marked PERF_RECORD_MISC_KERNEL\nand contains a raw kernel instruction address.\n\nAn unprivileged task can therefore open and mmap a task-local software\nevent with text_poke=1. Both opening a count-only tracepoint event and\nconfiguring UDP GRO for ESP-in-UDP cause updates to inline static calls;\nthe observer receives the relocated addresses of the modified instructions.\nFor a known kernel image, any such address reveals the runtime kernel\ntext base despite KASLR.\n\nCall perf_allow_kernel() whenever attr.text_poke is set, regardless of\nexclude_kernel. Events that neither monitor kernel execution nor request\ntext-poke records retain their existing permissions.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf: Require kernel access for text poke events\n\nPerf events with exclude_kernel=1 can be opened without kernel perf\naccess. However, exclude_kernel does not suppress text-poke sideband\nrecords. Every PERF_RECORD_TEXT_POKE is marked PERF_RECORD_MISC_KERNEL\nand contains a raw kernel instruction address.\n\nAn unprivileged task can therefore open and mmap a task-local software\nevent with text_poke=1. Both opening a count-only tracepoint event and\nconfiguring UDP GRO for ESP-in-UDP cause updates to inline static calls;\nthe observer receives the relocated addresses of the modified instructions.\nFor a known kernel image, any such address reveals the runtime kernel\ntext base despite KASLR.\n\nCall perf_allow_kernel() whenever attr.text_poke is set, regardless of\nexclude_kernel. Events that neither monitor kernel execution nor request\ntext-poke records retain their existing permissions.","source":"cvelist"}],"published":"2026-10-18T15:44:05.722Z","modified":"2026-10-30T13:21:16.220Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e17d43b93e544f5016c0251d2074c15568d5d963","fixed":"4d8fc6290d14aa9e4c3b620fe3e5dc8ba3bea7e3","status":"affected"},{"type":"git","introduced":"e17d43b93e544f5016c0251d2074c15568d5d963","fixed":"c30886396eb1c0e9fdc4296398dea0db0ab37610","status":"affected"},{"type":"git","introduced":"e17d43b93e544f5016c0251d2074c15568d5d963","fixed":"0e26d44b7c64b045adebcf5d614140f811f09752","status":"affected"},{"type":"git","introduced":"e17d43b93e544f5016c0251d2074c15568d5d963","fixed":"8c38cb055f6a9651198780e4e4d5283de4039f79","status":"affected"},{"type":"git","introduced":"e17d43b93e544f5016c0251d2074c15568d5d963","fixed":"8473f44db9f710ea6f8cafb22f2e3ba6cb8ca9a7","status":"affected"},{"type":"git","introduced":"e17d43b93e544f5016c0251d2074c15568d5d963","fixed":"e506333d1b9f42f1e402acebf1283af3c44a3809","status":"affected"},{"type":"git","introduced":"e17d43b93e544f5016c0251d2074c15568d5d963","fixed":"677d0b51ac1a0db55d768c4c6399210b3de0795b","status":"affected"},{"type":"git","introduced":"e17d43b93e544f5016c0251d2074c15568d5d963","fixed":"357e8a77a501d96c9517f01f4a211eed5e9c9184","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.9","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4d8fc6290d14aa9e4c3b620fe3e5dc8ba3bea7e3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c30886396eb1c0e9fdc4296398dea0db0ab37610","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e26d44b7c64b045adebcf5d614140f811f09752","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c38cb055f6a9651198780e4e4d5283de4039f79","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8473f44db9f710ea6f8cafb22f2e3ba6cb8ca9a7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e506333d1b9f42f1e402acebf1283af3c44a3809","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/677d0b51ac1a0db55d768c4c6399210b3de0795b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/357e8a77a501d96c9517f01f4a211eed5e9c9184","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98655","url":"https://www.cve.org/CVERecord?id=CVE-2026-98655","licence":"CVE Terms of Use","modified":"2026-10-30T12:38:27.085Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98655","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98655","licence":"Public domain","modified":"2026-10-30T13:21:16.220Z"}],"updatedAt":"2026-11-25T22:59:45.258Z","epss":{"score":0.0019,"percentile":0.09092,"date":"2026-12-01T12:00:22.000Z"}}