Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2024-53152
PUBLISHED
More InfoOfficial Page
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
View Known Exploited Vulnerability (KEV) details
Published At-24 Dec, 2024 | 11:28
Updated At-04 May, 2025 | 09:54
Rejected At-
▼CVE Numbering Authority (CNA)
PCI: tegra194: Move controller cleanups to pex_ep_event_pex_rst_deassert()

In the Linux kernel, the following vulnerability has been resolved: PCI: tegra194: Move controller cleanups to pex_ep_event_pex_rst_deassert() Currently, the endpoint cleanup function dw_pcie_ep_cleanup() and EPF deinit notify function pci_epc_deinit_notify() are called during the execution of pex_ep_event_pex_rst_assert() 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 dw_pcie_ep_cleanup(), 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 pex_ep_event_pex_rst_deassert() 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 Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • drivers/pci/controller/dwc/pcie-tegra194.c
Default Status
unaffected
Versions
Affected
  • From 570d7715eed8a29ac5bd96c7694f060a991e5a31 before 70212c2300971506e986d95000d2745529cac9d7 (git)
  • From 570d7715eed8a29ac5bd96c7694f060a991e5a31 before 72034050ccf4202cd6558b0afd2474f756ea3b9b (git)
  • From 570d7715eed8a29ac5bd96c7694f060a991e5a31 before 40e2125381dc11379112485e3eefdd25c6df5375 (git)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • drivers/pci/controller/dwc/pcie-tegra194.c
Default Status
affected
Versions
Affected
  • 6.10
Unaffected
  • From 0 before 6.10 (semver)
  • From 6.11.11 through 6.11.* (semver)
  • From 6.12.2 through 6.12.* (semver)
  • From 6.13 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/70212c2300971506e986d95000d2745529cac9d7
N/A
https://git.kernel.org/stable/c/72034050ccf4202cd6558b0afd2474f756ea3b9b
N/A
https://git.kernel.org/stable/c/40e2125381dc11379112485e3eefdd25c6df5375
N/A
Hyperlink: https://git.kernel.org/stable/c/70212c2300971506e986d95000d2745529cac9d7
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/72034050ccf4202cd6558b0afd2474f756ea3b9b
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/40e2125381dc11379112485e3eefdd25c6df5375
Resource: N/A
Details not found