CVE-2024-53152: PCI: tegra194: Move controller cleanups to pex_ep_event_pex_rst_deassert()

Published Dec 24, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

PCI: tegra194: Move controller cleanups to pexepeventpexrstdeassert()

Currently, the endpoint cleanup function dwpcieepcleanup() and EPF deinit notify function pciepcdeinitnotify() are called during the execution of pexepeventpexrstassert() i.e., when the host has asserted PERST#. But quickly after this step, refclk will also be disabled by the host.

All of the tegra194 endpoint SoCs supported as of now depend on the refclk from the host for keeping the controller operational. Due to this limitation, any access to the hardware registers in the absence of refclk will result in a whole endpoint crash. Unfortunately, most of the controller cleanups require accessing the hardware registers (like eDMA cleanup performed in dwpcieepcleanup(), etc...). So these cleanup functions can cause the crash in the endpoint SoC once host asserts PERST#.

One way to address this issue is by generating the refclk in the endpoint itself and not depending on the host. But that is not always possible as some of the endpoint designs do require the endpoint to consume refclk from the host.

Thus, fix this crash by moving the controller cleanups to the start of the pexepeventpexrstdeassert() function. This function is called whenever the host has deasserted PERST# and it is guaranteed that the refclk would be active at this point. So at the start of this function (after enabling resources) the controller cleanup can be performed. Once finished, rest of the code execution for PERST# deassert can continue as usual.

Affected Software

4 affected componentsFixes available
Linux Linux kernel
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
Linux Linux kernel>=6.10<6.11.11
Linux Linux kernel>=6.12<6.12.2

Event History

Dec 24, 2024
CVE Published
via MITRE·11:28 AM
Data Sourced
via MITRE·11:28 AM
Description
Data Sourced
via Red Hat·12:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·12:15 PM
Description
Data Sourced
via NVD·12:15 PM
RemedySeverityAffected Software
Apr 1, 2025
Data Sourced
via Ubuntu·01:03 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-53152?

CVE-2024-53152 has been classified with a severity level that is contingent on the specific system configurations and usage.

2

How do I fix CVE-2024-53152?

To fix CVE-2024-53152, users should apply the latest patches and updates available for the Linux Kernel.

3

What components are affected by CVE-2024-53152?

CVE-2024-53152 affects the Linux Kernel, specifically related to PCI controller cleanups in tegra194.

4

Is CVE-2024-53152 actively being exploited?

As of now, there are no public reports indicating that CVE-2024-53152 is being actively exploited.

5

What versions of the Linux Kernel are impacted by CVE-2024-53152?

CVE-2024-53152 impacts various versions of the Linux Kernel, and all users are recommended to check their versions for vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203