Bug 2334812 (CVE-2024-56754) - CVE-2024-56754 kernel: crypto: caam - Fix the pointer passed to caam_qi_shutdown()
Summary: CVE-2024-56754 kernel: crypto: caam - Fix the pointer passed to caam_qi_shutd...
Keywords:
Status: NEW
Alias: CVE-2024-56754
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-29 12:01 UTC by OSIDB Bzimport
Modified: 2025-01-21 12:35 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-29 12:01:38 UTC
In the Linux kernel, the following vulnerability has been resolved:

crypto: caam - Fix the pointer passed to caam_qi_shutdown()

The type of the last parameter given to devm_add_action_or_reset() is
"struct caam_drv_private *", but in caam_qi_shutdown(), it is casted to
"struct device *".

Pass the correct parameter to devm_add_action_or_reset() so that the
resources are released as expected.

Comment 1 Avinash Hanwate 2024-12-30 04:50:37 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122928-CVE-2024-56754-9c9d@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.