Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2025-21898Published 4/1/2025

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.

Vendor advisory
CVSS5.5Medium

Overview

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
4/1/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.16.83, < 3.17

Verify advisory

Source
linux kernel
linux
≥ 4.4.206, < 4.5

Verify advisory

Source
linux kernel
linux
≥ 4.9.209, < 4.10

Verify advisory

Source
linux kernel
linux
≥ 4.14.163, < 4.15

Verify advisory

Source
linux kernel
linux
≥ 4.19.94, < 4.20

Verify advisory

Source
linux kernel
linux
≥ 5.4.9, < 5.4.291

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.235

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.179

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.130

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.81

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.18

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.6

Verify advisory

Source
linux kernel
linux
6.14

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ f0629ee3922f10112584b1898491fecc74d98b3b, < 5b3d32f607f0478b414b16516cf27f9170cf66c8

Verify advisory

Source
Linux
Linux
≥ e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < ca381f60a3bb7cfaa618d73ca411610bd7fc3149

Verify advisory

Source
Linux
Linux
≥ e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < 3d738b53ed6cddb68e68c9874520a4bf846163b5

Verify advisory

Source
Linux
Linux
≥ e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < 992775227843c9376773784b8b362add44592ad7

Verify advisory

Source
Linux
Linux
≥ e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3

Verify advisory

Source
Linux
Linux
≥ e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < 746cc474a95473591853927b3a9792a2d671155b

Verify advisory

Source
Linux
Linux
≥ e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < 9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6

Verify advisory

Source
Linux
Linux
≥ e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < a1a7eb89ca0b89dc1c326eeee2596f263291aca3

Verify advisory

Source
Linux
Linux
c59e74104cfd7df3ca0b5f59f1baee9c8c28b9ef

Verify advisory

Source
Linux
Linux
015f0fd0fcc338513f80044add27fa46cf71d217

Verify advisory

Source
Linux
Linux
1a2985af2a20b816a5cc41a2ddc1c4109ef6b9c6

Verify advisory

Source
Linux
Linux
7650b4b1df091815bbbbb837d308dd4154684f8a

Verify advisory

Source
Linux
Linux
010a7e846d4beaf34384c40ff18d5de10106d9b4

Verify advisory

Source
Linux
Linux
≥ 5.4.9, < 5.4.291

Verify advisory

Source
Linux
Linux
≥ 3.16.83, < 3.17

Verify advisory

Source
Linux
Linux
≥ 4.4.209, < 4.5

Verify advisory

Source
Linux
Linux
≥ 4.9.209, < 4.10

Verify advisory

Source
Linux
Linux
≥ 4.14.163, < 4.15

Verify advisory

Source
Linux
Linux
≥ 4.19.94, < 4.20

Verify advisory

Source
Linux
Linux
5.5

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.