mtd: rawnand: ndfc: use devm_platform_ioremap_resource() (Linux Linux)

CVE-2026-139050
Not available

At a glance

Source
NVD
EPSS
EPSS 0.37 % · percentile 33 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ a808ad3b0d28411e2838117c5b2ae680ae42483c < 4fae8466a191eb557d1b9c2cf66baa99096ee233
affected : ≥ a808ad3b0d28411e2838117c5b2ae680ae42483c < d72b01308055291841ff801b44526e60f26fe705
affected : ≥ a808ad3b0d28411e2838117c5b2ae680ae42483c < 633f36d825df59754fb85ce40e9f1e7386d03973
affected : ≥ a808ad3b0d28411e2838117c5b2ae680ae42483c < 02def76d9efddae77e63299652f2f63ff8355450
affected : ≥ a808ad3b0d28411e2838117c5b2ae680ae42483c < 09f9b88965435a2bb9cf47d7526390e58ae453c5
affected : ≥ a808ad3b0d28411e2838117c5b2ae680ae42483c < e2084710f37683a16bb9fc07ef57ad1e14218014
affected : ≥ a808ad3b0d28411e2838117c5b2ae680ae42483c < c72b7b9cf0736a1e135a9c7d5869d5ad39dfc5ca
affected : ≥ a808ad3b0d28411e2838117c5b2ae680ae42483c < 0d66f9895f286d2fab396a71e6efeb95c4a7e5a6
Other versions : unaffected
Linux · Linux
affected : 2.6.29
unaffected : ≥ 0 < 2.6.29
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.64 ≤ 6.18.*
unaffected : ≥ 7.3.4 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD