Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-53068 Overview
CVE-2024-53068 is a use-after-free vulnerability [CWE-416] in the Linux kernel's ARM System Control and Management Interface (SCMI) firmware driver. The flaw resides in scmi_bus_notifier() within drivers/firmware/arm_scmi/bus.c. The scmi_dev->name field is released prematurely in __scmi_device_destroy(), leaving a dangling pointer that scmi_bus_notifier() subsequently dereferences through strncmp(). Kernel Address Sanitizer (KASAN) detected the issue on Qualcomm SA8775P hardware running kernel 6.6.38. The vulnerability affects Linux kernel versions through 6.12-rc6.
Critical Impact
Local attackers with low privileges can trigger memory corruption in the SCMI firmware subsystem, potentially leading to kernel-level code execution, data corruption, or system crash.
Affected Products
- Linux Kernel versions prior to the fix in the stable tree
- Linux Kernel 6.12-rc1 through 6.12-rc6
- Systems using ARM SCMI firmware driver (notably Qualcomm SA8775P and similar ARM platforms)
Discovery Timeline
- 2024-11-19 - CVE-2024-53068 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-53068
Vulnerability Analysis
The ARM SCMI subsystem manages communication between the Linux kernel and system control firmware on ARM platforms. SCMI devices are created via __scmi_device_create(), which allocates the device name using kstrdup_const(). During teardown, __scmi_device_destroy() calls kfree_const() on scmi_dev->name before invoking device_unregister().
The device_unregister() call triggers bus notifier chains, including scmi_bus_notifier(), which reads scmi_dev->name via strncmp(). Because the name buffer was already freed earlier in the destroy routine, the notifier operates on reclaimed slab memory. KASAN flagged this as a slab-use-after-free during driver probing on boot.
Root Cause
The root cause is incorrect ordering of resource release in __scmi_device_destroy(). The name string is freed before the device is unregistered from the bus, but bus unregistration still requires valid access to the device name for notifier dispatch. The upstream fix moves the kfree_const() of scmi_dev->name into scmi_device_release(), which runs after all references to the device have been dropped.
Attack Vector
Exploitation requires local access with low privileges. An attacker able to trigger SCMI device creation and destruction cycles, such as through driver loading or probe failures, can race the notifier chain against the premature free. Successful exploitation of a kernel use-after-free can yield arbitrary read, write, or control-flow hijack depending on how the freed slab object is reallocated. In practice, this condition is more likely to be hit during device probe, as shown in the KASAN report where swapper/0 triggered the fault during scmi_chan_setup() → scmi_device_destroy().
No verified public exploit is currently available. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
Detection Methods for CVE-2024-53068
Indicators of Compromise
- KASAN reports in dmesg referencing slab-use-after-free in strncmp with a call stack including scmi_bus_notifier and __scmi_device_destroy
- Unexpected kernel oops or panic traces originating in drivers/firmware/arm_scmi/bus.c
- Repeated SCMI driver probe failures followed by kernel instability on ARM platforms
Detection Strategies
- Enable KASAN (CONFIG_KASAN=y) on test and pre-production kernels to surface the use-after-free deterministically during SCMI device lifecycle events
- Audit installed kernel versions against the patched commits 15b17bb, 1e1f523, and 2954160 from the stable tree
- Collect and parse kernel logs centrally, alerting on BUG: KASAN or general protection fault entries referencing SCMI symbols
Monitoring Recommendations
- Forward kernel ring buffer and journald logs to a centralized log platform for continuous inspection
- Track driver load/unload events on ARM endpoints that use SCMI firmware (Qualcomm, NXP, and similar platforms)
- Monitor for unexpected kernel crashes correlated with firmware or power management workloads
How to Mitigate CVE-2024-53068
Immediate Actions Required
- Upgrade affected systems to a Linux kernel version containing the fix from the ARM SCMI maintainer tree
- Prioritize ARM-based deployments (particularly Qualcomm SA8775P and similar SoCs) that actively use the SCMI firmware interface
- Restrict local shell access on affected systems until patches are deployed, since the attack vector is local
Patch Information
The fix moves the release of scmi_dev->name from __scmi_device_destroy() to scmi_device_release(), ensuring the name remains valid for the duration of bus notifier processing. The patch is available in the following stable tree commits: Kernel Commit 15b17bb, Kernel Commit 1e1f523, and Kernel Commit 2954160.
Workarounds
- Disable the ARM SCMI driver (CONFIG_ARM_SCMI_PROTOCOL) in the kernel build if the platform does not require SCMI firmware services
- Limit the ability of unprivileged users to trigger driver probe sequences through device hotplug or module operations
- Apply vendor-provided backports from board support package (BSP) maintainers where upstream kernel upgrades are not immediately feasible
# Verify running kernel version and check for the ARM SCMI module
uname -r
lsmod | grep scmi
# Confirm the fix is present by inspecting the patched source (post-upgrade)
grep -n 'scmi_device_release' drivers/firmware/arm_scmi/bus.c
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

