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.
References
Configurations
Configuration 1 (hide)
|
History
06 Mar 2025, 12:53
Type | Values Removed | Values Added |
---|---|---|
References | () https://git.kernel.org/stable/c/483fd65ce29317044d1d00757e3fd23503b6b04c - Patch | |
References | () https://git.kernel.org/stable/c/9b284b915e2a5e63ca133353f8c456eff4446f82 - Patch | |
References | () https://git.kernel.org/stable/c/e57ed345e2e6043629fc74aa5be051415dcc4f77 - Patch | |
CWE | CWE-125 | |
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.1 |
First Time |
Linux linux Kernel
Linux |
21 Nov 2024, 09:26
Type | Values Removed | Values Added |
---|---|---|
References | () https://git.kernel.org/stable/c/483fd65ce29317044d1d00757e3fd23503b6b04c - | |
References | () https://git.kernel.org/stable/c/9b284b915e2a5e63ca133353f8c456eff4446f82 - | |
References | () https://git.kernel.org/stable/c/e57ed345e2e6043629fc74aa5be051415dcc4f77 - |
20 Jun 2024, 12:43
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
19 Jun 2024, 14:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-06-19 14:15
Updated : 2025-03-06 12:53
NVD link : CVE-2024-38606
Mitre link : CVE-2024-38606
CVE.ORG link : CVE-2024-38606
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-125
Out-of-bounds Read