PT-2025-54167 · Linux+1 · Linux Kernel+1
Published
2023-01-01
·
Updated
2026-02-24
·
CVE-2023-54321
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.1.0-rc3+
Description
The Linux kernel contains a flaw in the driver core, specifically a potential null-pointer dereference in the
device add() function. This issue occurs when a device is added, and an error occurs during the device binding process. Specifically, if dev->driver is set, the error path in device add() calls bus remove device(), which can lead to a null-pointer dereference while accessing knode driver because device bind driver() has not been called yet. The root cause is that dev->driver is not set to null in the error path before calling bus remove device().Recommendations
Update to a version later than 6.1.0-rc3+.
Exploit
Fix
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Linux Kernel