{"id":"CVE-2024-39493","summary":"crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qat - Fix ADF_DEV_RESET_SYNC memory leak\n\nUsing completion_done to determine whether the caller has gone\naway only works after a complete call.  Furthermore it's still\npossible that the caller has not yet called wait_for_completion,\nresulting in another potential UAF.\n\nFix this by making the caller use cancel_work_sync and then freeing\nthe memory safely.","modified":"2026-11-13T04:03:04.175228475Z","published":"2024-07-10T07:18:39.443Z","related":["SUSE-SU-2024:2894-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39493.json"},"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-613116.html"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0ce5964b82f212f4df6a9813f09a0b5de15bd9c8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3fb4601e0db10d4fe25e46f3fa308d40d37366bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6396b33e98c096bff9c253ed49c008247963492a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a718b6d2a329e069b27d9049a71be5931e71d960"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2d443aa1ae3175c13a665f3a24b8acd759ce9c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d0fd124972724cce0d48b9865ce3e273ef69e246"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3b17c6d9dddc2db3670bc9be628b122416a3d26"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7428e7e3fe94a5089dc12ffe5bc31574d2315ad"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39493.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39493"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"daba62d9eeddcc5b1081be7d348ca836c83c59d7"},{"fixed":"0ce5964b82f212f4df6a9813f09a0b5de15bd9c8"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8e81cd58aee14a470891733181a47d123193ba81"},{"fixed":"6396b33e98c096bff9c253ed49c008247963492a"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d03092550f526a79cf1ade7f0dfa74906f39eb71"},{"fixed":"a718b6d2a329e069b27d9049a71be5931e71d960"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4ae5a97781ce7d6ecc9c7055396535815b64ca4f"},{"fixed":"3fb4601e0db10d4fe25e46f3fa308d40d37366bd"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"226fc408c5fcd23cc4186f05ea3a09a7a9aef2f7"},{"fixed":"e7428e7e3fe94a5089dc12ffe5bc31574d2315ad"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8a5a7611ccc7b1fba8d933a9f22a2e76859d94dc"},{"fixed":"c2d443aa1ae3175c13a665f3a24b8acd759ce9c3"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7d42e097607c4d246d99225bf2b195b6167a210c"},{"fixed":"d0fd124972724cce0d48b9865ce3e273ef69e246"},{"fixed":"d3b17c6d9dddc2db3670bc9be628b122416a3d26"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0c2cf5142bfb634c0ef0a1a69cdf37950747d0be"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bb279ead42263e9fb09480f02a4247b2c287d828"}]}],"versions":["v4.19.315","v4.19.314","v4.19.313","v4.19.312","v5.4.277","v5.4.276","v5.4.275","v5.4.274","v5.10.218","v5.10.217","v5.10.216","v5.10.215","v5.15.160","v5.15.159","v5.15.158","v5.15.157","v5.15.156","v5.15.155","v5.15.154","v6.1.93","v6.1.92","v6.1.91","v6.1.90","v6.1.89","v6.1.88","v6.1.87","v6.1.86","v6.1.85","v6.1.84","v6.6.33","v6.6.32","v6.6.31","v6.6.30","v6.6.29","v6.6.28","v6.6.27","v6.6.26","v6.6.25","v6.6.24","v6.7.12","v6.8.12","v6.8.11","v6.8.10","v6.8.9","v6.8.8","v6.8.7","v6.8.6","v6.8.5","v6.8.4","v6.8.3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-39493.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.312"},{"fixed":"4.19.316"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.4.274"},{"fixed":"5.4.278"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.10.215"},{"fixed":"5.10.219"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.15.154"},{"fixed":"5.15.161"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.84"},{"fixed":"6.1.94"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.6.24"},{"fixed":"6.6.34"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.12"},{"fixed":"6.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.8.3"},{"fixed":"6.9"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.9.0"},{"fixed":"6.9.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-39493.json"}}],"schema_version":"1.9.2"}