mtd: rawnand: ndfc: use devm_platform_ioremap_resource()

Summary

CVECVE-2026-139050
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:10 UTC
Updated2026-11-30 14:18:10 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected a808ad3b0d28411e2838117c5b2ae680ae42483c 4fae8466a191eb557d1b9c2cf66baa99096ee233 git Not specified
CNA Linux Linux affected a808ad3b0d28411e2838117c5b2ae680ae42483c d72b01308055291841ff801b44526e60f26fe705 git Not specified
CNA Linux Linux affected a808ad3b0d28411e2838117c5b2ae680ae42483c 633f36d825df59754fb85ce40e9f1e7386d03973 git Not specified
CNA Linux Linux affected a808ad3b0d28411e2838117c5b2ae680ae42483c 02def76d9efddae77e63299652f2f63ff8355450 git Not specified
CNA Linux Linux affected a808ad3b0d28411e2838117c5b2ae680ae42483c 09f9b88965435a2bb9cf47d7526390e58ae453c5 git Not specified
CNA Linux Linux affected a808ad3b0d28411e2838117c5b2ae680ae42483c e2084710f37683a16bb9fc07ef57ad1e14218014 git Not specified
CNA Linux Linux affected a808ad3b0d28411e2838117c5b2ae680ae42483c c72b7b9cf0736a1e135a9c7d5869d5ad39dfc5ca git Not specified
CNA Linux Linux affected a808ad3b0d28411e2838117c5b2ae680ae42483c 0d66f9895f286d2fab396a71e6efeb95c4a7e5a6 git Not specified
CNA Linux Linux affected 2.6.29 Not specified
CNA Linux Linux unaffected 2.6.29 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.118 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.64 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/02def76d9efddae77e63299652f2f63ff8355450 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/09f9b88965435a2bb9cf47d7526390e58ae453c5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d72b01308055291841ff801b44526e60f26fe705 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e2084710f37683a16bb9fc07ef57ad1e14218014 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4fae8466a191eb557d1b9c2cf66baa99096ee233 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/633f36d825df59754fb85ce40e9f1e7386d03973 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0d66f9895f286d2fab396a71e6efeb95c4a7e5a6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c72b7b9cf0736a1e135a9c7d5869d5ad39dfc5ca 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report