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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-06-19T13:48:16.428Z

Updated: 2024-08-02T04:12:25.956Z

Reserved: 2024-06-18T19:36:34.935Z

Link: CVE-2024-38606

cve-icon Vulnrichment

Updated: 2024-06-24T18:15:50.545Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-06-19T14:15:20.567

Modified: 2024-06-20T12:43:25.663

Link: CVE-2024-38606

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-06-19T00:00:00Z

Links: CVE-2024-38606 - Bugzilla