In the Linux kernel, the following vulnerability has been resolved:
ftrace: Avoid potential division by zero in functionstatshow()
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.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@746cc474a95473591853927b3a9792a2d671155b",
"signature_version": "v1",
"signature_type": "Function",
"id": "CVE-2025-21898-03b6cdf0",
"target": {
"function": "function_stat_show",
"file": "kernel/trace/ftrace.c"
},
"digest": {
"length": 1168.0,
"function_hash": "128248630663950921154216590158951701496"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b3d32f607f0478b414b16516cf27f9170cf66c8",
"signature_version": "v1",
"signature_type": "Line",
"id": "CVE-2025-21898-20d9a934",
"target": {
"file": "kernel/trace/ftrace.c"
},
"digest": {
"line_hashes": [
"152291475538736962653282505942690311226",
"185669095670235679229085382361105865209",
"162946958377863030063386635953687906792",
"132134680572241771871569150090234678478",
"209631472841942702901187827579174955547",
"138875199985064357086875736727617344791",
"42704022428262296457423805974207313183",
"98657636500213499351940559312851453163",
"4854758718696971662477411008812863498",
"83766793954914096162455994263613296781",
"286411650671708643590522616074391710391",
"152869637419556497034171694981219988208",
"118086156418363591382210437112071453578",
"522118541586260807232029376029488538"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@992775227843c9376773784b8b362add44592ad7",
"signature_version": "v1",
"signature_type": "Line",
"id": "CVE-2025-21898-305d4364",
"target": {
"file": "kernel/trace/ftrace.c"
},
"digest": {
"line_hashes": [
"152291475538736962653282505942690311226",
"185669095670235679229085382361105865209",
"162946958377863030063386635953687906792",
"132134680572241771871569150090234678478",
"209631472841942702901187827579174955547",
"138875199985064357086875736727617344791",
"42704022428262296457423805974207313183",
"98657636500213499351940559312851453163",
"4854758718696971662477411008812863498",
"83766793954914096162455994263613296781",
"286411650671708643590522616074391710391",
"152869637419556497034171694981219988208",
"118086156418363591382210437112071453578",
"522118541586260807232029376029488538"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6",
"signature_version": "v1",
"signature_type": "Function",
"id": "CVE-2025-21898-455ca9f7",
"target": {
"function": "function_stat_show",
"file": "kernel/trace/ftrace.c"
},
"digest": {
"length": 1168.0,
"function_hash": "128248630663950921154216590158951701496"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@746cc474a95473591853927b3a9792a2d671155b",
"signature_version": "v1",
"signature_type": "Line",
"id": "CVE-2025-21898-4a426ef0",
"target": {
"file": "kernel/trace/ftrace.c"
},
"digest": {
"line_hashes": [
"152291475538736962653282505942690311226",
"185669095670235679229085382361105865209",
"162946958377863030063386635953687906792",
"132134680572241771871569150090234678478",
"209631472841942702901187827579174955547",
"138875199985064357086875736727617344791",
"42704022428262296457423805974207313183",
"98657636500213499351940559312851453163",
"4854758718696971662477411008812863498",
"83766793954914096162455994263613296781",
"286411650671708643590522616074391710391",
"152869637419556497034171694981219988208",
"118086156418363591382210437112071453578",
"522118541586260807232029376029488538"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ca381f60a3bb7cfaa618d73ca411610bd7fc3149",
"signature_version": "v1",
"signature_type": "Line",
"id": "CVE-2025-21898-608a40c8",
"target": {
"file": "kernel/trace/ftrace.c"
},
"digest": {
"line_hashes": [
"152291475538736962653282505942690311226",
"185669095670235679229085382361105865209",
"162946958377863030063386635953687906792",
"132134680572241771871569150090234678478",
"209631472841942702901187827579174955547",
"138875199985064357086875736727617344791",
"42704022428262296457423805974207313183",
"98657636500213499351940559312851453163",
"4854758718696971662477411008812863498",
"83766793954914096162455994263613296781",
"286411650671708643590522616074391710391",
"152869637419556497034171694981219988208",
"118086156418363591382210437112071453578",
"522118541586260807232029376029488538"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3",
"signature_version": "v1",
"signature_type": "Function",
"id": "CVE-2025-21898-62e328cb",
"target": {
"function": "function_stat_show",
"file": "kernel/trace/ftrace.c"
},
"digest": {
"length": 1168.0,
"function_hash": "128248630663950921154216590158951701496"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3",
"signature_version": "v1",
"signature_type": "Line",
"id": "CVE-2025-21898-7a15046e",
"target": {
"file": "kernel/trace/ftrace.c"
},
"digest": {
"line_hashes": [
"152291475538736962653282505942690311226",
"185669095670235679229085382361105865209",
"162946958377863030063386635953687906792",
"132134680572241771871569150090234678478",
"209631472841942702901187827579174955547",
"138875199985064357086875736727617344791",
"42704022428262296457423805974207313183",
"98657636500213499351940559312851453163",
"4854758718696971662477411008812863498",
"83766793954914096162455994263613296781",
"286411650671708643590522616074391710391",
"152869637419556497034171694981219988208",
"118086156418363591382210437112071453578",
"522118541586260807232029376029488538"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6",
"signature_version": "v1",
"signature_type": "Line",
"id": "CVE-2025-21898-8e33c587",
"target": {
"file": "kernel/trace/ftrace.c"
},
"digest": {
"line_hashes": [
"152291475538736962653282505942690311226",
"185669095670235679229085382361105865209",
"162946958377863030063386635953687906792",
"132134680572241771871569150090234678478",
"209631472841942702901187827579174955547",
"138875199985064357086875736727617344791",
"42704022428262296457423805974207313183",
"98657636500213499351940559312851453163",
"4854758718696971662477411008812863498",
"83766793954914096162455994263613296781",
"286411650671708643590522616074391710391",
"152869637419556497034171694981219988208",
"118086156418363591382210437112071453578",
"522118541586260807232029376029488538"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a1a7eb89ca0b89dc1c326eeee2596f263291aca3",
"signature_version": "v1",
"signature_type": "Line",
"id": "CVE-2025-21898-93e60b2e",
"target": {
"file": "kernel/trace/ftrace.c"
},
"digest": {
"line_hashes": [
"152291475538736962653282505942690311226",
"185669095670235679229085382361105865209",
"198792812817042523963989121599398268550",
"285783712062250823048244345769661814438",
"209631472841942702901187827579174955547",
"138875199985064357086875736727617344791",
"42704022428262296457423805974207313183",
"98657636500213499351940559312851453163",
"4854758718696971662477411008812863498",
"83766793954914096162455994263613296781",
"286411650671708643590522616074391710391",
"152869637419556497034171694981219988208",
"118086156418363591382210437112071453578",
"522118541586260807232029376029488538"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ca381f60a3bb7cfaa618d73ca411610bd7fc3149",
"signature_version": "v1",
"signature_type": "Function",
"id": "CVE-2025-21898-b8d0652d",
"target": {
"function": "function_stat_show",
"file": "kernel/trace/ftrace.c"
},
"digest": {
"length": 1168.0,
"function_hash": "128248630663950921154216590158951701496"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b3d32f607f0478b414b16516cf27f9170cf66c8",
"signature_version": "v1",
"signature_type": "Function",
"id": "CVE-2025-21898-c09edf3e",
"target": {
"function": "function_stat_show",
"file": "kernel/trace/ftrace.c"
},
"digest": {
"length": 1168.0,
"function_hash": "128248630663950921154216590158951701496"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a1a7eb89ca0b89dc1c326eeee2596f263291aca3",
"signature_version": "v1",
"signature_type": "Function",
"id": "CVE-2025-21898-f05e6485",
"target": {
"function": "function_stat_show",
"file": "kernel/trace/ftrace.c"
},
"digest": {
"length": 1103.0,
"function_hash": "252514968153142955107350441885364882873"
},
"deprecated": false
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@992775227843c9376773784b8b362add44592ad7",
"signature_version": "v1",
"signature_type": "Function",
"id": "CVE-2025-21898-f7727d53",
"target": {
"function": "function_stat_show",
"file": "kernel/trace/ftrace.c"
},
"digest": {
"length": 1168.0,
"function_hash": "128248630663950921154216590158951701496"
},
"deprecated": false
}
]