CVE-2024-56754

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

Medium · published December 29, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
11.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00212 · 11.0th percentile
Published
2024-12-29T11:30Z
EPSS history
Timeline
  • 29 DEC 11:30Z
    crypto: caam - Fix the pointer passed to caam_qi_shutdown()
    cvelistv5