CVE-2024-57809 PCI: imx6: Fix suspend/resume support on i.MX6QDL

Medium 5.5 Published Updated

A flaw in the Linux kernel PCI driver for i.MX6QDL causes system hangs and crashes during suspend/resume operations when PCIe devices are connected.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-57809?

CVE-2024-57809 is a medium-severity denial of service vulnerability in Linux kernel, published on 11 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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:

ath10k_pci 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]

Which versions are affected by CVE-2024-57809?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-57809?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-57809 being exploited?

There is no known exploitation of CVE-2024-57809 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-62556, BELL-CVE-2024-57809, DEBIAN-CVE-2024-57809, GHSA-m7r3-8cxw-w4p4, ROOT-OS-DEBIAN-11-CVE-2024-57809, ROOT-OS-DEBIAN-12-CVE-2024-57809 and 3 more.

Is CVE-2024-57809 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free