# CVE-2024-39493: crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-07-10T07:18:39.443Z
- Modified: 2026-10-15T01:18:34.500Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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; 0c2cf5142bfb634c0ef0a1a69cdf37950747d0be; bb279ead42263e9fb09480f02a4247b2c287d828; from 4.19.312 before 4.19.316; from 5.4.274 before 5.4.278; and 7 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.*; from 6.6.34 up to 6.6.*; from 6.9.5 up to 6.9.*; from 6.10 up to *)
- 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

## References

- <https://git.kernel.org/stable/c/0ce5964b82f212f4df6a9813f09a0b5de15bd9c8> (patch)
- <https://git.kernel.org/stable/c/6396b33e98c096bff9c253ed49c008247963492a> (patch)
- <https://git.kernel.org/stable/c/a718b6d2a329e069b27d9049a71be5931e71d960> (patch)
- <https://git.kernel.org/stable/c/3fb4601e0db10d4fe25e46f3fa308d40d37366bd> (patch)
- <https://git.kernel.org/stable/c/e7428e7e3fe94a5089dc12ffe5bc31574d2315ad> (patch)
- <https://git.kernel.org/stable/c/c2d443aa1ae3175c13a665f3a24b8acd759ce9c3> (patch)
- <https://git.kernel.org/stable/c/d0fd124972724cce0d48b9865ce3e273ef69e246> (patch)
- <https://git.kernel.org/stable/c/d3b17c6d9dddc2db3670bc9be628b122416a3d26> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## Sources

- CVE List: [CVE-2024-39493](https://www.cve.org/CVERecord?id=CVE-2024-39493), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-39493](https://nvd.nist.gov/vuln/detail/CVE-2024-39493), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-39493 · Whole record: https://cve.day/CVE-2024-39493.json · Rebuilt by cve.day 2026-11-25T22:58:42.735Z
