CVE-2024-56754
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-56754 is a vulnerability discovered in the Linux kernel's crypto subsystem, specifically in the CAAM (Cryptographic Acceleration and Assurance Module) driver. The vulnerability was disclosed on December 29, 2024, and involves an incorrect pointer type being passed to the caam_qi_shutdown() function. The issue affects various Linux kernel versions and their distributions (NVD).

Technical details

The vulnerability stems from a type mismatch in the CAAM driver implementation. The devm_add_action_or_reset() function was receiving a parameter of type 'struct caam_drv_private *', but in caam_qi_shutdown(), it was being incorrectly cast to 'struct device *'. This mismatch could prevent resources from being properly released during shutdown. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (MEDIUM) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability affects resource management during system shutdown, potentially leading to resource leaks when the CAAM crypto driver is being unloaded or the system is shutting down. The CVSS score indicates that while the vulnerability requires local access and low privileges, it could result in high availability impact to the affected system (NVD).

Mitigation and workarounds

A fix has been implemented by correcting the parameter passed to devm_add_action_or_reset(), ensuring that qidev is passed instead of ctrlpriv. This fix has been merged into various kernel versions and is available through distribution updates. Ubuntu has already implemented fixes for version 24.10 (oracular) and is working on updates for other affected versions (Ubuntu).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-oem-6.14
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-core
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • linux-aws-fips
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management