Skip to contentSkip to conversation

CVE-2026-99143: tracing: Keep the predicate limit separate from program capacity

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: Keep the predicate limit separate from program capacity

predicate_parse() adds two to nr_preds to reserve the terminal TRUE and FALSE entries. It also uses that increased value as the limit for parsed predicates. If the initial count is smaller than the number actually parsed, the program can fill the allocation and subsequent accesses can go past its end.

Keep nr_preds as the predicate limit and use a separate value for the allocation size. This leaves space for both terminal entries and a zeroed entry when parsing stops at the limit.

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

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

	Issue introduced in 6.6 with commit 39f7c41c908bc82947ce47cdd021520ff486c53f and fixed in 6.18.59 with commit 2058a1fe791bb30fd6e4875a7ada3237076c8541
	Issue introduced in 6.6 with commit 39f7c41c908bc82947ce47cdd021520ff486c53f and fixed in 7.2.13 with commit 68ecc9510bb82dd78585c02bd5357f34ee16b153
	Issue introduced in 6.6 with commit 39f7c41c908bc82947ce47cdd021520ff486c53f and fixed in 7.3 with commit 803aa6fc2dbea25ab9d3ed19eca1c96d0ab17445

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-99143

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/2058a1fe791bb30fd6e4875a7ada3237076c8541
	https://git.kernel.org/stable/c/68ecc9510bb82dd78585c02bd5357f34ee16b153
	https://git.kernel.org/stable/c/803aa6fc2dbea25ab9d3ed19eca1c96d0ab17445