CVE-2023-54058
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54058 is a NULL pointer dereference vulnerability in the Linux kernel's firmware: arm_ffa subsystem. The flaw exists in ffa_device_remove(), which unconditionally calls ffa_drv->remove() without first checking whether the .remove callback was registered by the driver. This can trigger a kernel NULL pointer dereference when a module is unloaded (e.g., via rmmod) if the driver was registered without a .remove callback. The vulnerability was published on December 24, 2025, and affects the Linux kernel (CVE Record). No CVSS score has been officially assigned at this time.

Technical details

The root cause is a missing NULL check before a function pointer dereference (CWE-476: NULL Pointer Dereference). The ARM Firmware Framework for Armv8-A (FF-A) driver registration path does not require a .remove callback, yet ffa_device_remove() calls ffa_drv->remove() unconditionally. When a kernel module registered without a .remove callback is unloaded, the kernel attempts to execute a function at address 0x0, resulting in an instruction abort (IABT) at EL1. The crash trace shows the fault originating at ffa_device_remove+0x20/0x2cdevice_release_driver_internaldriver_detachbus_remove_driverdriver_unregisterffa_driver_unregistercleanup_module. The fix adds a NULL check for ffa_drv->remove before invoking it (CVE Record, Feedly).

Impact

Successful triggering of this vulnerability causes a kernel panic (Oops) on the affected system, resulting in a denial of service (system crash). The impact is limited to availability — confidentiality and integrity are not directly affected. Exploitation requires the ability to load and unload kernel modules, which typically requires elevated (root or CAP_SYS_MODULE) privileges, limiting the blast radius to privileged local users or compromised kernel module workflows (CVE Record).

Mitigation and workarounds

Apply the upstream Linux kernel patches that add a NULL check for ffa_drv->remove before invoking it in ffa_device_remove(). Patches have been submitted to the stable kernel tree across multiple stable branches (referenced by commits 6a26c62625c5, 48399c297c46, ad73dc7263ea, and b71b55248a58). Until patched, administrators can mitigate risk by restricting the ability to load and unload kernel modules (e.g., via CAP_SYS_MODULE restrictions or kernel lockdown mode). Monitor vendor distributions (Red Hat, Ubuntu, SUSE, etc.) for backported fixes in their respective kernel packages (CVE Record, Tenable).

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-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 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