{"id":"CVE-2026-139050","aliases":["CVE-2026-139050"],"related":[],"kind":"vulnerability","state":"published","title":"mtd: rawnand: ndfc: use devm_platform_ioremap_resource()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: rawnand: ndfc: use devm_platform_ioremap_resource()\n\nReplace the open-coded of_iomap()/iounmap() with the managed\ndevm_platform_ioremap_resource() helper. This fixes a mapping leak on\ndriver remove (the old code never called iounmap()) and simplifies the\nerror path by dropping the manual cleanup in ndfc_probe().\n\nThere is no overlapping memory-region concern introduced by this\nchange: each supported board DT describes a single ndfc node with a\nunique 0x2000 register region, and the EBC parent uses dcr-reg rather\nthan a MEM reg resource, so the newly added request_mem_region() cannot\nconflict with an existing reservation. Distinct chip selects map to\ndistinct 64-bit physical addresses, so CS instances do not overlap.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: rawnand: ndfc: use devm_platform_ioremap_resource()\n\nReplace the open-coded of_iomap()/iounmap() with the managed\ndevm_platform_ioremap_resource() helper. This fixes a mapping leak on\ndriver remove (the old code never called iounmap()) and simplifies the\nerror path by dropping the manual cleanup in ndfc_probe().\n\nThere is no overlapping memory-region concern introduced by this\nchange: each supported board DT describes a single ndfc node with a\nunique 0x2000 register region, and the EBC parent uses dcr-reg rather\nthan a MEM reg resource, so the newly added request_mem_region() cannot\nconflict with an existing reservation. Distinct chip selects map to\ndistinct 64-bit physical addresses, so CS instances do not overlap.","source":"cvelist"}],"published":"2026-11-30T13:27:24.182Z","modified":"2026-11-30T14:18:10.560Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a808ad3b0d28411e2838117c5b2ae680ae42483c","fixed":"4fae8466a191eb557d1b9c2cf66baa99096ee233","status":"affected"},{"type":"git","introduced":"a808ad3b0d28411e2838117c5b2ae680ae42483c","fixed":"d72b01308055291841ff801b44526e60f26fe705","status":"affected"},{"type":"git","introduced":"a808ad3b0d28411e2838117c5b2ae680ae42483c","fixed":"633f36d825df59754fb85ce40e9f1e7386d03973","status":"affected"},{"type":"git","introduced":"a808ad3b0d28411e2838117c5b2ae680ae42483c","fixed":"02def76d9efddae77e63299652f2f63ff8355450","status":"affected"},{"type":"git","introduced":"a808ad3b0d28411e2838117c5b2ae680ae42483c","fixed":"09f9b88965435a2bb9cf47d7526390e58ae453c5","status":"affected"},{"type":"git","introduced":"a808ad3b0d28411e2838117c5b2ae680ae42483c","fixed":"e2084710f37683a16bb9fc07ef57ad1e14218014","status":"affected"},{"type":"git","introduced":"a808ad3b0d28411e2838117c5b2ae680ae42483c","fixed":"c72b7b9cf0736a1e135a9c7d5869d5ad39dfc5ca","status":"affected"},{"type":"git","introduced":"a808ad3b0d28411e2838117c5b2ae680ae42483c","fixed":"0d66f9895f286d2fab396a71e6efeb95c4a7e5a6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.29","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.29","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4fae8466a191eb557d1b9c2cf66baa99096ee233","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d72b01308055291841ff801b44526e60f26fe705","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/633f36d825df59754fb85ce40e9f1e7386d03973","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02def76d9efddae77e63299652f2f63ff8355450","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09f9b88965435a2bb9cf47d7526390e58ae453c5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e2084710f37683a16bb9fc07ef57ad1e14218014","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c72b7b9cf0736a1e135a9c7d5869d5ad39dfc5ca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d66f9895f286d2fab396a71e6efeb95c4a7e5a6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139050","url":"https://www.cve.org/CVERecord?id=CVE-2026-139050","licence":"CVE Terms of Use","modified":"2026-11-30T13:27:24.182Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139050","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139050","licence":"Public domain","modified":"2026-11-30T14:18:10.560Z"}],"updatedAt":"2026-11-30T14:32:24.494Z","epss":{"score":0.00371,"percentile":0.33101,"date":"2026-12-01T12:00:22.000Z"}}