# CVE-2026-138974: mtd: maps: l440gx: Fix double put of the PM device in init_l440gx()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-30T13:26:42.471Z
- Modified: 2026-11-30T14:17:59.403Z
- Assigned by: Linux

## Description

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().

(As written by CVE List.)

## Affected

- Linux Linux: from dd8e9ed6ed544e2b924429d29cd2a6b55590109b before 8e3b522c60ce2ed4d38ba79cbaf6606e30939517; from dd8e9ed6ed544e2b924429d29cd2a6b55590109b before 089b59200a5308d64912bcc1e7a988c152d17f75; from dd8e9ed6ed544e2b924429d29cd2a6b55590109b before 4f856772a34d86b5097d03d5109a02f53a1fadfc; from dd8e9ed6ed544e2b924429d29cd2a6b55590109b before 5950e2d960b5dfde97fbc827fc465d8811fcbdbc; from dd8e9ed6ed544e2b924429d29cd2a6b55590109b before de587b7dd1269be9b83d418ffd3007203044dc2d; from dd8e9ed6ed544e2b924429d29cd2a6b55590109b before 9544576610d5d5aa20f41239040aaf7dc1cfb4c9; from dd8e9ed6ed544e2b924429d29cd2a6b55590109b before 2a22243c1247634ad8f0622759a1f0cf52d68285; from dd8e9ed6ed544e2b924429d29cd2a6b55590109b before e6ca524ee5b2705be30ea19ce2e55122d9f9ed8f; 2.6.19 (not affected: before 2.6.19; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/8e3b522c60ce2ed4d38ba79cbaf6606e30939517>
- <https://git.kernel.org/stable/c/089b59200a5308d64912bcc1e7a988c152d17f75>
- <https://git.kernel.org/stable/c/4f856772a34d86b5097d03d5109a02f53a1fadfc>
- <https://git.kernel.org/stable/c/5950e2d960b5dfde97fbc827fc465d8811fcbdbc>
- <https://git.kernel.org/stable/c/de587b7dd1269be9b83d418ffd3007203044dc2d>
- <https://git.kernel.org/stable/c/9544576610d5d5aa20f41239040aaf7dc1cfb4c9>
- <https://git.kernel.org/stable/c/2a22243c1247634ad8f0622759a1f0cf52d68285>
- <https://git.kernel.org/stable/c/e6ca524ee5b2705be30ea19ce2e55122d9f9ed8f>

## Sources

- CVE List: [CVE-2026-138974](https://www.cve.org/CVERecord?id=CVE-2026-138974), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138974](https://nvd.nist.gov/vuln/detail/CVE-2026-138974), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138974 · Whole record: https://cve.day/CVE-2026-138974.json · Rebuilt by cve.day 2026-11-30T14:32:46.088Z
