
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."