{"id":"CVE-2026-64305","state":"PUBLISHED","title":"crypto: qat - protect service table iterations with service_lock","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qat - protect service table iterations with service_lock\n\nThe service_table list is protected by service_lock when entries are\nadded or removed (in adf_service_add() and adf_service_remove()), but\nseveral functions iterate over the list without holding this lock.\n\nA concurrent adf_service_register() or adf_service_unregister() call\ncould modify the list during traversal, leading to list corruption or\na use-after-free.\n\nFix this by holding service_lock across all list_for_each_entry()\niterations of service_table in adf_dev_init(), adf_dev_start(),\nadf_dev_stop(), adf_dev_shutdown(), adf_dev_restarting_notify(),\nadf_dev_restarted_notify(), and adf_error_notifier().\n\nThe lock ordering is safe: callers of the static helpers (adf_dev_up()\nand adf_dev_down()) acquire state_lock before service_lock, and no\nevent_hld callback or service_lock holder ever acquires state_lock in\nthe reverse order.","publishedAt":"2026-07-25T08:49:39.536Z","updatedAt":"2026-10-30T12:27:42.624Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","status":"affected","lessThan":"d36bff434e01d06d1e1fa98aa2b34ec32185c1ab","versionType":"git"},{"version":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","status":"affected","lessThan":"11d48f777cf8fad00db044f4c15cdf821427746b","versionType":"git"},{"version":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","status":"affected","lessThan":"222fa7b453b612f4407f260146d89a2ce2bc831d","versionType":"git"},{"version":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","status":"affected","lessThan":"c3c5925791cff3b84d313293fd60f384d877d793","versionType":"git"},{"version":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","status":"affected","lessThan":"0dbcecea740d943002c1cbdafa39bdfc108e32a5","versionType":"git"},{"version":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","status":"affected","lessThan":"5c6f845e77ec35f9b7b047cc8f9789bf397cdd3e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/intel/qat/qat_common/adf_init.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.17","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.39","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.4","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/intel/qat/qat_common/adf_init.c"]}],"references":["https://git.kernel.org/stable/c/d36bff434e01d06d1e1fa98aa2b34ec32185c1ab","https://git.kernel.org/stable/c/11d48f777cf8fad00db044f4c15cdf821427746b","https://git.kernel.org/stable/c/222fa7b453b612f4407f260146d89a2ce2bc831d","https://git.kernel.org/stable/c/c3c5925791cff3b84d313293fd60f384d877d793","https://git.kernel.org/stable/c/0dbcecea740d943002c1cbdafa39bdfc108e32a5","https://git.kernel.org/stable/c/5c6f845e77ec35f9b7b047cc8f9789bf397cdd3e"],"weaknesses":[],"ingestedAt":"2026-10-30T12:46:06.359Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64305.json","commit":"1f312381e38164a43607eebab851b151dd16861e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64305","state":"PUBLISHED","datePublished":"2026-07-25T08:49:39.536Z","dateUpdated":"2026-10-30T12:27:42.624Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T15:36:31.779Z"},"containers":{"cna":{"title":"crypto: qat - protect service table iterations with service_lock","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qat - protect service table iterations with service_lock\n\nThe service_table list is protected by service_lock when entries are\nadded or removed (in adf_service_add() and adf_service_remove()), but\nseveral functions iterate over the list without holding this lock.\n\nA concurrent adf_service_register() or adf_service_unregister() call\ncould modify the list during traversal, leading to list corruption or\na use-after-free.\n\nFix this by holding service_lock across all list_for_each_entry()\niterations of service_table in adf_dev_init(), adf_dev_start(),\nadf_dev_stop(), adf_dev_shutdown(), adf_dev_restarting_notify(),\nadf_dev_restarted_notify(), and adf_error_notifier().\n\nThe lock ordering is safe: callers of the static helpers (adf_dev_up()\nand adf_dev_down()) acquire state_lock before service_lock, and no\nevent_hld callback or service_lock holder ever acquires state_lock in\nthe reverse order."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","status":"affected","lessThan":"d36bff434e01d06d1e1fa98aa2b34ec32185c1ab","versionType":"git"},{"version":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","status":"affected","lessThan":"11d48f777cf8fad00db044f4c15cdf821427746b","versionType":"git"},{"version":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","status":"affected","lessThan":"222fa7b453b612f4407f260146d89a2ce2bc831d","versionType":"git"},{"version":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","status":"affected","lessThan":"c3c5925791cff3b84d313293fd60f384d877d793","versionType":"git"},{"version":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","status":"affected","lessThan":"0dbcecea740d943002c1cbdafa39bdfc108e32a5","versionType":"git"},{"version":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","status":"affected","lessThan":"5c6f845e77ec35f9b7b047cc8f9789bf397cdd3e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/intel/qat/qat_common/adf_init.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.17","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.39","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.4","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/intel/qat/qat_common/adf_init.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d36bff434e01d06d1e1fa98aa2b34ec32185c1ab"},{"url":"https://git.kernel.org/stable/c/11d48f777cf8fad00db044f4c15cdf821427746b"},{"url":"https://git.kernel.org/stable/c/222fa7b453b612f4407f260146d89a2ce2bc831d"},{"url":"https://git.kernel.org/stable/c/c3c5925791cff3b84d313293fd60f384d877d793"},{"url":"https://git.kernel.org/stable/c/0dbcecea740d943002c1cbdafa39bdfc108e32a5"},{"url":"https://git.kernel.org/stable/c/5c6f845e77ec35f9b7b047cc8f9789bf397cdd3e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:27:42.624Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"6.12.96"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"6.18.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"7.1.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}