Linux
tracing: Keep the predicate limit separate from program capacity
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 39f7c41c908bc82947ce47cdd021520ff486c53f, < f4fcbae8b27350565026807e77c96541d9e7a349
- >= 39f7c41c908bc82947ce47cdd021520ff486c53f, < 37049f8c56d377e46a8ef1ff93178a39a68a9c9c
- >= 39f7c41c908bc82947ce47cdd021520ff486c53f, < 2058a1fe791bb30fd6e4875a7ada3237076c8541
- >= 39f7c41c908bc82947ce47cdd021520ff486c53f, < 68ecc9510bb82dd78585c02bd5357f34ee16b153
- >= 39f7c41c908bc82947ce47cdd021520ff486c53f, < 803aa6fc2dbea25ab9d3ed19eca1c96d0ab17445
Fixed in f4fcbae8b27350565026807e77c96541d9e7a349, 37049f8c56d377e46a8ef1ff93178a39a68a9c9c, 2058a1fe791bb30fd6e4875a7ada3237076c8541, 68ecc9510bb82dd78585c02bd5357f34ee16b153, 803aa6fc2dbea25ab9d3ed19eca1c96d0ab17445
- 6.6
Fixed in 0, 6.6.161, 6.12.115, 6.18.59, 7.2.13, 7.3
Mitigation
Upgrade Linux to f4fcbae8b27350565026807e77c96541d9e7a349 or 37049f8c56d377e46a8ef1ff93178a39a68a9c9c or 2058a1fe791bb30fd6e4875a7ada3237076c8541 or 68ecc9510bb82dd78585c02bd5357f34ee16b153 or 803aa6fc2dbea25ab9d3ed19eca1c96d0ab17445 or later.
Upgrade Linux to 0 or 6.6.161 or 6.12.115 or 6.18.59 or 7.2.13 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.