CVE Database›CVE-2023-54044

CVE-2023-54044

kernel: spmi: Add a check for remove callback when removing a SPMI driver

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · December 24, 2025

Updated · June 30, 2026

Description

A NULL pointer dereference vulnerability was found in the Linux kernel's SPMI (System Power Management Interface) bus driver. When removing a SPMI driver that does not define a remove callback, spmi_drv_remove() dereferences a NULL function pointer, causing a kernel panic. This affects drivers using devm_() APIs that don't require explicit cleanup.

Statement

This flaw affects systems with Qualcomm SPMI PMIC hardware, primarily mobile and embedded platforms. The crash occurs during driver removal (module unload) when the SPMI driver lacks a remove callback. Drivers properly designed with devm_() managed resources legitimately may not need a remove callback, making this a framework bug.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-476 · NULL Pointer Dereference