Vulnerability in Linux

CVE-2025-21898

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 14.3th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 4.14.163, 010a7e846d4beaf34384c40ff18d5de10106d9b4, c59e74104cfd7df3ca0b5f59f1baee9c8c28b9ef
  • Linux Kernel — versions 6.14

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References