mtd: maps: l440gx: Fix double put of the PM device in init_l440gx()
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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().
| Product | Versions |
|---|---|
| Linux Linux | dd8e9ed6ed544e2b924429d29cd2a6b55590109b to before 8e3b522c60ce2ed4d38ba79cbaf6606e30939517 Affecteddd8e9ed6ed544e2b924429d29cd2a6b55590109b to before 089b59200a5308d64912bcc1e7a988c152d17f75 Affecteddd8e9ed6ed544e2b924429d29cd2a6b55590109b to before 4f856772a34d86b5097d03d5109a02f53a1fadfc Affecteddd8e9ed6ed544e2b924429d29cd2a6b55590109b to before 5950e2d960b5dfde97fbc827fc465d8811fcbdbc Affecteddd8e9ed6ed544e2b924429d29cd2a6b55590109b to before de587b7dd1269be9b83d418ffd3007203044dc2d Affecteddd8e9ed6ed544e2b924429d29cd2a6b55590109b to before 9544576610d5d5aa20f41239040aaf7dc1cfb4c9 Affecteddd8e9ed6ed544e2b924429d29cd2a6b55590109b to before 2a22243c1247634ad8f0622759a1f0cf52d68285 Affecteddd8e9ed6ed544e2b924429d29cd2a6b55590109b to before e6ca524ee5b2705be30ea19ce2e55122d9f9ed8f Affected |
| Linux Linux | 2.6.19 Affectedbefore 2.6.19 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.