CVE-2025-21898 (GCVE-0-2025-21898)

Vulnerability from cvelistv5 – Published: 2025-04-01 15:26 – Updated: 2026-05-23 15:57
VLAI
Title
ftrace: Avoid potential division by zero in function_stat_show()
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-10-01 17:18 UTC
CWE
Assigner
Linux CNA
Impacted products
Vendor Product Version
Linux Linux Affected: f0629ee3922f10112584b1898491fecc74d98b3b , < 5b3d32f607f0478b414b16516cf27f9170cf66c8 (git)
Affected: e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d , < ca381f60a3bb7cfaa618d73ca411610bd7fc3149 (git)
Affected: e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d , < 3d738b53ed6cddb68e68c9874520a4bf846163b5 (git)
Affected: e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d , < 992775227843c9376773784b8b362add44592ad7 (git)
Affected: e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d , < f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3 (git)
Affected: e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d , < 746cc474a95473591853927b3a9792a2d671155b (git)
Affected: e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d , < 9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6 (git)
Affected: e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d , < a1a7eb89ca0b89dc1c326eeee2596f263291aca3 (git)
Affected: c59e74104cfd7df3ca0b5f59f1baee9c8c28b9ef (git)
Affected: 015f0fd0fcc338513f80044add27fa46cf71d217 (git)
Affected: 1a2985af2a20b816a5cc41a2ddc1c4109ef6b9c6 (git)
Affected: 7650b4b1df091815bbbbb837d308dd4154684f8a (git)
Affected: 010a7e846d4beaf34384c40ff18d5de10106d9b4 (git)
Affected: 5.4.9 , < 5.4.291 (semver)
Affected: 3.16.83 , < 3.17 (semver)
Affected: 4.4.209 , < 4.5 (semver)
Affected: 4.9.209 , < 4.10 (semver)
Affected: 4.14.163 , < 4.15 (semver)
Affected: 4.19.94 , < 4.20 (semver)
Create a notification for this product.
Linux Linux Affected: 5.5
Unaffected: 0 , < 5.5 (semver)
Unaffected: 5.4.291 , ≤ 5.4.* (semver)
Unaffected: 5.10.235 , ≤ 5.10.* (semver)
Unaffected: 5.15.179 , ≤ 5.15.* (semver)
Unaffected: 6.1.130 , ≤ 6.1.* (semver)
Unaffected: 6.6.81 , ≤ 6.6.* (semver)
Unaffected: 6.12.18 , ≤ 6.12.* (semver)
Unaffected: 6.13.6 , ≤ 6.13.* (semver)
Unaffected: 6.14 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2025-21898",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-10-01T17:18:13.401520Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-369",
                "description": "CWE-369 Divide By Zero",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-10-01T17:18:15.822Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T19:38:44.454Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"
          },
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/trace/ftrace.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5b3d32f607f0478b414b16516cf27f9170cf66c8",
              "status": "affected",
              "version": "f0629ee3922f10112584b1898491fecc74d98b3b",
              "versionType": "git"
            },
            {
              "lessThan": "ca381f60a3bb7cfaa618d73ca411610bd7fc3149",
              "status": "affected",
              "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
              "versionType": "git"
            },
            {
              "lessThan": "3d738b53ed6cddb68e68c9874520a4bf846163b5",
              "status": "affected",
              "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
              "versionType": "git"
            },
            {
              "lessThan": "992775227843c9376773784b8b362add44592ad7",
              "status": "affected",
              "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
              "versionType": "git"
            },
            {
              "lessThan": "f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3",
              "status": "affected",
              "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
              "versionType": "git"
            },
            {
              "lessThan": "746cc474a95473591853927b3a9792a2d671155b",
              "status": "affected",
              "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
              "versionType": "git"
            },
            {
              "lessThan": "9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6",
              "status": "affected",
              "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
              "versionType": "git"
            },
            {
              "lessThan": "a1a7eb89ca0b89dc1c326eeee2596f263291aca3",
              "status": "affected",
              "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "c59e74104cfd7df3ca0b5f59f1baee9c8c28b9ef",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "015f0fd0fcc338513f80044add27fa46cf71d217",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "1a2985af2a20b816a5cc41a2ddc1c4109ef6b9c6",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "7650b4b1df091815bbbbb837d308dd4154684f8a",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "010a7e846d4beaf34384c40ff18d5de10106d9b4",
              "versionType": "git"
            },
            {
              "lessThan": "5.4.291",
              "status": "affected",
              "version": "5.4.9",
              "versionType": "semver"
            },
            {
              "lessThan": "3.17",
              "status": "affected",
              "version": "3.16.83",
              "versionType": "semver"
            },
            {
              "lessThan": "4.5",
              "status": "affected",
              "version": "4.4.209",
              "versionType": "semver"
            },
            {
              "lessThan": "4.10",
              "status": "affected",
              "version": "4.9.209",
              "versionType": "semver"
            },
            {
              "lessThan": "4.15",
              "status": "affected",
              "version": "4.14.163",
              "versionType": "semver"
            },
            {
              "lessThan": "4.20",
              "status": "affected",
              "version": "4.19.94",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/trace/ftrace.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.5"
            },
            {
              "lessThan": "5.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.291",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.235",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.179",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.130",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.81",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.18",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.13.*",
              "status": "unaffected",
              "version": "6.13.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.14",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.291",
                  "versionStartIncluding": "5.4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.235",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.179",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.130",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.81",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.18",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13.6",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.16.83",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.4.209",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.9.209",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.14.163",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.19.94",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027t care about rec-\u003ecounter * rec-\u003ecounter overflow because\nrec-\u003etime * rec-\u003etime overflow will likely happen earlier."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-23T15:57:23.790Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5b3d32f607f0478b414b16516cf27f9170cf66c8"
        },
        {
          "url": "https://git.kernel.org/stable/c/ca381f60a3bb7cfaa618d73ca411610bd7fc3149"
        },
        {
          "url": "https://git.kernel.org/stable/c/3d738b53ed6cddb68e68c9874520a4bf846163b5"
        },
        {
          "url": "https://git.kernel.org/stable/c/992775227843c9376773784b8b362add44592ad7"
        },
        {
          "url": "https://git.kernel.org/stable/c/f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3"
        },
        {
          "url": "https://git.kernel.org/stable/c/746cc474a95473591853927b3a9792a2d671155b"
        },
        {
          "url": "https://git.kernel.org/stable/c/9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6"
        },
        {
          "url": "https://git.kernel.org/stable/c/a1a7eb89ca0b89dc1c326eeee2596f263291aca3"
        }
      ],
      "title": "ftrace: Avoid potential division by zero in function_stat_show()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-21898",
    "datePublished": "2025-04-01T15:26:50.211Z",
    "dateReserved": "2024-12-29T08:45:45.783Z",
    "dateUpdated": "2026-05-23T15:57:23.790Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-21898",
      "date": "2026-11-19",
      "epss": "0.00233",
      "percentile": "0.14362"
    },
    "microsoft_vex": {
      "current_release_date": "2026-08-12T22:46:14.000Z",
      "cve": "CVE-2025-21898",
      "id": "msrc_CVE-2025-21898",
      "initial_release_date": "2025-05-05T00:00:00.000Z",
      "product_status:fixed": "4",
      "product_status:known_affected": "4",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ftrace: Avoid potential division by zero in function_stat_show()",
      "url": "https://msrc.microsoft.com/csaf/vex/2025/msrc_cve-2025-21898.json",
      "version": "3"
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-11-07T11:26:10+00:00",
      "cve": "CVE-2025-21898",
      "id": "CVE-2025-21898",
      "initial_release_date": "2025-04-01T00:00:00+00:00",
      "product_status:known_affected": "152",
      "product_status:known_not_affected": "48",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: ftrace: Avoid potential division by zero in function_stat_show()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-21898.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2025-11-03T19:38:44.454Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"
              },
              {
                "url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "cvssV3_1": {
                  "attackComplexity": "LOW",
                  "attackVector": "LOCAL",
                  "availabilityImpact": "HIGH",
                  "baseScore": 5.5,
                  "baseSeverity": "MEDIUM",
                  "confidentialityImpact": "NONE",
                  "integrityImpact": "NONE",
                  "privilegesRequired": "LOW",
                  "scope": "UNCHANGED",
                  "userInteraction": "NONE",
                  "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                  "version": "3.1"
                }
              },
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-21898",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-10-01T17:18:13.401520Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "problemTypes": [
              {
                "descriptions": [
                  {
                    "cweId": "CWE-369",
                    "description": "CWE-369 Divide By Zero",
                    "lang": "en",
                    "type": "CWE"
                  }
                ]
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-10-01T14:37:20.225Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Linux",
              "programFiles": [
                "kernel/trace/ftrace.c"
              ],
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "vendor": "Linux",
              "versions": [
                {
                  "lessThan": "5b3d32f607f0478b414b16516cf27f9170cf66c8",
                  "status": "affected",
                  "version": "f0629ee3922f10112584b1898491fecc74d98b3b",
                  "versionType": "git"
                },
                {
                  "lessThan": "ca381f60a3bb7cfaa618d73ca411610bd7fc3149",
                  "status": "affected",
                  "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
                  "versionType": "git"
                },
                {
                  "lessThan": "3d738b53ed6cddb68e68c9874520a4bf846163b5",
                  "status": "affected",
                  "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
                  "versionType": "git"
                },
                {
                  "lessThan": "992775227843c9376773784b8b362add44592ad7",
                  "status": "affected",
                  "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
                  "versionType": "git"
                },
                {
                  "lessThan": "f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3",
                  "status": "affected",
                  "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
                  "versionType": "git"
                },
                {
                  "lessThan": "746cc474a95473591853927b3a9792a2d671155b",
                  "status": "affected",
                  "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
                  "versionType": "git"
                },
                {
                  "lessThan": "9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6",
                  "status": "affected",
                  "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
                  "versionType": "git"
                },
                {
                  "lessThan": "a1a7eb89ca0b89dc1c326eeee2596f263291aca3",
                  "status": "affected",
                  "version": "e31f7939c1c27faa5d0e3f14519eaf7c89e8a69d",
                  "versionType": "git"
                },
                {
                  "status": "affected",
                  "version": "c59e74104cfd7df3ca0b5f59f1baee9c8c28b9ef",
                  "versionType": "git"
                },
                {
                  "status": "affected",
                  "version": "015f0fd0fcc338513f80044add27fa46cf71d217",
                  "versionType": "git"
                },
                {
                  "status": "affected",
                  "version": "1a2985af2a20b816a5cc41a2ddc1c4109ef6b9c6",
                  "versionType": "git"
                },
                {
                  "status": "affected",
                  "version": "7650b4b1df091815bbbbb837d308dd4154684f8a",
                  "versionType": "git"
                },
                {
                  "status": "affected",
                  "version": "010a7e846d4beaf34384c40ff18d5de10106d9b4",
                  "versionType": "git"
                }
              ]
            },
            {
              "defaultStatus": "affected",
              "product": "Linux",
              "programFiles": [
                "kernel/trace/ftrace.c"
              ],
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "vendor": "Linux",
              "versions": [
                {
                  "status": "affected",
                  "version": "5.5"
                },
                {
                  "lessThan": "5.5",
                  "status": "unaffected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "5.4.*",
                  "status": "unaffected",
                  "version": "5.4.291",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "5.10.*",
                  "status": "unaffected",
                  "version": "5.10.235",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "5.15.*",
                  "status": "unaffected",
                  "version": "5.15.179",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "6.1.*",
                  "status": "unaffected",
                  "version": "6.1.130",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "6.6.*",
                  "status": "unaffected",
                  "version": "6.6.81",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "6.12.*",
                  "status": "unaffected",
                  "version": "6.12.18",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "6.13.*",
                  "status": "unaffected",
                  "version": "6.13.6",
                  "versionType": "semver"
                },
                {
                  "lessThanOrEqual": "*",
                  "status": "unaffected",
                  "version": "6.14",
                  "versionType": "original_commit_for_fix"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "5.4.291",
                      "versionStartIncluding": "5.4.9",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "5.10.235",
                      "versionStartIncluding": "5.5",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "5.15.179",
                      "versionStartIncluding": "5.5",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "6.1.130",
                      "versionStartIncluding": "5.5",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "6.6.81",
                      "versionStartIncluding": "5.5",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "6.12.18",
                      "versionStartIncluding": "5.5",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "6.13.6",
                      "versionStartIncluding": "5.5",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "6.14",
                      "versionStartIncluding": "5.5",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionStartIncluding": "3.16.83",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionStartIncluding": "4.4.209",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionStartIncluding": "4.9.209",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionStartIncluding": "4.14.163",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                      "versionStartIncluding": "4.19.94",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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\u0027t care about rec-\u003ecounter * rec-\u003ecounter overflow because\nrec-\u003etime * rec-\u003etime overflow will likely happen earlier."
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-05-11T21:08:39.481Z",
            "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "shortName": "Linux"
          },
          "references": [
            {
              "url": "https://git.kernel.org/stable/c/5b3d32f607f0478b414b16516cf27f9170cf66c8"
            },
            {
              "url": "https://git.kernel.org/stable/c/ca381f60a3bb7cfaa618d73ca411610bd7fc3149"
            },
            {
              "url": "https://git.kernel.org/stable/c/3d738b53ed6cddb68e68c9874520a4bf846163b5"
            },
            {
              "url": "https://git.kernel.org/stable/c/992775227843c9376773784b8b362add44592ad7"
            },
            {
              "url": "https://git.kernel.org/stable/c/f58a3f8e284d0bdf94164a8e61cd4e70d337a1a3"
            },
            {
              "url": "https://git.kernel.org/stable/c/746cc474a95473591853927b3a9792a2d671155b"
            },
            {
              "url": "https://git.kernel.org/stable/c/9cdac46fa7e854e587eb5f393fe491b6d7a9bdf6"
            },
            {
              "url": "https://git.kernel.org/stable/c/a1a7eb89ca0b89dc1c326eeee2596f263291aca3"
            }
          ],
          "title": "ftrace: Avoid potential division by zero in function_stat_show()",
          "x_generator": {
            "engine": "bippy-1.2.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "assignerShortName": "Linux",
        "cveId": "CVE-2025-21898",
        "datePublished": "2025-04-01T15:26:50.211Z",
        "dateReserved": "2024-12-29T08:45:45.783Z",
        "dateUpdated": "2026-05-11T21:08:39.481Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.