{"id":"CVE-2025-21898","published":"2025-04-01T15:26:50Z","modified":"2026-05-23T15:57:23Z","title":"ftrace: Avoid potential division by zero in function_stat_show()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nftrace: Avoid potential division by zero in function_stat_show()\n\nCheck whether denominator expression x * (x - 1) * 1000 mod {2^32, 2^64}\nproduce zero and skip stddev computation in that case.\n\nFor now don't care about rec->counter * rec->counter overflow because\nrec->time * rec->time overflow will likely happen earlier.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00299,"percentile":0.15049,"provenance":"source"},"cwes":[{"id":"CWE-369","name":"Divide By Zero"}],"references":[{"url":"https://git.kernel.org/stable/c/5b3d32f607f0478b414b16516cf27f9170cf66c8","tags":[]},{"url":"https://git.kernel.org/stable/c/ca381f60a3bb7cfaa618d73ca411610bd7fc3149","tags":[]},{"url":"https://git.kernel.org/stable/c/3d738b53ed6cddb68e68c9874520a4bf846163b5","tags":[]},{"url":"https://git.kernel.org/stable/c/992775227843c9376773784b8b362add44592ad7","tags":[]},{"url":"https://git.kernel.org/stable/c/f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3","tags":[]},{"url":"https://git.kernel.org/stable/c/746cc474a95473591853927b3a9792a2d671155b","tags":[]},{"url":"https://git.kernel.org/stable/c/9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6","tags":[]},{"url":"https://git.kernel.org/stable/c/a1a7eb89ca0b89dc1c326eeee2596f263291aca3","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":3.01},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f0629ee3922f10112584b1898491fecc74d98b3b, < 5b3d32f607f0478b414b16516cf27f9170cf66c8",">= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < ca381f60a3bb7cfaa618d73ca411610bd7fc3149",">= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < 3d738b53ed6cddb68e68c9874520a4bf846163b5",">= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < 992775227843c9376773784b8b362add44592ad7",">= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3",">= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < 746cc474a95473591853927b3a9792a2d671155b",">= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < 9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6",">= e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d, < a1a7eb89ca0b89dc1c326eeee2596f263291aca3","c59e74104cfd7df3ca0b5f59f1baee9c8c28b9ef","015f0fd0fcc338513f80044add27fa46cf71d217"]},{"vendor":"Linux","product":"Linux","versions":["5.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T17:18:13.401520Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-9423","exploited":false,"provenance":"source"}}