lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Wed, 10 Jul 2024 09:18:43 +0200
From: Greg Kroah-Hartman <>
Cc: Greg Kroah-Hartman <>
Subject: CVE-2024-39493: crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak


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.

The Linux kernel CVE team has assigned CVE-2024-39493 to this issue.

Affected and fixed versions

	Issue introduced in 4.19.312 with commit daba62d9eedd and fixed in 4.19.316 with commit 0ce5964b82f2
	Issue introduced in 5.4.274 with commit 8e81cd58aee1 and fixed in 5.4.278 with commit 6396b33e98c0
	Issue introduced in 5.10.215 with commit d03092550f52 and fixed in 5.10.219 with commit a718b6d2a329
	Issue introduced in 5.15.154 with commit 4ae5a97781ce and fixed in 5.15.161 with commit 3fb4601e0db1
	Issue introduced in 6.1.84 with commit 226fc408c5fc and fixed in 6.1.94 with commit e7428e7e3fe9
	Issue introduced in 6.6.24 with commit 8a5a7611ccc7 and fixed in 6.6.34 with commit c2d443aa1ae3
	Issue introduced in 6.9 with commit 7d42e097607c and fixed in 6.9.5 with commit d0fd12497272
	Issue introduced in 6.9 with commit 7d42e097607c and fixed in 6.10-rc1 with commit d3b17c6d9ddd
	Issue introduced in 6.7.12 with commit 0c2cf5142bfb
	Issue introduced in 6.8.3 with commit bb279ead4226

Please see for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
will be updated if fixes are backported, please check that for the most
up to date information about this issue.

Affected files

The file(s) affected by this issue are:


The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:

Powered by blists - more mailing lists