CVE-2025-21898

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedApr 1, 2025
First seenApr 1, 2025
Weakness typeCWE-369CWE-369

How to fix

Update
  • 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

ProductAffected versionsFixed in
linux linux_kernel3.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.143.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-21898 · Linux Kernel · Dark Radar