CVE-2023-54323
Last modified
CVE-2023-54323 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: cxl/pmem: Fix nvdimm registration races A loop of the form: while true; do modprobe cxl_pci; modprobe -r cxl_pci; done ...fails with the following crash signature: BUG: kernel NULL pointer dereference, address: 0000000000000040 [..] RIP: 0010:cxl_internal_send_cmd+0x5/0xb0 [cxl_core] [..] Call Trace: <TASK> cxl_pmem_ctl+0x121/0x240 [cxl_pmem] nvdimm_get_config_data+0xd6/0x1a0 [libnvdimm] nd_label_data_init+0x135/0x7e0 [libnvdimm] nvdimm_probe+0xd6/0x1c0 [libnvdimm] nvdimm_bus_probe+0x7a/0x1e0 [libnvdimm] really_probe+0xde/0x380 __driver_probe_device+0x78/0x170 driver_probe_device+0x1f/0x90 __device_attach_driver+0x85/0x110 bus_for_each_drv+0x7d/0xc0 __device_attach+0xb4/0x1e0 bus_probe_device+0x9f/0xc0 device_add+0x445/0x9c0 nd_async_device_register+0xe/0x40 [libnvdimm] async_run_entry_fn+0x30/0x130 ...namely that the bottom half of async nvdimm device registration runs after the CXL has already torn down the context that cxl_pmem_ctl() needs. Unlike the ACPI NFIT case that benefits from launching multiple nvdimm device registrations in parallel from those listed in the table, CXL is already marked PROBE_PREFER_ASYNCHRONOUS. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: cxl/pmem: Fix nvdimm registration races A loop of the form: while true; do modprobe cxl_pci; modprobe -r cxl_pci; done ...fails with the following crash signature: BUG: kernel NULL pointer dereference, address: 0000000000000040 [..] RIP: 0010:cxl_internal_send_cmd+0x5/0xb0 [cxl_core] [..] Call Trace: <TASK> cxl_pmem_ctl+0x121/0x240 [cxl_pmem] nvdimm_get_config_data+0xd6/0x1a0 [libnvdimm] nd_label_data_init+0x135/0x7e0 [libnvdimm] nvdimm_probe+0xd6/0x1c0 [libnvdimm] nvdimm_bus_probe+0x7a/0x1e0 [libnvdimm] really_probe+0xde/0x380 __driver_probe_device+0x78/0x170 driver_probe_device+0x1f/0x90 __device_attach_driver+0x85/0x110 bus_for_each_drv+0x7d/0xc0 __device_attach+0xb4/0x1e0 bus_probe_device+0x9f/0xc0 device_add+0x445/0x9c0 nd_async_device_register+0xe/0x40 [libnvdimm] async_run_entry_fn+0x30/0x130 ...namely that the bottom half of async nvdimm device registration runs after the CXL has already torn down the context that cxl_pmem_ctl() needs. Unlike the ACPI NFIT case that benefits from launching multiple nvdimm device registrations in parallel from those listed in the table, CXL is already marked PROBE_PREFER_ASYNCHRONOUS. So provide for a synchronous registration path to preclude this scenario.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 21083f51521fb0f60dbac591f175c3ed48435af4, < a371788d4f4a7f59eecd22644331d599979fd283; >= 21083f51521fb0f60dbac591f175c3ed48435af4, < 18c65667fa9104780eeaa0dc1bc240f0c2094772; >= 21083f51521fb0f60dbac591f175c3ed48435af4, < f57aec443c24d2e8e1f3b5b4856aea12ddda4254 |
| Linux | Linux | 5.14 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2023-54323?
How severe is CVE-2023-54323?
How do I fix CVE-2023-54323?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-54318In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2023-54319In the Linux kernel, the following vulnerability has been re…
- CVE-2023-5432The Jquery news ticker plugin for WordPress is vulnerable to…5.4
- CVE-2023-54320In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54321In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-54322In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54324In the Linux kernel, the following vulnerability has been re…
- CVE-2023-54325In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2023-54326In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-54327Tinycontrol LAN Controller 1.58a contains an authentication …9.8
- CVE-2023-54328AimOne Video Converter 2.04 Build 103 contains a buffer over…6.5
- CVE-2023-54329Inbit Messenger 4.6.0 - 4.9.0 contains a remote command exec…9.8
Are you affected by CVE-2023-54323?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
