CVE-2026-90296

cpufreq: imx6q: fix devres accumulation across driver rebind

State
Published
Severity
Not scored
Published
Sep 17, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

Description

In 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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 to before 493c4d5982f037f288509a1cee352b8b9705fb38Affected
  • b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 to before d91f07381e2b70578ff92b83d9422ac31e7b9096Affected
  • b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 to before 38d2c3c9238b9d499e1829a3b8e80c2f73c73b5cAffected
  • b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 to before 92e53a5274276a7b1ca815b9aacebea4fb7efe75Affected
  • b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 to before 9e314b3ecd2594958d4f4999313641290ad28ebeAffected
  • b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 to before e2d2612e63e294ebcdec7c6f08a1a052b7dfdc59Affected
  • b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 to before 0f77d1a0a25056146eea1f8619fa06ce287c91f7Affected
  • b4573d1d657aae28bedf3a9a1f5367e09c80d1d6 to before 22c23c72c3b21fa3ec3db5070dfc0582794e0ef9Affected
LinuxLinux
  • 3.14Affected
  • before 3.14Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

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.