{
  "threat_severity" : "Low",
  "public_date" : "2025-12-30T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: cxl/pmem: Fix nvdimm registration races",
    "id" : "2426157",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2426157"
  },
  "cvss3" : {
    "cvss3_base_score" : "4.7",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-366",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\ncxl/pmem: Fix nvdimm registration races\nA loop of the form:\nwhile true; do modprobe cxl_pci; modprobe -r cxl_pci; done\n...fails with the following crash signature:\nBUG: kernel NULL pointer dereference, address: 0000000000000040\n[..]\nRIP: 0010:cxl_internal_send_cmd+0x5/0xb0 [cxl_core]\n[..]\nCall Trace:\n<TASK>\ncxl_pmem_ctl+0x121/0x240 [cxl_pmem]\nnvdimm_get_config_data+0xd6/0x1a0 [libnvdimm]\nnd_label_data_init+0x135/0x7e0 [libnvdimm]\nnvdimm_probe+0xd6/0x1c0 [libnvdimm]\nnvdimm_bus_probe+0x7a/0x1e0 [libnvdimm]\nreally_probe+0xde/0x380\n__driver_probe_device+0x78/0x170\ndriver_probe_device+0x1f/0x90\n__device_attach_driver+0x85/0x110\nbus_for_each_drv+0x7d/0xc0\n__device_attach+0xb4/0x1e0\nbus_probe_device+0x9f/0xc0\ndevice_add+0x445/0x9c0\nnd_async_device_register+0xe/0x40 [libnvdimm]\nasync_run_entry_fn+0x30/0x130\n...namely that the bottom half of async nvdimm device registration runs\nafter the CXL has already torn down the context that cxl_pmem_ctl()\nneeds. Unlike the ACPI NFIT case that benefits from launching multiple\nnvdimm device registrations in parallel from those listed in the table,\nCXL is already marked PROBE_PREFER_ASYNCHRONOUS. So provide for a\nsynchronous registration path to preclude this scenario.", "A race condition was found in the CXL persistent memory driver. Rapid module load/unload cycles can cause async nvdimm device registration to run after the CXL context has been torn down, resulting in a NULL pointer dereference." ],
  "statement" : "This affects CXL-capable systems with persistent memory. Triggering requires rapid module insertion/removal cycles, which is not typical in production but can occur during testing or development.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-11-12T00:00:00Z",
    "advisory" : "RHSA-2024:9315",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-503.11.1.el9_5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-11-12T00:00:00Z",
    "advisory" : "RHSA-2024:9315",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-503.11.1.el9_5"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-54323\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-54323\nhttps://lore.kernel.org/linux-cve-announce/2025123015-CVE-2023-54323-423a@gregkh/T" ],
  "name" : "CVE-2023-54323",
  "csaw" : false
}