# fbdev: core: fbcvt: avoid division by 0 in fb_cvt_hperiod()

CVE record · `CVE-2025-38312`

- **Identifiers:** `CVE-2025-38312`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 10 Jul 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 10 Jul 2025, 07:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `96fe6a2109db29cd15b90a093c16e6cb4b19371a to before 9027ce4c037b566b658b8939a76326b7125e3627` (git)
  - affected: `96fe6a2109db29cd15b90a093c16e6cb4b19371a to before 610f247f2772e4f92b63442125a1b7ade79898d8` (git)
  - affected: `96fe6a2109db29cd15b90a093c16e6cb4b19371a to before 2d63433e8eaa3c91b2948190e395bc67009db0d9` (git)
  - affected: `96fe6a2109db29cd15b90a093c16e6cb4b19371a to before 54947530663edcbaaee1314c01fdd8c72861b124` (git)
  - affected: `96fe6a2109db29cd15b90a093c16e6cb4b19371a to before ab91647acdf43b984824776559a452212eaeb21a` (git)
  - affected: `96fe6a2109db29cd15b90a093c16e6cb4b19371a to before b235393b9f43ff86a38ca2bde6372312ea215dc5` (git)
  - affected: `96fe6a2109db29cd15b90a093c16e6cb4b19371a to before 53784073cbad18f75583fd3da9ffdfc4d1f05405` (git)
  - affected: `96fe6a2109db29cd15b90a093c16e6cb4b19371a to before 3f6dae09fc8c306eb70fdfef70726e1f154e173a` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.14`
  - unaffected: `before 2.6.14` (semver)
  - unaffected: `5.4.295 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.239 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.186 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.142 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.94 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.34 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.3 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel fbdev core is affected from 2.6.14 until fixed. A specific refresh value can cause a division by zero in fb_cvt_hperiod() and crash the kernel, but the source gives few details on how an attacker could supply that value. Upgrade to a fixed stable kernel, such as 5.4.295, 5.10.239, 5.15.186, or 6.1.142 or later in those series.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0020, the 9th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 10 Jul 2025, 07:42 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38312)
- 10 Jul 2025, 08:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38312)

## Sources

- [CVE List: CVE-2025-38312](https://www.cve.org/CVERecord?id=CVE-2025-38312)
- [NVD: CVE-2025-38312](https://nvd.nist.gov/vuln/detail/CVE-2025-38312)

### References from the CNA

- <https://git.kernel.org/stable/c/9027ce4c037b566b658b8939a76326b7125e3627>
- <https://git.kernel.org/stable/c/610f247f2772e4f92b63442125a1b7ade79898d8>
- <https://git.kernel.org/stable/c/2d63433e8eaa3c91b2948190e395bc67009db0d9>
- <https://git.kernel.org/stable/c/54947530663edcbaaee1314c01fdd8c72861b124>
- <https://git.kernel.org/stable/c/ab91647acdf43b984824776559a452212eaeb21a>
- <https://git.kernel.org/stable/c/b235393b9f43ff86a38ca2bde6372312ea215dc5>
- <https://git.kernel.org/stable/c/53784073cbad18f75583fd3da9ffdfc4d1f05405>
- <https://git.kernel.org/stable/c/3f6dae09fc8c306eb70fdfef70726e1f154e173a>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-38312>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-38312/>. Everything for agents: <https://agentprime.io/llms.txt>.
