CVE-2026-138974

Source
https://cve.org/CVERecord?id=CVE-2026-138974
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138974.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138974
Downstream
Published
2026-11-30T13:26:42Z
Modified
2026-11-30T15:01:41Z
Summary
mtd: maps: l440gx: Fix double put of the PM device in init_l440gx()
Details

In the Linux kernel, the following vulnerability has been resolved:

mtd: maps: l440gx: Fix double put of the PM device in init_l440gx()

The PIIX4 PM device reference taken with pci_get_device() is dropped again before the iobase resource is allocated. If pci_assign_resource() fails, the error path calls pci_dev_put() on pm_dev a second time, releasing a reference that is no longer owned and underflowing the reference count.

Remove the extra pci_dev_put().

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138974.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dd8e9ed6ed544e2b924429d29cd2a6b55590109b
Fixed
8e3b522c60ce2ed4d38ba79cbaf6606e30939517
Fixed
089b59200a5308d64912bcc1e7a988c152d17f75
Fixed
4f856772a34d86b5097d03d5109a02f53a1fadfc
Fixed
5950e2d960b5dfde97fbc827fc465d8811fcbdbc
Fixed
de587b7dd1269be9b83d418ffd3007203044dc2d
Fixed
9544576610d5d5aa20f41239040aaf7dc1cfb4c9
Fixed
2a22243c1247634ad8f0622759a1f0cf52d68285
Fixed
e6ca524ee5b2705be30ea19ce2e55122d9f9ed8f

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138974.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.19
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138974.json"