CVE-2025-21898
ftrace: Avoid potential division by zero in function_stat_show()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.4.291, 3.17, 4.5, 4.10, 4.15, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 5.4.9 · fixed in 5.4.291; From 3.16.83 · fixed in 3.17; From 4.4.209 · fixed in 4.5; From 4.9.209 · fixed in 4.10; From 4.14.163 · fixed in 4.15; From 4.19.94 · fixed in 4.20
- Linux Linux
5.5
References 8
git.kernel.org
- stable/c/5b3d32f607f0478b414b16516cf27f9170cf66c8
- stable/c/ca381f60a3bb7cfaa618d73ca411610bd7fc3149
- stable/c/3d738b53ed6cddb68e68c9874520a4bf846163b5
- stable/c/992775227843c9376773784b8b362add44592ad7
- stable/c/f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3
- stable/c/746cc474a95473591853927b3a9792a2d671155b
- stable/c/9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6
- stable/c/a1a7eb89ca0b89dc1c326eeee2596f263291aca3