# CVE-2024-38606: crypto: qat - validate slices count returned by FW

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-06-19T13:48:16.428Z
- Modified: 2026-08-05T11:33:06.514Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 69e7649f7cc2aaa7889174456d39319a623c1a18 before e57ed345e2e6043629fc74aa5be051415dcc4f77; from 69e7649f7cc2aaa7889174456d39319a623c1a18 before 9b284b915e2a5e63ca133353f8c456eff4446f82; from 69e7649f7cc2aaa7889174456d39319a623c1a18 before 483fd65ce29317044d1d00757e3fd23503b6b04c; 6.8 (not affected: before 6.8; from 6.8.12 up to 6.8.*; from 6.9.3 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 6.8 before 6.8.12; from 6.9 before 6.9.3

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e57ed345e2e6043629fc74aa5be051415dcc4f77> (patch)
- <https://git.kernel.org/stable/c/9b284b915e2a5e63ca133353f8c456eff4446f82> (patch)
- <https://git.kernel.org/stable/c/483fd65ce29317044d1d00757e3fd23503b6b04c> (patch)

## Sources

- CVE List: [CVE-2024-38606](https://www.cve.org/CVERecord?id=CVE-2024-38606), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-38606](https://nvd.nist.gov/vuln/detail/CVE-2024-38606), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-38606 · Whole record: https://cve.day/CVE-2024-38606.json · Rebuilt by cve.day 2026-11-25T22:58:42.040Z
