5.5medium
crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak Using completion_done to determine whether the caller has gone away only works after a complete call. Furthermore it's still possible that the caller has not yet called wait_for_completion, resulting in another potential UAF. Fix this by making the caller use cancel_work_sync and then freeing the memory safely.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from daba62d9eeddcc5b1081be7d348ca836c83c59d7 before 0ce5964b82f212f4df6a9813f09a0b5de15bd9c8, from 8e81cd58aee14a470891733181a47d123193ba81 before 6396b33e98c096bff9c253ed49c008247963492a, from d03092550f526a79cf1ade7f0dfa74906f39eb71 before a718b6d2a329e069b27d9049a71be5931e71d960, from 4ae5a97781ce7d6ecc9c7055396535815b64ca4f before 3fb4601e0db10d4fe25e46f3fa308d40d37366bd, from 226fc408c5fcd23cc4186f05ea3a09a7a9aef2f7 before e7428e7e3fe94a5089dc12ffe5bc31574d2315ad, from 8a5a7611ccc7b1fba8d933a9f22a2e76859d94dc before c2d443aa1ae3175c13a665f3a24b8acd759ce9c3, from 7d42e097607c4d246d99225bf2b195b6167a210c before d0fd124972724cce0d48b9865ce3e273ef69e246, from 7d42e097607c4d246d99225bf2b195b6167a210c before d3b17c6d9dddc2db3670bc9be628b122416a3d26 and 11 more Not affected: before 6.9, from 4.19.316 up to 4.19.*, from 5.4.278 up to 5.4.*, from 5.10.219 up to 5.10.*, from 5.15.161 up to 5.15.*, from 6.1.94 up to 6.1.* | CVE List |
| linux linux_kernel | from 4.19.312 before 4.19.316, from 5.4.274 before 5.4.278, from 5.10.215 before 5.10.219, from 5.15.154 before 5.15.161, from 6.1.84 before 6.1.94, from 6.6.24 before 6.6.34, from 6.9 before 6.9.5 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak Using completion_done to determine whether the caller has gone away only works after a complete call. Furthermore it's still possible that the caller has not yet called wait_for_completion, resulting in another potential UAF. Fix this by making the caller use cancel_work_sync and then freeing the memory safely.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: crypto: qat: corrige la pérdida de memoria ADF_DEV_RESET_SYNC. El uso de complete_done para determinar si la persona que llama se ha ido solo funciona después de una llamada completa. Además, aún es posible que la persona que llama aún no haya llamado a wait_for_completion, lo que genera otra posible UAF. Solucione este problema haciendo que la persona que llama use cancel_work_sync y luego liberando la memoria de forma segura.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-39493 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-39493 changed 2026-10-15 | Public domain |