CVE-2026-139050
mtd: rawnand: ndfc: use devm_platform_ioremap_resource()
Description
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.
INFO
Published Date :
Nov. 30, 2026, 2:18 p.m.
Last Modified :
Nov. 30, 2026, 2:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the mtd: rawnand: ndfc patch.
- Replace manual iomap/iounmap calls.
- Use devm_platform_ioremap_resource() helper function.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139050.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139050 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139050
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139050 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139050 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139050.json">CVE-2026-139050</a> Added Reference https://git.kernel.org/stable/c/02def76d9efddae77e63299652f2f63ff8355450 Added Reference https://git.kernel.org/stable/c/09f9b88965435a2bb9cf47d7526390e58ae453c5 Added Reference https://git.kernel.org/stable/c/0d66f9895f286d2fab396a71e6efeb95c4a7e5a6 Added Reference https://git.kernel.org/stable/c/4fae8466a191eb557d1b9c2cf66baa99096ee233 Added Reference https://git.kernel.org/stable/c/633f36d825df59754fb85ce40e9f1e7386d03973 Added Reference https://git.kernel.org/stable/c/c72b7b9cf0736a1e135a9c7d5869d5ad39dfc5ca Added Reference https://git.kernel.org/stable/c/d72b01308055291841ff801b44526e60f26fe705 Added Reference https://git.kernel.org/stable/c/e2084710f37683a16bb9fc07ef57ad1e14218014