CVE-2023-54087
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-54087 is a null pointer dereference vulnerability in the Linux kernel's UBI (Unsorted Block Image) subsystem, specifically in the ubi_free_volume() function. The flaw was published on December 24, 2025, and affects Linux kernel versions from 2.6.22 through multiple stable branches prior to patched releases. The vulnerability arises during UBI volume initialization when ubi_add_volume() fails partway through, causing kill_volumes() to attempt to unregister devices that were never fully registered. It carries a CVSS v3.1 base score of 5.5 (Medium), with a local attack vector and high availability impact (Red Hat CVE, Red Hat Bugzilla).

Technical details

The root cause is a null pointer dereference (CWE-476) in the Linux kernel's UBI volume management code. During uif_init(), if cdev_add() succeeds but a subsequent step in ubi_add_volume() fails, kill_volumes() is called, which in turn calls ubi_free_volume(). This function unconditionally calls cdev_del() and device_unregister() regardless of whether the device was successfully registered, triggering a null pointer dereference. The fix sets the corresponding volume pointer to null upon failure in ubi_add_volume(), preventing kill_volumes() from accessing the uninitialized device and releasing resources in the error path (Red Hat CVE).

Impact

Successful exploitation causes a kernel null pointer dereference, resulting in a kernel panic or system crash, which constitutes a denial of service condition. The impact is limited to availability — there is no confidentiality or integrity impact. Because the vulnerability requires local access with low privileges, the blast radius is constrained to the affected host, with no direct path to lateral movement or data exfiltration (Red Hat CVE, Red Hat Bugzilla).

Mitigation and workarounds

Patches have been backported to multiple stable Linux kernel branches. Users should update to the following minimum patched versions: 4.14.308, 4.19.276, 5.4.235, 5.10.173, 5.15.100, 6.1.18, 6.2.5, or 6.3. Administrators should apply the relevant kernel update for their distribution and verify the running kernel version post-update. As an interim measure, limiting local user access to UBI-related system functions and monitoring kernel logs for unusual errors is advisable (Red Hat CVE, Red Hat Bugzilla).

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