CVE-2025-21898
Description
In the Linux kernel, the following vulnerability has been resolved: ftrace: Avoid potential division by zero in function_stat_show() Check whether denominator expression x * (x - 1) * 1000 mod {2^32, 2^64} produce zero and skip stddev computation in that case. For now don't care about rec->counter * rec->counter overflow because rec->time * rec->time overflow will likely happen earlier.
How to fix
- linux linux_kernel3.17, 4.5, 4.10, 4.15, 4.20, 5.4.291, 5.10.235, 5.15.179, 6.1.130, 6.6.81, 6.12.18, 6.13.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 3.16.83 ≤ v < 3.17, 4.4.206 ≤ v < 4.5, 4.9.209 ≤ v < 4.10, 4.14.163 ≤ v < 4.15, 4.19.94 ≤ v < 4.20, 5.4.9 ≤ v < 5.4.291, 5.5 ≤ v < 5.10.235, 5.11 ≤ v < 5.15.179, 5.16 ≤ v < 6.1.130, 6.2 ≤ v < 6.6.81, 6.7 ≤ v < 6.12.18, 6.13 ≤ v < 6.13.6, 6.14 | 3.17, 4.5, 4.10, 4.15, 4.20, 5.4.291, 5.10.235, 5.15.179, 6.1.130, 6.6.81, 6.12.18, 6.13.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.