KernelScan.io

HIGH Introduced in 4.4

clk DvfsIndex OOB

CVE-2026-98362

CVSS 7.2 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

01

In the Linux kernel, the following vulnerability has been resolved: clk: scpi: bound-check DVFS index in scpi_dvfs_recalc_rate dvfs_get_idx() may return an out-of-range index if the SCP firmware is buggy or returns a stale value. Only negative indexes were rejected, so a large index walked past info->opps and could treat garbage as a clock rate (KASAN OOB / wrong frequency to consumers). The missing upper bound dates back to the original SCPI clock driver. Treat indexes >= opp count as invalid and return 0, same as idx < 0.

02

Engine v0.7.0

Risk summary

ARM systems using the SCPI clock driver can suffer an out-of-bounds read when the SCP firmware returns a DVFS index exceeding the operating-point array bounds. The leaked memory is interpreted as a clock frequency, potentially exposing small amounts of kernel data and feeding incorrect frequencies to clock consumers. The bug requires specific ARM hardware with a System Control Processor and is triggered by buggy or stale firmware responses.

Affecteddrivers/clk/clk-scpi.c (clk-scpi)

Vulnerability analysis

The SCPI clock driver queries the SCP firmware for a DVFS operating-point index but only rejects negative values. When the firmware returns an index larger than the number of available operating points, the driver reads past the end of the OPP array and treats whatever memory follows as a clock frequency, causing an out-of-bounds read and propagating a garbage rate to clock consumers. The fix adds an upper-bound check so any index outside the valid range returns zero instead of performing the out-of-bounds access. This code path is reached on ARM systems equipped with a System Control Processor using the SCPI protocol; the out-of-bounds read occurs when the SCP firmware returns a stale or malformed index value, and no special user privileges are required to trigger the clock recalculation path.

03

BranchIntroducedFixed inPatch commit
5.104.45.10.2716e3b55823da8
5.154.45.15.2227204095917ae
6.14.46.1.1890f89e2ac0e94
6.124.46.12.112a82b274697d0
6.184.46.18.54e1188332a911
6.64.46.6.15856b7a9d89c67
7.24.47.2.8108c46e8dacc
mainline4.47.370f4b78d560e
cip/5.104.45.10.271-cip786e3b55823da8
cip/5.10-rt4.45.10.272-cip79-rt356e3b55823da8
cip/6.14.46.1.189-cip610f89e2ac0e94
cip/6.1-rt4.46.1.189-cip61-rt320f89e2ac0e94
cip/6.124.46.12.112-cip33a82b274697d0

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.271-cip78
cip/5.10-rtFixed in 5.10.272-cip79-rt35
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip136)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)
cip/4.4Affected — no CIP fix yet (latest 4.4.302-cip115)
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)