What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.316, 5.10.219, 5.15.161, 5.4.278. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-39493 or the next vulnerability affects your stack