Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

EPSS 0.04% · P11
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-53152

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PCI: tegra194: Move controller cleanups to pex_ep_event_pex_rst_deassert()
Source: NVD (National Vulnerability Database)
Vulnerability Description
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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于对硬件寄存器的访问可能导致端点崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 570d7715eed8a29ac5bd96c7694f060a991e5a31 ~ 70212c2300971506e986d95000d2745529cac9d7 -
LinuxLinux 6.10 -

II. Public POCs for CVE-2024-53152

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-53152

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-12-24 · 20 CVEs total

CVE-2024-53153PCI: qcom-ep: Move controller cleanups to qcom_pcie_perst_deassert()
CVE-2024-53163crypto: qat/qat_420xx - fix off by one in uof_get_name()
CVE-2024-53162crypto: qat/qat_4xxx - fix off by one in uof_get_name()
CVE-2024-53161EDAC/bluefield: Fix potential integer overflow
CVE-2024-53160rcu/kvfree: Fix data-race in __mod_timer / kvfree_call_rcu
CVE-2024-53158soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
CVE-2024-53157firmware: arm_scpi: Check the DVFS OPP count returned by the firmware
CVE-2024-53156wifi: ath9k: add range check for conn_rsp_epid in htc_connect_service()
CVE-2024-53155ocfs2: fix uninitialized value in ocfs2_file_read_iter()
CVE-2024-53154clk: clk-apple-nco: Add NULL check in applnco_probe
CVE-2024-53240xen/netfront: fix crash when removing device
CVE-2024-53151svcrdma: Address an integer overflow
CVE-2024-53150ALSA: usb-audio: Fix out of bounds reads when finding clock sources
CVE-2024-53149usb: typec: ucsi: glink: fix off-by-one in connector_status
CVE-2024-53148comedi: Flush partial mappings in error case
CVE-2024-53147exfat: fix out-of-bounds access of directory entries
CVE-2024-53146NFSD: Prevent a potential integer overflow
CVE-2024-53145um: Fix potential integer overflow during physmem setup
CVE-2024-53241x86/xen: don't do PV iret hypercall through hypercall page

IV. Related Vulnerabilities

V. Comments for CVE-2024-53152

No comments yet


Leave a comment