# CVE-2026-139050: mtd: rawnand: ndfc: use devm_platform_ioremap_resource()

- 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.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-11-30T13:27:24.182Z
- Modified: 2026-11-30T14:18:10.560Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a808ad3b0d28411e2838117c5b2ae680ae42483c before 4fae8466a191eb557d1b9c2cf66baa99096ee233; from a808ad3b0d28411e2838117c5b2ae680ae42483c before d72b01308055291841ff801b44526e60f26fe705; from a808ad3b0d28411e2838117c5b2ae680ae42483c before 633f36d825df59754fb85ce40e9f1e7386d03973; from a808ad3b0d28411e2838117c5b2ae680ae42483c before 02def76d9efddae77e63299652f2f63ff8355450; from a808ad3b0d28411e2838117c5b2ae680ae42483c before 09f9b88965435a2bb9cf47d7526390e58ae453c5; from a808ad3b0d28411e2838117c5b2ae680ae42483c before e2084710f37683a16bb9fc07ef57ad1e14218014; from a808ad3b0d28411e2838117c5b2ae680ae42483c before c72b7b9cf0736a1e135a9c7d5869d5ad39dfc5ca; from a808ad3b0d28411e2838117c5b2ae680ae42483c before 0d66f9895f286d2fab396a71e6efeb95c4a7e5a6; 2.6.29 (not affected: before 2.6.29; 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.118 up to 6.12.*; from 6.18.64 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/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>

## Sources

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

---

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