Skip to contentSkip to conversation

CVE-2026-99142: tracing: Check operator stack capacity before pushing

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 28

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

tracing: Check operator stack capacity before pushing

predicate_parse() uses the first operator stack entry before processing any opening parentheses. A push then increments top before writing. The existing check still permits that write when top already points to the last allocated entry, which can access beyond the operator stack.

Reject the push when top reaches the last allocated entry.

The Linux kernel CVE team has assigned CVE-2026-99142 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.6 with commit 39f7c41c908bc82947ce47cdd021520ff486c53f and fixed in 6.18.59 with commit a866a8a753922cdf7710b8eb3f686dc0efc06505
	Issue introduced in 6.6 with commit 39f7c41c908bc82947ce47cdd021520ff486c53f and fixed in 7.2.13 with commit 75e894f92417390f0ef44fd350f2d3634c784876
	Issue introduced in 6.6 with commit 39f7c41c908bc82947ce47cdd021520ff486c53f and fixed in 7.3 with commit c47a7b11bcb3d45e29723afcf6336866476b1d08

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-99142

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
kernel/trace/trace_events_filter.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/a866a8a753922cdf7710b8eb3f686dc0efc06505
	https://git.kernel.org/stable/c/75e894f92417390f0ef44fd350f2d3634c784876
	https://git.kernel.org/stable/c/c47a7b11bcb3d45e29723afcf6336866476b1d08