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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
39f7c41c908bc82947ce47cdd021520ff486c53f to < f4fcbae8b27350565026807e77c96541d9e7a349affected39f7c41c908bc82947ce47cdd021520ff486c53f to < 37049f8c56d377e46a8ef1ff93178a39a68a9c9caffected39f7c41c908bc82947ce47cdd021520ff486c53f to < 2058a1fe791bb30fd6e4875a7ada3237076c8541affected39f7c41c908bc82947ce47cdd021520ff486c53f to < 68ecc9510bb82dd78585c02bd5357f34ee16b153affected39f7c41c908bc82947ce47cdd021520ff486c53f to < 803aa6fc2dbea25ab9d3ed19eca1c96d0ab17445affected
Linux Linux
Default version status: affected
6.6affected0 to < 6.6unaffected6.6.161 to ≤ 6.6.*unaffected6.12.115 to ≤ 6.12.*unaffected6.18.59 to ≤ 6.18.*unaffected7.2.13 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/f4fcbae8b27350565026807e77c96541d9e7a349 ↗
- https://git.kernel.org/stable/c/37049f8c56d377e46a8ef1ff93178a39a68a9c9c ↗
- https://git.kernel.org/stable/c/2058a1fe791bb30fd6e4875a7ada3237076c8541 ↗
- https://git.kernel.org/stable/c/68ecc9510bb82dd78585c02bd5357f34ee16b153 ↗
- https://git.kernel.org/stable/c/803aa6fc2dbea25ab9d3ed19eca1c96d0ab17445 ↗