CVE-2024-57809: PCI: imx6: Fix suspend/resume support on i.MX6QDL
In the Linux kernel, the following vulnerability has been resolved:
PCI: imx6: Fix suspend/resume support on i.MX6QDL
The suspend/resume functionality is currently broken on the i.MX6QDL platform, as documented in the NXP errata (ERR005723):
https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf
This patch addresses the issue by sharing most of the suspend/resume sequences used by other i.MX devices, while avoiding modifications to critical registers that disrupt the PCIe functionality. It targets the same problem as the following downstream commit:
https://github.com/nxp-imx/linux-imx/commit/4e92355e1f79d225ea842511fcfd42b343b32995
Unlike the downstream commit, this patch also resets the connected PCIe device if possible. Without this reset, certain drivers, such as ath10k or iwlwifi, will crash on resume. The device reset is also done by the driver on other i.MX platforms, making this patch consistent with existing practices.
Upon resuming, the kernel will hang and display an error. Here's an example of the error encountered with the ath10k driver:
ath10kpci 0000:01:00.0: Unable to change power state from D3hot to D0, device inaccessible Unhandled fault: imprecise external abort (0x1406) at 0x0106f944
Without this patch, suspend/resume will fail on i.MX6QDL devices if a PCIe device is connected.
[kwilczynski: commit log, added tag for stable releases]
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-57809?
The severity of CVE-2024-57809 is categorized as moderate due to its impact on suspend/resume functionality.
How do I fix CVE-2024-57809?
To fix CVE-2024-57809, update your Linux kernel to the latest version that includes the patch for this vulnerability.
Which systems are affected by CVE-2024-57809?
CVE-2024-57809 affects the i.MX6QDL platform within the NXP Linux kernel.
What is the nature of the vulnerability in CVE-2024-57809?
CVE-2024-57809 involves a defect in the suspend/resume support functionality for the i.MX6QDL platform.
Is CVE-2024-57809 a known issue for NXP products?
Yes, CVE-2024-57809 is documented in the NXP errata related to the i.MX6QDL device.