We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-21898

ftrace: Avoid potential division by zero in function_stat_show()



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.

Reserved 2024-12-29 | Published 2025-04-01 | Updated 2025-05-04 | Assigner Linux

Product status

Default status
unaffected

f0629ee3922f10112584b1898491fecc74d98b3b before 5b3d32f607f0478b414b16516cf27f9170cf66c8
affected

e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d before ca381f60a3bb7cfaa618d73ca411610bd7fc3149
affected

e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d before 3d738b53ed6cddb68e68c9874520a4bf846163b5
affected

e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d before 992775227843c9376773784b8b362add44592ad7
affected

e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d before f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3
affected

e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d before 746cc474a95473591853927b3a9792a2d671155b
affected

e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d before 9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6
affected

e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d before a1a7eb89ca0b89dc1c326eeee2596f263291aca3
affected

c59e74104cfd7df3ca0b5f59f1baee9c8c28b9ef
affected

015f0fd0fcc338513f80044add27fa46cf71d217
affected

1a2985af2a20b816a5cc41a2ddc1c4109ef6b9c6
affected

7650b4b1df091815bbbbb837d308dd4154684f8a
affected

010a7e846d4beaf34384c40ff18d5de10106d9b4
affected

Default status
affected

5.5
affected

Any version before 5.5
unaffected

5.4.291
unaffected

5.10.235
unaffected

5.15.179
unaffected

6.1.130
unaffected

6.6.81
unaffected

6.12.18
unaffected

6.13.6
unaffected

6.14
unaffected

References

git.kernel.org/...c/5b3d32f607f0478b414b16516cf27f9170cf66c8

git.kernel.org/...c/ca381f60a3bb7cfaa618d73ca411610bd7fc3149

git.kernel.org/...c/3d738b53ed6cddb68e68c9874520a4bf846163b5

git.kernel.org/...c/992775227843c9376773784b8b362add44592ad7

git.kernel.org/...c/f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3

git.kernel.org/...c/746cc474a95473591853927b3a9792a2d671155b

git.kernel.org/...c/9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6

git.kernel.org/...c/a1a7eb89ca0b89dc1c326eeee2596f263291aca3

cve.org (CVE-2025-21898)

nvd.nist.gov (CVE-2025-21898)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-21898

Support options

Helpdesk Chat, Email, Knowledgebase