CVE-2025-21898
Last modified
CVE-2025-21898 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 3.16.83, < 3.17 | — |
| Linux | Linux Kernel | >= 4.4.206, < 4.5 | — |
| Linux | Linux Kernel | >= 4.9.209, < 4.10 | — |
| Linux | Linux Kernel | >= 4.14.163, < 4.15 | — |
| Linux | Linux Kernel | >= 4.19.94, < 4.20 | — |
| Linux | Linux Kernel | >= 5.4.9, < 5.4.291 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.235 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.179 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.130 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.81 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.18 | — |
| Linux | Linux Kernel | >= 6.13, < 6.13.6 | — |
| Linux | Linux Kernel | 6.14 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-21898?
How severe is CVE-2025-21898?
How do I fix CVE-2025-21898?
Are you affected by CVE-2025-21898?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
