CVE-2024-39493

crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak

MEDIUM
5.5
CVSS Score
Published: July 10, 2024 at 07:18 AM UTC
Updated: October 15, 2026 at 01:18 AM UTC
7 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFPRUGGEDCOM RST2428P Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.19.312 ≤ v < 4.19.3165.10.215 ≤ v < 5.10.2195.15.154 ≤ v < 5.15.1615.4.274 ≤ v < 5.4.2786.1.84 ≤ v < 6.1.946.6.24 ≤ v < 6.6.346.9 ≤ v < 6.9.50c2cf5142bfb634c0ef0a1a69cdf37950747d0be226fc408c5fcd23cc4186f05ea3a09a7a9aef2f74.19.3124ae5a97781ce7d6ecc9c7055396535815b64ca4f5.10.2155.15.1545.4.2746.1.846.6.246.7.126.8.36.97d42e097607c4d246d99225bf2b195b6167a210c8a5a7611ccc7b1fba8d933a9f22a2e76859d94dc8e81cd58aee14a470891733181a47d123193ba81bb279ead42263e9fb09480f02a4247b2c287d828d03092550f526a79cf1ade7f0dfa74906f39eb71daba62d9eeddcc5b1081be7d348ca836c83c59d7
Vendor states this is fixed in 0ce5964b82f212f4df6a9813f09a0b5de15bd9c8 (fixed)
Vendor states this is fixed in 3fb4601e0db10d4fe25e46f3fa308d40d37366bd (fixed)
Vendor states this is fixed in 6396b33e98c096bff9c253ed49c008247963492a (fixed)
Vendor states this is fixed in a718b6d2a329e069b27d9049a71be5931e71d960 (fixed)
Vendor states this is fixed in c2d443aa1ae3175c13a665f3a24b8acd759ce9c3 (fixed)
Vendor states this is fixed in d0fd124972724cce0d48b9865ce3e273ef69e246 (fixed)
Vendor states this is fixed in d3b17c6d9dddc2db3670bc9be628b122416a3d26 (fixed)
Vendor states this is fixed in e7428e7e3fe94a5089dc12ffe5bc31574d2315ad (fixed)
Vendor states this is fixed in 4.19.316 (unaffected)
Vendor states this is fixed in 5.10.219 (unaffected)
Vendor states this is fixed in 5.15.161 (unaffected)
Vendor states this is fixed in 5.4.278 (unaffected)
Vendor states this is fixed in 6.1.94 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.34 (unaffected)
Affected range stops below 6.8, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.9 (unaffected)
Vendor states this is fixed in 6.9.5 (unaffected)
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0ce5964b82f212f4df6a9813f09a0b5de15bd9c8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3fb4601e0db10d4fe25e46f3fa308d40d37366bd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6396b33e98c096bff9c253ed49c008247963492a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a718b6d2a329e069b27d9049a71be5931e71d960
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c2d443aa1ae3175c13a665f3a24b8acd759ce9c3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d0fd124972724cce0d48b9865ce3e273ef69e246
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d3b17c6d9dddc2db3670bc9be628b122416a3d26
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e7428e7e3fe94a5089dc12ffe5bc31574d2315ad

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card