# CVE-2024-56754: crypto: caam - Fix the pointer passed to caam_qi_shutdown()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-12-29T11:30:19.049Z
- Modified: 2026-06-17T08:12:54.743Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb before cc386170b3312fd7b5bc4a69a9f52d7f50814526; from f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb before 6187727e57aec122c8a99c464c74578c810cbe40; from f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb before 66eddb8dcb61065c53098510165f14b54232bcc2; from f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb before 1f8e2f597b918ca5827a5c6d00b819d064264d1c; from f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb before 84a185aea7b83f620699de0ea36907d588d89cf6; from f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb before ad39df0898d3f469776c19d99229be055cc2dcea; from f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb before ad980b04f51f7fb503530bd1cb328ba5e75a250e; 5.5 (not affected: before 5.5; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 5.5 before 5.10.231; from 5.11 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/cc386170b3312fd7b5bc4a69a9f52d7f50814526> (patch)
- <https://git.kernel.org/stable/c/6187727e57aec122c8a99c464c74578c810cbe40> (patch)
- <https://git.kernel.org/stable/c/66eddb8dcb61065c53098510165f14b54232bcc2> (patch)
- <https://git.kernel.org/stable/c/1f8e2f597b918ca5827a5c6d00b819d064264d1c> (patch)
- <https://git.kernel.org/stable/c/84a185aea7b83f620699de0ea36907d588d89cf6> (patch)
- <https://git.kernel.org/stable/c/ad39df0898d3f469776c19d99229be055cc2dcea> (patch)
- <https://git.kernel.org/stable/c/ad980b04f51f7fb503530bd1cb328ba5e75a250e> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

- CVE List: [CVE-2024-56754](https://www.cve.org/CVERecord?id=CVE-2024-56754), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56754](https://nvd.nist.gov/vuln/detail/CVE-2024-56754), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56754 · Whole record: https://cve.day/CVE-2024-56754.json · Rebuilt by cve.day 2026-11-25T22:58:50.565Z
