Technical impact
In the Linux kernel, the nvdimm/pmem driver fails to release a gendisk when probe fails after an earlier disk allocation. The failure occurs only when a page allocation for badblocks initialization drops, a condition that arises under memory exhaustion. The unfreed disk, queue, and block device inode persist in memory until the machine is rebooted. The leak is not visible to users as no device node or sysfs entry appears, but it steadily consumes kernel memory, potentially leading to a denial‑of‑service if the system repeatedly attempts to attach memory devices under constrained conditions.
Affected Systems
All Linux kernel versions sourcing the nvdimm/pmem driver prior to the applied patch are affected. No specific version range is listed; the vulnerability applies to any kernel implementation that includes the unguarded gendisk release path before the bug fix.
Risk and Exploitability
The vulnerability has no publicly available exploit code and is listed as not in the CISA KEV catalog. The EPSS score is not available, so the probability of attack remains unclear. The primary risk is a self‑limited denial‑of‑service scenario caused by accumulated memory leaks when a memory device probe fails, which requires an attacker to induce a page allocation failure—a scenario typically only feasible in constrained or specialized environments.