{"id":"CVE-2026-64305","aliases":["CVE-2026-64305"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: qat - protect service table iterations with service_lock","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncrypto: qat - proteger las iteraciones de la tabla de servicios con service_lock\n\nLa lista service_table está protegida por service_lock cuando se añaden o eliminan entradas (en adf_service_add() y adf_service_remove()), pero varias funciones iteran sobre la lista sin mantener este bloqueo.\n\nUna llamada concurrente a adf_service_register() o adf_service_unregister() podría modificar la lista durante el recorrido, lo que llevaría a la corrupción de la lista o a un uso después de liberación.\n\nSolucione esto manteniendo service_lock durante todas las iteraciones de list_for_each_entry() de service_table en adf_dev_init(), adf_dev_start(), adf_dev_stop(), adf_dev_shutdown(), adf_dev_restarting_notify(), adf_dev_restarted_notify() y adf_error_notifier().\n\nEl orden de los bloqueos es seguro: los llamadores de las funciones auxiliares estáticas (adf_dev_up() y adf_dev_down()) adquieren state_lock antes que service_lock, y ninguna devolución de llamada event_hld o poseedor de service_lock adquiere state_lock en el orden inverso.","source":"nvd"}],"published":"2026-07-25T08:49:39.536Z","modified":"2026-11-06T17:18:46.520Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","fixed":"d36bff434e01d06d1e1fa98aa2b34ec32185c1ab","status":"affected"},{"type":"git","introduced":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","fixed":"11d48f777cf8fad00db044f4c15cdf821427746b","status":"affected"},{"type":"git","introduced":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","fixed":"222fa7b453b612f4407f260146d89a2ce2bc831d","status":"affected"},{"type":"git","introduced":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","fixed":"c3c5925791cff3b84d313293fd60f384d877d793","status":"affected"},{"type":"git","introduced":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","fixed":"0dbcecea740d943002c1cbdafa39bdfc108e32a5","status":"affected"},{"type":"git","introduced":"d8cba25d2c68992a6e7c1d329b690a9ebe01167d","fixed":"5c6f845e77ec35f9b7b047cc8f9789bf397cdd3e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.17","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.96","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.39","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.4","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.17","fixed":"6.12.96"},{"status":"affected","introduced":"6.13","fixed":"6.18.39"},{"status":"affected","introduced":"6.19","fixed":"7.1.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d36bff434e01d06d1e1fa98aa2b34ec32185c1ab","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11d48f777cf8fad00db044f4c15cdf821427746b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/222fa7b453b612f4407f260146d89a2ce2bc831d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c3c5925791cff3b84d313293fd60f384d877d793","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0dbcecea740d943002c1cbdafa39bdfc108e32a5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5c6f845e77ec35f9b7b047cc8f9789bf397cdd3e","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:34:23.370Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64305","url":"https://www.cve.org/CVERecord?id=CVE-2026-64305","licence":"CVE Terms of Use","modified":"2026-11-06T16:44:43.751Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64305","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64305","licence":"Public domain","modified":"2026-11-06T17:18:46.520Z"}],"updatedAt":"2026-11-25T22:59:30.059Z","epss":{"score":0.00159,"percentile":0.05349,"date":"2026-12-01T12:00:22.000Z"}}