cpufreq: imx6q: fix devres accumulation across driver rebind

Summary

CVECVE-2026-90296
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-17 17:17:26 UTC
Updated2026-09-17 17:17:26 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: cpufreq: imx6q: fix devres accumulation across driver rebind imx6_soc_volt is allocated with devm_kcalloc(cpu_dev, ...), where cpu_dev is the CPU device from get_cpu_device(0). That device is never unbound, so its devres list is never released, and imx6q_cpufreq_remove() does not free the array either. Every probe therefore adds an allocation that stays for the lifetime of the system. Allocate against the platform device instead. Its devres is released when the driver is unbound, which is exactly the lifetime the array wants: imx6q_set_target() reads it, and nothing may reach that after cpufreq_unregister_driver(). That makes the array actually go away on unbind, so also clear the file-scope pointer in remove and on the failed-probe path, rather than leave it pointing at memory devres is about to release. Tested by rebinding the driver on qemu's mcimx6ul-evk.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 493c4d5982f037f288509a1cee352b8b9705fb38 git Not specified
CNA Linux Linux affected b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 d91f07381e2b70578ff92b83d9422ac31e7b9096 git Not specified
CNA Linux Linux affected b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 38d2c3c9238b9d499e1829a3b8e80c2f73c73b5c git Not specified
CNA Linux Linux affected b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 92e53a5274276a7b1ca815b9aacebea4fb7efe75 git Not specified
CNA Linux Linux affected b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 9e314b3ecd2594958d4f4999313641290ad28ebe git Not specified
CNA Linux Linux affected b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 e2d2612e63e294ebcdec7c6f08a1a052b7dfdc59 git Not specified
CNA Linux Linux affected b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 0f77d1a0a25056146eea1f8619fa06ce287c91f7 git Not specified
CNA Linux Linux affected b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 22c23c72c3b21fa3ec3db5070dfc0582794e0ef9 git Not specified
CNA Linux Linux affected 3.14 Not specified
CNA Linux Linux unaffected 3.14 semver Not specified
CNA Linux Linux unaffected 5.10.270 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.221 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.52 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.6 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/493c4d5982f037f288509a1cee352b8b9705fb38 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d91f07381e2b70578ff92b83d9422ac31e7b9096 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e2d2612e63e294ebcdec7c6f08a1a052b7dfdc59 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/38d2c3c9238b9d499e1829a3b8e80c2f73c73b5c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/22c23c72c3b21fa3ec3db5070dfc0582794e0ef9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/92e53a5274276a7b1ca815b9aacebea4fb7efe75 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0f77d1a0a25056146eea1f8619fa06ce287c91f7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9e314b3ecd2594958d4f4999313641290ad28ebe 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