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-2026-139549

published

nvdimm/pmem: Release gendisk on probe failure

Published
30 Nov 2026, 13:35:47 UTC
Updated
30 Nov 2026, 13:35:47 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < 9713540fd6aab75eca911ae33e59a67d9b9df245 · 3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < acfdb9495320f17cf67a15c863ee152d53d02081 · 3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < 02f73f2baa2374326636feda7767b2c97a241864 · 3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < 5372a7979cc68eec28cb074ee386df681928c03a · 3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < e3581fa72dc6ca5340945228f60efed34afaa515 · 3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < f666e1db6026e2f492ad5f4a45782443798fb920 · 3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < 855a46681e0ba601952c346e5b62d867e51ecb23 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: nvdimm/pmem: Release gendisk on probe failure pmem_attach_disk() allocates the gendisk with blk_alloc_disk() and hands it to devres only once device_add_disk() has succeeded. Until that point the probe path owns the disk itself, which is why every failure after the allocation jumps to the out: label and puts it there. The devm_init_badblocks() failure returns directly instead, so the disk allocated a few lines earlier is never released. Nothing releases it afterwards either: the devres action that would have done so has not been registered yet, so unbinding the namespace or destroying it does not reach the disk, and it stays allocated along with its queue and its bdev inode until the machine is rebooted. devm_init_badblocks() only fails when a single page allocation fails, so reaching this at all needs memory exhaustion during namespace probe, and because device_add_disk() has not run there is nothing user visible left behind: no device node, no sysfs entry, only the leaked memory. Release the gendisk through the existing cleanup path on this failure.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

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 3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < 9713540fd6aab75eca911ae33e59a67d9b9df245 (affected · git)3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < acfdb9495320f17cf67a15c863ee152d53d02081 (affected · git)3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < 02f73f2baa2374326636feda7767b2c97a241864 (affected · git)3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < 5372a7979cc68eec28cb074ee386df681928c03a (affected · git)3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < e3581fa72dc6ca5340945228f60efed34afaa515 (affected · git)3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < f666e1db6026e2f492ad5f4a45782443798fb920 (affected · git)3dd60fb9d95db9c78fec86ba4df20852a7b974ba to < 855a46681e0ba601952c346e5b62d867e51ecb23 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

nvdimm/pmem: Release gendisk on probe failure

Provenance

Schema
5.2
Searchable
yes
Content hash
28f61e3507626b60c63cd660cf0bf3f2a30883daa8303bc4100283f4234d066c
Ingested
30 Nov 2026, 13:42:24 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