crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak
Summary
| CVE | CVE-2024-39493 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-07-10 08:15:11 UTC |
| Updated | 2026-05-12 12:16:56 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-401
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected daba62d9eeddcc5b1081be7d348ca836c83c59d7 0ce5964b82f212f4df6a9813f09a0b5de15bd9c8 git | Not specified |
| CNA | Linux | Linux | affected 8e81cd58aee14a470891733181a47d123193ba81 6396b33e98c096bff9c253ed49c008247963492a git | Not specified |
| CNA | Linux | Linux | affected d03092550f526a79cf1ade7f0dfa74906f39eb71 a718b6d2a329e069b27d9049a71be5931e71d960 git | Not specified |
| CNA | Linux | Linux | affected 4ae5a97781ce7d6ecc9c7055396535815b64ca4f 3fb4601e0db10d4fe25e46f3fa308d40d37366bd git | Not specified |
| CNA | Linux | Linux | affected 226fc408c5fcd23cc4186f05ea3a09a7a9aef2f7 e7428e7e3fe94a5089dc12ffe5bc31574d2315ad git | Not specified |
| CNA | Linux | Linux | affected 8a5a7611ccc7b1fba8d933a9f22a2e76859d94dc c2d443aa1ae3175c13a665f3a24b8acd759ce9c3 git | Not specified |
| CNA | Linux | Linux | affected 7d42e097607c4d246d99225bf2b195b6167a210c d0fd124972724cce0d48b9865ce3e273ef69e246 git | Not specified |
| CNA | Linux | Linux | affected 7d42e097607c4d246d99225bf2b195b6167a210c d3b17c6d9dddc2db3670bc9be628b122416a3d26 git | Not specified |
| CNA | Linux | Linux | affected 0c2cf5142bfb634c0ef0a1a69cdf37950747d0be git | Not specified |
| CNA | Linux | Linux | affected bb279ead42263e9fb09480f02a4247b2c287d828 git | Not specified |
| CNA | Linux | Linux | affected 6.9 | Not specified |
| CNA | Linux | Linux | unaffected 6.9 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.316 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.278 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.219 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.161 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.94 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.34 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.9.5 6.9.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.10 * original_commit_for_fix | Not specified |
| ADP | Siemens | RUGGEDCOM RST2428P | affected V3.1 custom | Not specified |
| ADP | Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 Family | unaffected * custom | Not specified |
| ADP | Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 Family | affected V3.1 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/3fb4601e0db10d4fe25e46f3fa308d40d37366bd | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e7428e7e3fe94a5089dc12ffe5bc31574d2315ad | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/0ce5964b82f212f4df6a9813f09a0b5de15bd9c8 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d0fd124972724cce0d48b9865ce3e273ef69e246 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/a718b6d2a329e069b27d9049a71be5931e71d960 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-613116.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/6396b33e98c096bff9c253ed49c008247963492a | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d3b17c6d9dddc2db3670bc9be628b122416a3d26 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/c2d443aa1ae3175c13a665f3a24b8acd759ce9c3 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| 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.