boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Thursday, November 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2022-49612

Linux Linux — power: supply: core: Fix boundary conditions in interpolation
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   L   N  U  H  H  H    7.8   .0028   20.5     —
AFFECTED
  Product  Versions                                    Fixed
  Linux    a4585ba2050f460f749bbaf2b67bd56c41e30283 –  —
  Linux    5.17 –                                      5.18.13
TIMELINE
  Feb 26  Reserved by Linux
  Feb 26  Published (CNA: Linux)
  Nov 5   ENRICHED — CVE-2022-49612 (Linux). Received CVSS 7.8 and CPE data from NVD.
CWE-787 · CNA: Linux · CVSS v3.1 · 2 references · NVD status: Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: power: supply: core: Fix boundary conditions in interpolation The functions power_supply_temp2resist_simple and power_supply_ocv2cap_simple handle boundary conditions incorrectly. The change was introduced in a4585ba2050f460f749bbaf2b67bd56c41e30283 ("power: supply: core: Use library interpolation"). There are two issues: First, the lines "high = i - 1" and "high = i" in ocv2cap have the wrong order compared to temp2resist. As a consequence, ocv2cap sets high=-1 if ocv>table[0].ocv, which causes an out-of-bounds read. Second, the logic of temp2resist is also not correct. Consider the case table[] = {{20, 100}, {10, 80}, {0, 60}}. For temp=5, we expect a resistance of 70% by interpolation. However, temp2resist sets high=low=2 and returns 60.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
February 26, 2025ReservedReserved by Linux
February 26, 2025PublishedPublished (CNA: Linux)
November 5, 2026ENRICHEDENRICHED — CVE-2022-49612 (Linux). Received CVSS 7.8 and CPE data from NVD.

Affected

Affected products and packages — 2 rows
VendorProduct / PackageEcosystemVersion introducedFixed
LinuxLinux—a4585ba2050f460f749bbaf2b67bd56c41e30283—
LinuxLinux—5.175.18.13

Weaknesses

CWE-787

References (2)

Related

Authoritative record: CVE-2022-49612 at cve.org

Vendors: linux

Weaknesses: CWE-787

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2022-49612 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Thursday, November 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.