crypto: qat - protect service table iterations with service_lock
Summary
| CVE | CVE-2026-64305 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-25 10:17:11 UTC |
| Updated | 2026-07-25 10:17:11 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: crypto: qat - protect service table iterations with service_lock The service_table list is protected by service_lock when entries are added or removed (in adf_service_add() and adf_service_remove()), but several functions iterate over the list without holding this lock. A concurrent adf_service_register() or adf_service_unregister() call could modify the list during traversal, leading to list corruption or a use-after-free. Fix this by holding service_lock across all list_for_each_entry() iterations of service_table in adf_dev_init(), adf_dev_start(), adf_dev_stop(), adf_dev_shutdown(), adf_dev_restarting_notify(), adf_dev_restarted_notify(), and adf_error_notifier(). The lock ordering is safe: callers of the static helpers (adf_dev_up() and adf_dev_down()) acquire state_lock before service_lock, and no event_hld callback or service_lock holder ever acquires state_lock in the reverse order. |
Risk And Classification
EPSS: 0.001680000 probability, percentile 0.064520000 (date 2026-07-28)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected d8cba25d2c68992a6e7c1d329b690a9ebe01167d 222fa7b453b612f4407f260146d89a2ce2bc831d git | Not specified |
| CNA | Linux | Linux | affected d8cba25d2c68992a6e7c1d329b690a9ebe01167d c3c5925791cff3b84d313293fd60f384d877d793 git | Not specified |
| CNA | Linux | Linux | affected d8cba25d2c68992a6e7c1d329b690a9ebe01167d 0dbcecea740d943002c1cbdafa39bdfc108e32a5 git | Not specified |
| CNA | Linux | Linux | affected d8cba25d2c68992a6e7c1d329b690a9ebe01167d 5c6f845e77ec35f9b7b047cc8f9789bf397cdd3e git | Not specified |
| CNA | Linux | Linux | affected 3.17 | Not specified |
| CNA | Linux | Linux | unaffected 3.17 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.96 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.39 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1.4 7.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/222fa7b453b612f4407f260146d89a2ce2bc831d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/c3c5925791cff3b84d313293fd60f384d877d793 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0dbcecea740d943002c1cbdafa39bdfc108e32a5 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/5c6f845e77ec35f9b7b047cc8f9789bf397cdd3e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.