CVE-2025-21898

MediumCVSS 5.5/10Last modified Jun 17, 2026

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.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= f0629ee3922f10112584b1898491fecc74d98b3b, < 5b3d32f607f0478b414b16516cf27f9170cf66c8; >= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < ca381f60a3bb7cfaa618d73ca411610bd7fc3149; >= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < 3d738b53ed6cddb68e68c9874520a4bf846163b5; >= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < 992775227843c9376773784b8b362add44592ad7; >= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3; >= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < 746cc474a95473591853927b3a9792a2d671155b; >= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < 9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6; >= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < a1a7eb89ca0b89dc1c326eeee2596f263291aca3; c59e74104cfd7df3ca0b5f59f1baee9c8c28b9ef; 015f0fd0fcc338513f80044add27fa46cf71d217; 1a2985af2a20b816a5cc41a2ddc1c4109ef6b9c6; 7650b4b1df091815bbbbb837d308dd4154684f8a; 010a7e846d4beaf34384c40ff18d5de10106d9b4; >= 5.4.9, < 5.4.291; >= 3.16.83, < 3.17; >= 4.4.209, < 4.5; >= 4.9.209, < 4.10; >= 4.14.163, < 4.15; >= 4.19.94, < 4.20
LinuxLinux5.5

References

Timeline

Published
Apr 1, 2025
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2025

CVE-2025-218995.5In the Linux kernel, the following vulnerability has been resolved: tracing: Fix bad hist from corrupting named_triggers list The followinCVE-2025-21908.1The mobile application (com.transsnet.store) has a man-in-the-middle attack vulnerability, which may lead to code injection risks.CVE-2025-219005.5In the Linux kernel, the following vulnerability has been resolved: NFSv4: Fix a deadlock when recovering state on a sillyrenamed file If CVE-2025-219015.5In the Linux kernel, the following vulnerability has been resolved: RDMA/bnxt_re: Add sanity checks on rdev validity There is a possibilitCVE-2025-219025.5In the Linux kernel, the following vulnerability has been resolved: acpi: typec: ucsi: Introduce a ->poll_cci method For the ACPI backend CVE-2025-219035.5In the Linux kernel, the following vulnerability has been resolved: mctp i3c: handle NULL header address daddr can be NULL if there is no CVE-2025-219045.5In the Linux kernel, the following vulnerability has been resolved: caif_virtio: fix wrong pointer check in cfv_probe() del_vqs() frees viCVE-2025-219057.1In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: limit printed string from FW file There's no guarantee CVE-2025-219065.5In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: mvm: clean up ROC on failure If the firmware fails to sCVE-2025-219075.5In the Linux kernel, the following vulnerability has been resolved: mm: memory-failure: update ttu flag inside unmap_poisoned_folio Patch CVE-2025-219085.5In the Linux kernel, the following vulnerability has been resolved: NFS: fix nfs_release_folio() to not deadlock via kcompactd writeback ACVE-2025-219095.5In the Linux kernel, the following vulnerability has been resolved: wifi: nl80211: reject cooked mode if it is set along with other flags
CVE-2025-21898: Medium severity, CVSS 5.5 | Vulnix