CVE-2023-54044 json
spmi: Add a check for remove callback when removing a SPMI driver
published 2025-12-24 10 mo ago modified 2026-06-17 4 mo ago also EUVD-2023-60282
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
spmi: Add a check for remove callback when removing a SPMI driver
When removing a SPMI driver, there can be a crash due to NULL pointer dereference if it does not have a remove callback defined. This is one such call trace observed when removing the QCOM SPMI PMIC driver:
dump_backtrace.cfi_jt+0x0/0x8 dump_stack_lvl+0xd8/0x16c panic+0x188/0x498 __cfi_slowpath+0x0/0x214 __cfi_slowpath+0x1dc/0x214 spmi_drv_remove+0x16c/0x1e0 device_release_driver_internal+0x468/0x79c driver_detach+0x11c/0x1a0 bus_remove_driver+0xc4/0x124 driver_unregister+0x58/0x84 cleanup_module+0x1c/0xc24 [qcom_spmi_pmic] __do_sys_delete_module+0x3ec/0x53c __arm64_sys_delete_module+0x18/0x28 el0_svc_common+0xdc/0x294 el0_svc+0x38/0x9c el0_sync_handler+0x8c/0xf0 el0_sync+0x1b4/0x1c0
If a driver has all its resources allocated through devm_() APIs and does not need any other explicit cleanup, it would not require a remove callback to be defined. Hence, add a check for remove callback presence before calling it when removing a SPMI driver.
Patch / fix
- Linux Linux 4.14.315, 4.19.283, 5.4.243, 5.10.180, 5.15.111, 6.1.28, 6.2.15, 6.3.2, 6.4
- linux Debian 12 6.1.37-1
- linux Debian 14, Debian 13 6.3.7-1
debian advisories DEBIAN-CVE-2023-54044
- linux Ubuntu 20.04 LTS 5.4.0-162.179
- linux Ubuntu 22.04 LTS 5.15.0-79.86
- linux-aws Ubuntu 20.04 LTS 5.4.0-1109.118
- linux-aws Ubuntu 22.04 LTS 5.15.0-1042.47
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1112.121
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1039.47
- linux-gke Ubuntu 22.04 LTS 5.15.0-1039.44
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1056.61
ubuntu advisories UBUNTU-CVE-2023-54044
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-64kb SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS, SLE High Performance Computing 15 SP5-ESPOS 5.14.21-150500.55.133.1
- kernel-syms SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.133.1
- kernel-source SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.133.1
- kernel-default SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +3 more 5.14.21-150500.55.133.1
- kernel-obs-build SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.133.1
- kernel-default-base SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.133.1.150500.6.65.1
- kernel-rt SLE Micro 5.5 5.14.21-150500.13.118.1
- kernel-source-rt SLE Micro 5.5 5.14.21-150500.13.118.1
suse advisories SUSE-SU-2026:0317-1SUSE-SU-2026:0263-1
- git.kernel.org/stable/c/b95a69214daea4aab1c8bad96571d988a62e2c97 commit
- git.kernel.org/stable/c/699949219e35fe29fd42ccf8cd92c989c3d15109 commit
- git.kernel.org/stable/c/54dda732225555dc6d660e95793c54a0a44b612c commit
- git.kernel.org/stable/c/c45ab3ab9c371c9ac22bbe1217e5abb2e55a3d4b commit
- git.kernel.org/stable/c/ee0b6146317a98bfec848d7bde5586beb245a38f commit
- git.kernel.org/stable/c/428cc252701d6864151f3a296ffc23e1e49a7408 commit
- git.kernel.org/stable/c/af763c29b9e7040fedd0077bca053b101438a3a4 commit
- git.kernel.org/stable/c/0f3ef30c1c05502f5de3b73b3715d5994845c1b4 commit
- git.kernel.org/stable/c/b56eef3e16d888883fefab47425036de80dd38fc commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-54044 updated cvss 5.5
kernel: spmi: Add a check for remove callback when removing a SPMI driver
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/b95a69214daea4aab1c8bad96571d988a62e2c97
- git.kernel.org /stable/c/699949219e35fe29fd42ccf8cd92c989c3d15109
- git.kernel.org /stable/c/54dda732225555dc6d660e95793c54a0a44b612c
- git.kernel.org /stable/c/c45ab3ab9c371c9ac22bbe1217e5abb2e55a3d4b
- git.kernel.org /stable/c/ee0b6146317a98bfec848d7bde5586beb245a38f
- git.kernel.org /stable/c/428cc252701d6864151f3a296ffc23e1e49a7408
- git.kernel.org /stable/c/af763c29b9e7040fedd0077bca053b101438a3a4
- git.kernel.org /stable/c/0f3ef30c1c05502f5de3b73b3715d5994845c1b4
- git.kernel.org /stable/c/b56eef3e16d888883fefab47425036de80dd38fc
Sources
- CVE List CVE-2023-54044
- NVD CVE-2023-54044
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.