Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-54321

published

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

Published
30 Dec 2025, 12:34:14 UTC
Updated
05 Nov 2026, 20:31:21 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux57eee3d23e8833ca18708b374c648235691942ba to < 97aa8fb74bbe9aaf4ed5962a784f73b071bd16bf · 57eee3d23e8833ca18708b374c648235691942ba to < 2c59650d078b1b3f1ea50d5f8ee9fcc537dc02d3 · 57eee3d23e8833ca18708b374c648235691942ba to < 7cf515bf9e8c2908dc170ecf2df117162a16c9c5 · 57eee3d23e8833ca18708b374c648235691942ba to < 17982304806c5c10924e73f7ca5556e0d7378452 · 57eee3d23e8833ca18708b374c648235691942ba to < f6837f34a34973ef6600c08195ed300e24e97317 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.26 (affected) · 0 to < 2.6.26 (unaffected · semver) · 5.10.249 through 5.10.* (unaffected · semver) · 5.15.99 through 5.15.* (unaffected · semver) · 6.1.16 through 6.1.* (unaffected · semver) · 6.2.3 through 6.2.* (unaffected · semver) · 6.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-114 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2023-015 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.249-1 DLA-4475-1
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2023-138 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-develaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-devels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modulesaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-moduless390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modules-extraaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modules-extras390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-toolsaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-toolsppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-toolss390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-toolsx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdumps390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-cores390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-devels390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-moduless390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-modules-extras390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perfaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perfppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perfs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perfx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perf-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perf-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perf-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 perf-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perfaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perfppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perfs390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perfx86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoaarch64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoppc64le Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfos390x Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfox86_64 Advisory build 4.18.0-513.5.1.el8_9 RHSA-2023:7077
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.2.0-362.8.1.el9_3 RHSA-2023:6583

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: driver core: fix potential null-ptr-deref in device_add() I got the following null-ptr-deref report while doing fault injection test: BUG: kernel NULL pointer dereference, address: 0000000000000058 CPU: 2 PID: 278 Comm: 37-i2c-ds2482 Tainted: G B W N 6.1.0-rc3+ RIP: 0010:klist_put+0x2d/0xd0 Call Trace: <TASK> klist_remove+0xf1/0x1c0 device_release_driver_internal+0x196/0x210 bus_remove_device+0x1bd/0x240 device_add+0xd3d/0x1100 w1_add_master_device+0x476/0x490 [wire] ds2482_probe+0x303/0x3e0 [ds2482] This is how it happened: w1_alloc_dev() // The dev->driver is set to w1_master_driver. memcpy(&dev->dev, device, sizeof(struct device)); device_add() bus_add_device() dpm_sysfs_add() // It fails, calls bus_remove_device. // error path bus_remove_device() // The dev->driver is not null, but driver is not bound. __device_release_driver() klist_remove(&dev->p->knode_driver) <-- It causes null-ptr-deref. // normal path bus_probe_device() // It's not called yet. device_bind_driver() If dev->driver is set, in the error path after calling bus_add_device() in device_add(), bus_remove_device() is called, then the device will be detached from driver. But device_bind_driver() is not called yet, so it causes null-ptr-deref while access the 'knode_driver'. To fix this, set dev->driver to null in the error path before calling bus_remove_device().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

13

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 57eee3d23e8833ca18708b374c648235691942ba to < 97aa8fb74bbe9aaf4ed5962a784f73b071bd16bf (affected · git)57eee3d23e8833ca18708b374c648235691942ba to < 2c59650d078b1b3f1ea50d5f8ee9fcc537dc02d3 (affected · git)57eee3d23e8833ca18708b374c648235691942ba to < 7cf515bf9e8c2908dc170ecf2df117162a16c9c5 (affected · git)57eee3d23e8833ca18708b374c648235691942ba to < 17982304806c5c10924e73f7ca5556e0d7378452 (affected · git)57eee3d23e8833ca18708b374c648235691942ba to < f6837f34a34973ef6600c08195ed300e24e97317 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.26 (affected)0 to < 2.6.26 (unaffected · semver)5.10.249 through 5.10.* (unaffected · semver)5.15.99 through 5.15.* (unaffected · semver)6.1.16 through 6.1.* (unaffected · semver)6.2.3 through 6.2.* (unaffected · semver)6.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

2

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
a3e3719941ca15c45b482d50a80c021b6fc28fa5c4f5f86d48b08dbbdfe9e190
Ingested
07 Nov 2026, 23:14:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected