CVE & CISA-KEV Catalog

CVE-2023-54087

UNSCORED

Description

In the Linux kernel, the following vulnerability has been resolved: ubi: Fix possible null-ptr-deref in ubi_free_volume() It willl cause null-ptr-deref in the following case: uif_init() ubi_add_volume() cdev_add() -> if it fails, call kill_volumes() device_register() kill_volumes() -> if ubi_add_volume() fails call this function ubi_free_volume() cdev_del() device_unregister() -> trying to delete a not added device, it causes null-ptr-deref So in ubi_free_volume(), it delete devices whether they are added or not, it will causes null-ptr-deref. Handle the error case whlie calling ubi_add_volume() to fix this problem. If add volume fails, set the corresponding vol to null, so it can not be accessed in kill_volumes() and release the resource in ubi_add_volume() error path.

How to fix

Remediation Available
linuxDebian
Fixed in:5.10.178-1CVE-2023-54087
Fixed in:6.1.20-1CVE-2023-54087
Fixed in:6.1.20-1CVE-2023-54087
Fixed in:6.1.20-1CVE-2023-54087

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3.1 Vector

No CVSS vector data available.

Exploit Intelligence

0.18%probability of exploitation in 30 days
8thpercentile

Low risk: more likely to be exploited than 8% of all known CVEs.

References

Embed a live status badge for CVE-2023-54087
CVE-2023-54087 severity badge

Markdown

[![CVE-2023-54087](https://tridentstack.com/cve/badge/CVE-2023-54087.svg)](https://tridentstack.com/cve/CVE-2023-54087)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-54087"><img src="https://tridentstack.com/cve/badge/CVE-2023-54087.svg" alt="CVE-2023-54087"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-12-29.