CVE-2025-21898

NameCVE-2025-21898
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4178-1, DLA-4193-1, DSA-5900-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bullseye5.10.223-1vulnerable
bullseye (security)5.10.237-1fixed
bookworm6.1.137-1fixed
bookworm (security)6.1.140-1fixed
trixie6.12.33-1fixed
trixie (security)6.12.31-1fixed
sid6.12.35-1fixed
linux-6.1 (PTS)bullseye (security)6.1.137-1~deb11u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcebullseye5.10.237-1DLA-4178-1
linuxsourcebookworm6.1.133-1DSA-5900-1
linuxsource(unstable)6.12.19-1
linux-6.1sourcebullseye6.1.137-1~deb11u1DLA-4193-1

Notes

https://git.kernel.org/linus/a1a7eb89ca0b89dc1c326eeee2596f263291aca3 (6.14-rc5)

Search for package or bug name: Reporting problems