{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-38606","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-06-18T19:36:34.935Z","datePublished":"2024-06-19T13:48:16.428Z","dateUpdated":"2025-05-04T09:15:09.243Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-05-04T09:15:09.243Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/intel/qat/qat_common/adf_gen4_tl.c","drivers/crypto/intel/qat/qat_common/adf_telemetry.c","drivers/crypto/intel/qat/qat_common/adf_telemetry.h"],"versions":[{"version":"69e7649f7cc2aaa7889174456d39319a623c1a18","lessThan":"e57ed345e2e6043629fc74aa5be051415dcc4f77","status":"affected","versionType":"git"},{"version":"69e7649f7cc2aaa7889174456d39319a623c1a18","lessThan":"9b284b915e2a5e63ca133353f8c456eff4446f82","status":"affected","versionType":"git"},{"version":"69e7649f7cc2aaa7889174456d39319a623c1a18","lessThan":"483fd65ce29317044d1d00757e3fd23503b6b04c","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/intel/qat/qat_common/adf_gen4_tl.c","drivers/crypto/intel/qat/qat_common/adf_telemetry.c","drivers/crypto/intel/qat/qat_common/adf_telemetry.h"],"versions":[{"version":"6.8","status":"affected"},{"version":"0","lessThan":"6.8","status":"unaffected","versionType":"semver"},{"version":"6.8.12","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9.3","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.8.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.9.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.10"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/e57ed345e2e6043629fc74aa5be051415dcc4f77"},{"url":"https://git.kernel.org/stable/c/9b284b915e2a5e63ca133353f8c456eff4446f82"},{"url":"https://git.kernel.org/stable/c/483fd65ce29317044d1d00757e3fd23503b6b04c"}],"title":"crypto: qat - validate slices count returned by FW","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-24T18:15:45.557603Z","id":"CVE-2024-38606","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-24T18:15:53.748Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T04:12:25.956Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/e57ed345e2e6043629fc74aa5be051415dcc4f77","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/9b284b915e2a5e63ca133353f8c456eff4446f82","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/483fd65ce29317044d1d00757e3fd23503b6b04c","tags":["x_transferred"]}]}]}}