tracing: Keep the predicate limit separate from program capacity
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f4fcbae8b27350565026807e77c96541d9e7a349, Kernel 2058a1fe791bb30fd6e4875a7ada3237076c8541, Kernel 37049f8c56d377e46a8ef1ff93178a39a68a9c9c and 6 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=39f7c41c908bc82947ce47cdd021520ff486c53f <f4fcbae8b27350565026807e77c96541d9e7a349, >=39f7c41c908bc82947ce47cdd021520ff486c53f <2058a1fe791bb30fd6e4875a7ada3237076c8541, >=39f7c41c908bc82947ce47cdd021520ff486c53f <37049f8c56d377e46a8ef1ff93178a39a68a9c9c, >=39f7c41c908bc82947ce47cdd021520ff486c53f <68ecc9510bb82dd78585c02bd5357f34ee16b153, >=39f7c41c908bc82947ce47cdd021520ff486c53f <803aa6fc2dbea25ab9d3ed19eca1c96d0ab17445, =6.6 | f4fcbae8b27350565026807e77c96541d9e7a349, 2058a1fe791bb30fd6e4875a7ada3237076c8541, 37049f8c56d377e46a8ef1ff93178a39a68a9c9c, 68ecc9510bb82dd78585c02bd5357f34ee16b153, 803aa6fc2dbea25ab9d3ed19eca1c96d0ab17445 |
| linux-kernel: Kernel | >=6.19.0 <7.2.13, >=6.6.0 <6.6.161, >=6.7.0 <6.12.115, >=6.13.0 <6.18.59 | 7.2.13, 6.6.161, 6.12.115, 6.18.59 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket