CVE-2024-56754

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

State
Published
Severity
5.5 Medium
Published
Dec 29, 2024
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb to before cc386170b3312fd7b5bc4a69a9f52d7f50814526Affected
  • f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb to before 6187727e57aec122c8a99c464c74578c810cbe40Affected
  • f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb to before 66eddb8dcb61065c53098510165f14b54232bcc2Affected
  • f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb to before 1f8e2f597b918ca5827a5c6d00b819d064264d1cAffected
  • f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb to before 84a185aea7b83f620699de0ea36907d588d89cf6Affected
  • f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb to before ad39df0898d3f469776c19d99229be055cc2dceaAffected
  • f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb to before ad980b04f51f7fb503530bd1cb328ba5e75a250eAffected
LinuxLinux
  • 5.5Affected
  • before 5.5Not affected
  • 5.10.231 through 5.10.*Not affected
  • 5.15.174 through 5.15.*Not affected
  • 6.1.120 through 6.1.*Not affected
  • 6.6.64 through 6.6.*Not affected
  • 6.11.11 through 6.11.*Not affected
  • 6.12.2 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.