{"id":"CVE-2024-38606","published":"2024-06-19T13:48:16Z","modified":"2026-08-05T11:33:06Z","title":"crypto: qat - validate slices count returned by FW","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qat - validate slices count returned by FW\n\nThe function adf_send_admin_tl_start() enables the telemetry (TL)\nfeature on a QAT device by sending the ICP_QAT_FW_TL_START message to\nthe firmware. This triggers the FW to start writing TL data to a DMA\nbuffer in memory and returns an array containing the number of\naccelerators of each type (slices) supported by this HW.\nThe pointer to this array is stored in the adf_tl_hw_data data\nstructure called slice_cnt.\n\nThe array slice_cnt is then used in the function tl_print_dev_data()\nto report in debugfs only statistics about the supported accelerators.\nAn incorrect value of the elements in slice_cnt might lead to an out\nof bounds memory read.\nAt the moment, there isn't an implementation of FW that returns a wrong\nvalue, but for robustness validate the slice count array returned by FW.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00316,"percentile":0.16991,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e57ed345e2e6043629fc74aa5be051415dcc4f77","tags":[]},{"url":"https://git.kernel.org/stable/c/9b284b915e2a5e63ca133353f8c456eff4446f82","tags":[]},{"url":"https://git.kernel.org/stable/c/483fd65ce29317044d1d00757e3fd23503b6b04c","tags":[]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":3.4},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 69e7649f7cc2aaa7889174456d39319a623c1a18, < e57ed345e2e6043629fc74aa5be051415dcc4f77",">= 69e7649f7cc2aaa7889174456d39319a623c1a18, < 9b284b915e2a5e63ca133353f8c456eff4446f82",">= 69e7649f7cc2aaa7889174456d39319a623c1a18, < 483fd65ce29317044d1d00757e3fd23503b6b04c"]},{"vendor":"Linux","product":"Linux","versions":["6.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-24T18:15:45.557603Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-37469","exploited":false,"provenance":"source"}}