Linux Kernel Boundary Condition Vulnerability in Power Supply Interpolation Functions

Vulnerability

A vulnerability in the Linux kernel's power supply interpolation functions has been addressed. The issue arises in the 'power_supply_temp2resist_simple' and 'power_supply_ocv2cap_simple' functions, which incorrectly handle boundary conditions. This vulnerability was introduced when the power supply core began using library interpolation. The 'ocv2cap' function improperly sets the 'high' variable, leading to an out-of-bounds read. Additionally, the 'temp2resist' function contains flawed logic that prevents accurate resistance calculations based on temperature data.

Impact

Exploitation of this vulnerability could lead to out-of-bounds read conditions, potentially causing memory access violations or information disclosure.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.