CVE-2025-38312
Last modified
CVE-2025-38312 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: fbdev: core: fbcvt: avoid division by 0 in fb_cvt_hperiod() In fb_find_mode_cvt(), iff mode->refresh somehow happens to be 0x80000000, cvt.f_refresh will become 0 when multiplying it by 2 due to overflow. It's then passed to fb_cvt_hperiod(), where it's used as a divider -- division by 0 will result in kernel oops. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: fbdev: core: fbcvt: avoid division by 0 in fb_cvt_hperiod() In fb_find_mode_cvt(), iff mode->refresh somehow happens to be 0x80000000, cvt.f_refresh will become 0 when multiplying it by 2 due to overflow. It's then passed to fb_cvt_hperiod(), where it's used as a divider -- division by 0 will result in kernel oops. Add a sanity check for cvt.f_refresh to avoid such overflow... Found by Linux Verification Center (linuxtesting.org) with the Svace static analysis tool.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 2.6.14, < 5.4.295 |
| Linux | Linux Kernel | >= 5.5, < 5.10.239 |
| Linux | Linux Kernel | >= 5.11, < 5.15.186 |
| Linux | Linux Kernel | >= 5.16, < 6.1.142 |
| Linux | Linux Kernel | >= 6.2, < 6.6.94 |
| Linux | Linux Kernel | >= 6.7, < 6.12.34 |
| Linux | Linux Kernel | >= 6.13, < 6.15.3 |
| Debian | Debian Linux | 11.0 |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-38312?
How severe is CVE-2025-38312?
How do I fix CVE-2025-38312?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-38307In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38308In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38309In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3831Log files uploaded during troubleshooting by the Harmony SAS…9.8
- CVE-2025-38310In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38311In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38313In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38314In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38315In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38316In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38317In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38318In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-38312?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
