Skip to content
Heist/ feed
Back to feed
UnratedFix available

perf: Require kernel access for text poke events

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.273, 5.15.224, 6.1.191, 6.12.113, 6.18.56, 6.6.160, 7.2.10
CVEs
CVE-2026-98655
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 19:21 UTC · Revision 1

Source evidence

perf: Require kernel access for text poke events

core-osv · Original source

Published 18 Oct 2026, 15:44 UTC

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.

osv:CVE-2026-98655

Kernel

Fixed versions: 5.10.273, 5.15.224, 6.1.191, 6.6.160, 6.12.113, 6.18.56, 7.2.10

Complete source record
{
  "id": "6d5be77c0e009357d384856ed3198f106cd750c2850248218588e6038e03ffd0",
  "url": "https://osv.dev/vulnerability/CVE-2026-98655",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "perf: Require kernel access for text poke events",
    "summary": "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.",
    "evidence": "osv:CVE-2026-98655",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.273",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.224",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.191",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.160",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.113",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.56",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98655",
      "aliases": [
        "CVE-2026-98655"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e17d43b93e544f5016c0251d2074c15568d5d963"
                },
                {
                  "fixed": "4d8fc6290d14aa9e4c3b620fe3e5dc8ba3bea7e3"
                },
                {
                  "fixed": "c30886396eb1c0e9fdc4296398dea0db0ab37610"
                },
                {
                  "fixed": "0e26d44b7c64b045adebcf5d614140f811f09752"
                },
                {
                  "fixed": "8c38cb055f6a9651198780e4e4d5283de4039f79"
                },
                {
                  "fixed": "8473f44db9f710ea6f8cafb22f2e3ba6cb8ca9a7"
                },
                {
                  "fixed": "e506333d1b9f42f1e402acebf1283af3c44a3809"
                },
                {
                  "fixed": "677d0b51ac1a0db55d768c4c6399210b3de0795b"
                },
                {
                  "fixed": "357e8a77a501d96c9517f01f4a211eed5e9c9184"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98655.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.9.0"
                },
                {
                  "fixed": "5.10.273"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.224"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.191"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.160"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.113"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.56"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98655.json"
          }
        }
      ],
      "modified": "2026-11-01T02:30:48.623826758Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0e26d44b7c64b045adebcf5d614140f811f09752",
        "https://git.kernel.org/stable/c/357e8a77a501d96c9517f01f4a211eed5e9c9184",
        "https://git.kernel.org/stable/c/4d8fc6290d14aa9e4c3b620fe3e5dc8ba3bea7e3",
        "https://git.kernel.org/stable/c/677d0b51ac1a0db55d768c4c6399210b3de0795b",
        "https://git.kernel.org/stable/c/8473f44db9f710ea6f8cafb22f2e3ba6cb8ca9a7",
        "https://git.kernel.org/stable/c/8c38cb055f6a9651198780e4e4d5283de4039f79",
        "https://git.kernel.org/stable/c/c30886396eb1c0e9fdc4296398dea0db0ab37610",
        "https://git.kernel.org/stable/c/e506333d1b9f42f1e402acebf1283af3c44a3809",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98655.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-98655",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98655.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98655",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 498669,
  "published_at": "2026-10-18T15:44:05.722+00:00"
}