CVE-2024-38606·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.9.3
- Published
- 2024-06-19
Affected versions
From: 6.9
Until: 6.9.3
Fixed in: 6.9.3
How to fix this CVE
Update your Linux kernel to version 6.9.3 or later to patch the QAT telemetry firmware validation vulnerability. This fix adds input validation for the slice count array returned by QAT device firmware, preventing potential out-of-bounds memory reads in the telemetry subsystem. Systems running kernel versions 6.9 through 6.9.2 should prioritize this update, particularly if QAT accelerator devices are in use.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Check kernel version: uname -r — confirm if version is between 6.9 and 6.9.2
- Verify QAT device presence: lspci | grep -i qat — check if Intel QAT accelerators are installed
- Check QAT driver status: lsmod | grep qat — confirm if QAT kernel modules are loaded
- After patching, reboot and verify: uname -r should show 6.9.3 or later
FAQ
What is CVE-2024-38606?
This vulnerability exists in the Linux kernel's QAT (QuickAssist Technology) telemetry feature, where firmware-returned slice count values were not validated before being used to read memory, potentially causing out-of-bounds reads in debugfs reporting functions.
Is CVE-2024-38606 being actively exploited?
No, this vulnerability is not currently being actively exploited in the wild, and no public exploit code is available. It requires local access and QAT hardware to be present.
What versions of Kernel are affected by CVE-2024-38606?
Linux kernel versions 6.9 through 6.9.2 are affected. Version 6.9.3 and later include the fix.
How do I check if my server is vulnerable to CVE-2024-38606?
Run uname -r to check your kernel version. If it shows 6.9.0, 6.9.1, or 6.9.2, and lspci | grep -i qat returns QAT devices, your system is vulnerable.
Does Defensia detect CVE-2024-38606?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-38606 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/483fd65ce29317044d1d00757e3fd23503b6b04c
- https://git.kernel.org/stable/c/9b284b915e2a5e63ca133353f8c456eff4446f82
- https://git.kernel.org/stable/c/e57ed345e2e6043629fc74aa5be051415dcc4f77
- https://git.kernel.org/stable/c/483fd65ce29317044d1d00757e3fd23503b6b04c
- https://git.kernel.org/stable/c/9b284b915e2a5e63ca133353f8c456eff4446f82
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-38606. Free for 1 server.
Get started free