<Vulnerability name="CVE-2026-99236">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Important</ThreatSeverity>
    <PublicDate>2026-11-02T16:06:41</PublicDate>
    <Bugzilla id="2565258" url="https://bugzilla.redhat.com/show_bug.cgi?id=2565258" xml:lang="en:us">
kernel: kernel: privilege escalation via incomplete event filter expressions
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>7.8</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-125</CWE>
    <Details xml:lang="en:us" source="Mitre">
In the Linux kernel, the following vulnerability has been resolved:

tracing: Reject incomplete event filter expressions

A non-empty expression normally finishes in predicate_parse()'s inner
loop, which resolves the pending logical operators before jumping to
finalization. If the input ends after an operator, possibly followed by
unary '!' tokens, the outer loop instead falls through with unresolved
operator state.

For example, "common_pid == 1 || common_pid == 2 &amp;&amp;" leaves
prog[0].target equal to -1. The second pass then reads prog[-1] before
the forward-jump check can reject it. Depending on adjacent slab
contents, it can also copy an out-of-bounds word into a branch target
that passes the forward-only check. A self-targeted perf tracepoint
counting event can reach this path through PERF_EVENT_IOC_SET_FILTER.

Reject the outer-loop fallthrough when a predicate has already been
parsed. This ensures that non-empty expressions only reach finalization
after the inner loop has resolved their operators. Keep the existing
no-filter error for input that has no predicates. Add a regression test
for trailing logical operators and unary negations.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in the Linux kernel. A local user can trigger out-of-bounds memory access to achieve privilege escalation or arbitrary code execution by submitting an incomplete event filter expression containing trailing logical operators. Alternatively, exploiting this flaw can expose sensitive kernel memory or crash the operating system, resulting in a Denial of Service (DoS).
    </Details>
    <Statement xml:lang="en:us">
This vulnerability is rated as an Important severity impact for Red Hat Enterprise Linux because unprivileged local attackers can exploit it to gain root privileges or force a kernel crash. Under default system configurations, trace event filtering can be reached by non-root accounts via the performance event subsystem without administrative capabilities. While the flaw cannot be triggered across the network, the ability of local users to corrupt kernel memory and hijack control flow warrants an Important rating rather than Moderate.
    </Statement>
    <Mitigation xml:lang="en:us">
--- CME Mitigation Guidance (2026-11-04) ---
Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.

The highest-value action is to block unprivileged access to perf_event_open and tracing event filter ioctls to prevent incomplete expressions from reaching predicate_parse(): upgrade to the corresponding fixed Red Hat builds, which reject outer-loop fallthrough with -EINVAL when predicates have already been parsed, closing all 2 injection vectors (PERF_EVENT_IOC_SET_FILTER ioctl on self-targeted perf counting events, tracing event filter configuration interface). Until patched, this is only a concern on Linux systems where local users can invoke perf_event_open and ioctls or access trace event filters — Non-Linux platforms are unaffected — so Restrict and audit local user access to the perf_event_open subsystem and trace event filter configuration interfaces. As a compensating measure, Enable KASAN or HWASan runtime memory error detection to detect out-of-bounds reads in kernel slab memory, Enable Supervisor Mode Execution Prevention to prevent execution of userspace payload code during privilege escalation, Enforce Control Flow Integrity or Shadow Call Stack to prevent unauthorized redirection via corrupted branch targets, Enable kernel memory zero-initialization via init_on_alloc to mitigate reuse of stale slab data in branch targets, Maintain SELinux in enforcing mode to restrict access to tracing interfaces and confine privilege escalation blast radius, and Map local users to confined SELinux domains to limit access to tracing interfaces and post-escalation capabilities. These controls limit blast radius and contain exploitation, but they do not fix the underlying incomplete filter expression out-of-bounds read defect — apply the upstream patch to fully remediate.

Highest-impact CME: CME-601 Kernel-Level Syscall Filtering (seccomp) (high)
    </Mitigation>
    <PackageState cpe="cpe:/a:redhat:enterprise_linux:10">
        <ProductName>Red Hat Enterprise Linux 10</ProductName>
        <FixState>Affected</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:rhel_els:6">
        <ProductName>Red Hat Enterprise Linux 6</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:rhel_els:7">
        <ProductName>Red Hat Enterprise Linux 7</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/o:redhat:rhel_els:7">
        <ProductName>Red Hat Enterprise Linux 7</ProductName>
        <FixState>Not affected</FixState>
        <PackageName>kernel-rt</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:enterprise_linux:8">
        <ProductName>Red Hat Enterprise Linux 8</ProductName>
        <FixState>Affected</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:enterprise_linux:8">
        <ProductName>Red Hat Enterprise Linux 8</ProductName>
        <FixState>Affected</FixState>
        <PackageName>kernel-rt</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:enterprise_linux:9">
        <ProductName>Red Hat Enterprise Linux 9</ProductName>
        <FixState>Affected</FixState>
        <PackageName>kernel</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:enterprise_linux:9">
        <ProductName>Red Hat Enterprise Linux 9</ProductName>
        <FixState>Affected</FixState>
        <PackageName>kernel-rt</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:openshift:4">
        <ProductName>Red Hat OpenShift Container Platform 4</ProductName>
        <FixState>Affected</FixState>
        <PackageName>openshift/ose-rhel-coreos-8</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:openshift:4">
        <ProductName>Red Hat OpenShift Container Platform 4</ProductName>
        <FixState>Affected</FixState>
        <PackageName>openshift/ose-rhel-coreos-9</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:openshift:5">
        <ProductName>Red Hat OpenShift Container Platform 5</ProductName>
        <FixState>Affected</FixState>
        <PackageName>openshift/ose-rhel-coreos-10</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:openshift:5">
        <ProductName>Red Hat OpenShift Container Platform 5</ProductName>
        <FixState>Affected</FixState>
        <PackageName>openshift/ose-rhel-coreos-9</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-99236
https://nvd.nist.gov/vuln/detail/CVE-2026-99236
https://git.kernel.org/stable/c/1008e9e0b8280d47f1ab5e9c113f666a023a9697
https://git.kernel.org/stable/c/15ff3cc7f2beecc3f95d66358f20ad7b057466aa
https://git.kernel.org/stable/c/2a98f5d4913ec081e08e1075512cb7ec313d9f72
https://git.kernel.org/stable/c/4a1a6d35359991c5d47f4bf101cfbe1475c94093
https://git.kernel.org/stable/c/5a999b5a16530898f0dbe5f8c50fd45ea72e110b
https://git.kernel.org/stable/c/5bcdf3c18c3471122ee9652b0e2f5cdb718d9a46
https://git.kernel.org/stable/c/64993d970dde2a2da353e9e99595a4fa88ec27d9
https://git.kernel.org/stable/c/b205ff58e02922ac324f931cf9eb238a3acdb048
    </References>
</Vulnerability>