mtd: rawnand: ndfc: use devm_platform_ioremap_resource()

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linuxa808ad3b0d28411e2838117c5b2ae680ae42483c to before 4fae8466a191eb557d1b9c2cf66baa99096ee233 Affecteda808ad3b0d28411e2838117c5b2ae680ae42483c to before d72b01308055291841ff801b44526e60f26fe705 Affecteda808ad3b0d28411e2838117c5b2ae680ae42483c to before 633f36d825df59754fb85ce40e9f1e7386d03973 Affecteda808ad3b0d28411e2838117c5b2ae680ae42483c to before 02def76d9efddae77e63299652f2f63ff8355450 Affecteda808ad3b0d28411e2838117c5b2ae680ae42483c to before 09f9b88965435a2bb9cf47d7526390e58ae453c5 Affecteda808ad3b0d28411e2838117c5b2ae680ae42483c to before e2084710f37683a16bb9fc07ef57ad1e14218014 Affecteda808ad3b0d28411e2838117c5b2ae680ae42483c to before c72b7b9cf0736a1e135a9c7d5869d5ad39dfc5ca Affecteda808ad3b0d28411e2838117c5b2ae680ae42483c to before 0d66f9895f286d2fab396a71e6efeb95c4a7e5a6 Affected
Linux Linux2.6.29 Affectedbefore 2.6.29 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.118 through 6.12.* Not Affected6.18.64 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.