CVE-2024-38606CWE-125

CVE-2024-38606

High · published June 19, 2024

CVSS v3.1
7.1
EPSS
0%
Percentile
11.6
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

crypto: qat - validate slices count returned by FW

The function adf_send_admin_tl_start() enables the telemetry (TL)

feature on a QAT device by sending the ICP_QAT_FW_TL_START message to

the firmware. This triggers the FW to start writing TL data to a DMA

buffer in memory and returns an array containing the number of

accelerators of each type (slices) supported by this HW.

The pointer to this array is stored in the adf_tl_hw_data data

structure called slice_cnt.

The array slice_cnt is then used in the function tl_print_dev_data()

to report in debugfs only statistics about the supported accelerators.

An incorrect value of the elements in slice_cnt might lead to an out

of bounds memory read.

At the moment, there isn't an implementation of FW that returns a wrong

value, but for robustness validate the slice count array returned by FW.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00217 · 11.6th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2024-06-19T18:15Z
Affected products (2)
ProductVersionsFixed in
linux/linux_kernel≥ 6.8, < 6.8.126.8.12
linux/linux_kernel≥ 6.9, < 6.9.36.9.3
References (6)
EPSS history
Timeline
  • 19 JUN 13:48Z
    crypto: qat - validate slices count returned by FW
    cvelistv5