CVE Database›CVE-2023-54321

CVE-2023-54321

kernel: driver core: fix potential null-ptr-deref in device_add()

Loading…

Severity

Low

Red Hat Product Security

4.7

CVSS 3.1

Review impact separately from score.

Published · December 30, 2025

Updated · July 22, 2026

Description

A NULL pointer dereference was found in the driver core's device_add() function. When dpm_sysfs_add() fails after bus_add_device() succeeds, the error path attempts to remove the driver binding that was never completed, causing a crash.

Statement

This crash requires device registration to fail at a specific point, typically due to sysfs errors or resource exhaustion. The affected code path is in core driver infrastructure but requires unusual failure conditions.

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 · 4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-476 · NULL Pointer Dereference