Reference count underflow in Linux kernel L440GX MTD map driver
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel MTD L440GX map driver, from 2.6.19 onward, has a reference counting flaw in init_l440gx(). The function releases its reference on the PIIX4 ISA bridge early, then calls pci_dev_put() on the same device again when pci_assign_resource() fails, underflowing the reference count.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: mtd: maps: l440gx: Fix double put of the ISA bridge in init_l440gx() init_l440gx() takes a single reference on the PIIX4 ISA bridge with pci_get_device() and drops it again right after the lookups, before the flash window is set up. The pci_assign_resource() failure path then calls pci_dev_put() on the same device a second time, releasing a reference that is no longer owned and underflowing the reference count. Remove the extra pci_dev_put().
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 2.6.19 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 2.6.19 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 Patch available CNA
Remediation
Fixed in Linux kernel 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 and 7.4-rc1, depending on the stable branch in use. The fix removes the extra pci_dev_put() call.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-138975
- 2026-11-30 Alias added: GHSA-f76h-w87p-q77f
References
Other 8
- https://git.kernel.org/stable/c/f0b7aa007c8c3a587a06bc163e18bc20773844bc
- https://git.kernel.org/stable/c/6c8b35a5cff11f789c840d6c4572241eeaba4023
- https://git.kernel.org/stable/c/9e03771950b092aa33506cdc569939f24930183a
- https://git.kernel.org/stable/c/995a2ae9676398a7e65e7f917a1e58143ec70fef
- https://git.kernel.org/stable/c/a9f3748e2c7e2aea10ef72d6421192795e3b02a9
- https://git.kernel.org/stable/c/433fe9882befbe12e8f560b5818799651654bcba
- https://git.kernel.org/stable/c/c312ee756e7472bfdc6c17904a62bff01be20410
- https://git.kernel.org/stable/c/521ad948e04934b2d70ae899bc016bbb38802e90
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-138975 · CVE Program
- CVE-2026-138975 · NVD
- GHSA-f76h-w87p-q77f · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences