Memory mapping leak in Linux kernel rawnand ndfc driver on remove
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 rawnand ndfc driver, from 2.6.29 before the fixed releases, leaks a device memory mapping on driver remove because it never calls iounmap(). The fix replaces the manual mapping code with the managed devm_platform_ioremap_resource() helper.
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: rawnand: ndfc: use devm_platform_ioremap_resource() Replace the open-coded of_iomap()/iounmap() with the managed devm_platform_ioremap_resource() helper. This fixes a mapping leak on driver remove (the old code never called iounmap()) and simplifies the error path by dropping the manual cleanup in ndfc_probe(). There is no overlapping memory-region concern introduced by this change: each supported board DT describes a single ndfc node with a unique 0x2000 register region, and the EBC parent uses dcr-reg rather than a MEM reg resource, so the newly added request_mem_region() cannot conflict with an existing reservation. Distinct chip selects map to distinct 64-bit physical addresses, so CS instances do not overlap.
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.29 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.4, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 2.6.29 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.4, 7.4-rc1 Patch available CNA
Remediation
Linux kernel fixed versions are 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.4 and 7.4-rc1, one for each affected branch.
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.118, 6.18.64, 7.3.4, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139050
- 2026-11-30 Alias added: GHSA-pf7m-p78f-fq86
References
Other 8
- https://git.kernel.org/stable/c/4fae8466a191eb557d1b9c2cf66baa99096ee233
- https://git.kernel.org/stable/c/d72b01308055291841ff801b44526e60f26fe705
- https://git.kernel.org/stable/c/633f36d825df59754fb85ce40e9f1e7386d03973
- https://git.kernel.org/stable/c/02def76d9efddae77e63299652f2f63ff8355450
- https://git.kernel.org/stable/c/09f9b88965435a2bb9cf47d7526390e58ae453c5
- https://git.kernel.org/stable/c/e2084710f37683a16bb9fc07ef57ad1e14218014
- https://git.kernel.org/stable/c/c72b7b9cf0736a1e135a9c7d5869d5ad39dfc5ca
- https://git.kernel.org/stable/c/0d66f9895f286d2fab396a71e6efeb95c4a7e5a6
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-139050 · CVE Program
- CVE-2026-139050 · NVD
- GHSA-pf7m-p78f-fq86 · 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