CVE-2025-21898ftrace: Avoid potential division by zero in function_stat_show()
- 5.5MediumCVSS base score
- 0.23%Exploitation in 30 daysEPSS · top 86% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 3 months later
· 3 months later
Published
- 14 months later
· 14 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.23% · top 86% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected f0629ee3922f10112584b1898491fecc74d98b3b – < 5b3d32f607f0478b414b16516cf27f9170cf66c8
- affected e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d – < ca381f60a3bb7cfaa618d73ca411610bd7fc3149
- affected e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d – < 3d738b53ed6cddb68e68c9874520a4bf846163b5
- affected e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d – < 992775227843c9376773784b8b362add44592ad7
- affected e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d – < f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3
- affected e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d – < 746cc474a95473591853927b3a9792a2d671155b
- affected e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d – < 9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6
- affected e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d – < a1a7eb89ca0b89dc1c326eeee2596f263291aca3
- affected c59e74104cfd7df3ca0b5f59f1baee9c8c28b9ef
- affected 015f0fd0fcc338513f80044add27fa46cf71d217
- affected 1a2985af2a20b816a5cc41a2ddc1c4109ef6b9c6
- affected 7650b4b1df091815bbbbb837d308dd4154684f8a
- affected 010a7e846d4beaf34384c40ff18d5de10106d9b4
- affected 5.4.9 – < 5.4.291
- affected 3.16.83 – < 3.17
- affected 4.4.209 – < 4.5
- affected 4.9.209 – < 4.10
- affected 4.14.163 – < 4.15
- affected 4.19.94 – < 4.20
- affected 5.5
- unaffected < 5.5
- unaffected 5.4.291 – ≤ 5.4.*
- unaffected 5.10.235 – ≤ 5.10.*
- unaffected 5.15.179 – ≤ 5.15.*
- unaffected 6.1.130 – ≤ 6.1.*
- unaffected 6.6.81 – ≤ 6.6.*
- unaffected 6.12.18 – ≤ 6.12.*
- unaffected 6.13.6 – ≤ 6.13.*
- unaffected 6.14 – ≤ *
References
References10
- https://git.kernel.org/stable/c/5b3d32f607f0478b414b16516cf27f9170cf66c8 (opens in a new tab)
- https://git.kernel.org/stable/c/ca381f60a3bb7cfaa618d73ca411610bd7fc3149 (opens in a new tab)
- https://git.kernel.org/stable/c/3d738b53ed6cddb68e68c9874520a4bf846163b5 (opens in a new tab)
- https://git.kernel.org/stable/c/992775227843c9376773784b8b362add44592ad7 (opens in a new tab)
- https://git.kernel.org/stable/c/f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3 (opens in a new tab)
- https://git.kernel.org/stable/c/746cc474a95473591853927b3a9792a2d671155b (opens in a new tab)
- https://git.kernel.org/stable/c/9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6 (opens in a new tab)
- https://git.kernel.org/stable/c/a1a7eb89ca0b89dc1c326eeee2596f263291aca3 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-9423 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-21898)Record last updated .