5.5
MEDIUM
CVE-2023-52877
Linux Kernel USB TypeC TCPM NULL Pointer Dereference
Description

In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: Fix NULL pointer dereference in tcpm_pd_svdm() It is possible that typec_register_partner() returns ERR_PTR on failure. When port->partner is an error, a NULL pointer dereference may occur as shown below. [91222.095236][ T319] typec port0: failed to register partner (-17) ... [91225.061491][ T319] Unable to handle kernel NULL pointer dereference at virtual address 000000000000039f [91225.274642][ T319] pc : tcpm_pd_data_request+0x310/0x13fc [91225.274646][ T319] lr : tcpm_pd_data_request+0x298/0x13fc [91225.308067][ T319] Call trace: [91225.308070][ T319] tcpm_pd_data_request+0x310/0x13fc [91225.308073][ T319] tcpm_pd_rx_handler+0x100/0x9e8 [91225.355900][ T319] kthread_worker_fn+0x178/0x58c [91225.355902][ T319] kthread+0x150/0x200 [91225.355905][ T319] ret_from_fork+0x10/0x30 Add a check for port->partner to avoid dereferencing a NULL pointer.

INFO

Published Date :

May 21, 2024, 4:15 p.m.

Last Modified :

Jan. 6, 2025, 8:32 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2023-52877 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-52877 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-52877 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jan. 06, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE NIST CWE-476
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.12 up to (excluding) 5.15.138 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.62 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.5.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6 up to (excluding) 6.6.1
    Changed Reference Type https://git.kernel.org/stable/c/4987daf86c152ff882d51572d154ad12e4ff3a4b No Types Assigned https://git.kernel.org/stable/c/4987daf86c152ff882d51572d154ad12e4ff3a4b Patch
    Changed Reference Type https://git.kernel.org/stable/c/4987daf86c152ff882d51572d154ad12e4ff3a4b No Types Assigned https://git.kernel.org/stable/c/4987daf86c152ff882d51572d154ad12e4ff3a4b Patch
    Changed Reference Type https://git.kernel.org/stable/c/9ee038590d808a95d16adf92818dcd4752273c08 No Types Assigned https://git.kernel.org/stable/c/9ee038590d808a95d16adf92818dcd4752273c08 Patch
    Changed Reference Type https://git.kernel.org/stable/c/9ee038590d808a95d16adf92818dcd4752273c08 No Types Assigned https://git.kernel.org/stable/c/9ee038590d808a95d16adf92818dcd4752273c08 Patch
    Changed Reference Type https://git.kernel.org/stable/c/b37a168c0137156042a0ca9626651b5a789e822b No Types Assigned https://git.kernel.org/stable/c/b37a168c0137156042a0ca9626651b5a789e822b Patch
    Changed Reference Type https://git.kernel.org/stable/c/b37a168c0137156042a0ca9626651b5a789e822b No Types Assigned https://git.kernel.org/stable/c/b37a168c0137156042a0ca9626651b5a789e822b Patch
    Changed Reference Type https://git.kernel.org/stable/c/e5f53a68a596e04df3fde3099273435a30b6fdac No Types Assigned https://git.kernel.org/stable/c/e5f53a68a596e04df3fde3099273435a30b6fdac Patch
    Changed Reference Type https://git.kernel.org/stable/c/e5f53a68a596e04df3fde3099273435a30b6fdac No Types Assigned https://git.kernel.org/stable/c/e5f53a68a596e04df3fde3099273435a30b6fdac Patch
    Changed Reference Type https://git.kernel.org/stable/c/e7a802447c491903aa7cb45967aa2a934a4e63fc No Types Assigned https://git.kernel.org/stable/c/e7a802447c491903aa7cb45967aa2a934a4e63fc Patch
    Changed Reference Type https://git.kernel.org/stable/c/e7a802447c491903aa7cb45967aa2a934a4e63fc No Types Assigned https://git.kernel.org/stable/c/e7a802447c491903aa7cb45967aa2a934a4e63fc Patch
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/4987daf86c152ff882d51572d154ad12e4ff3a4b
    Added Reference https://git.kernel.org/stable/c/9ee038590d808a95d16adf92818dcd4752273c08
    Added Reference https://git.kernel.org/stable/c/b37a168c0137156042a0ca9626651b5a789e822b
    Added Reference https://git.kernel.org/stable/c/e5f53a68a596e04df3fde3099273435a30b6fdac
    Added Reference https://git.kernel.org/stable/c/e7a802447c491903aa7cb45967aa2a934a4e63fc
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 29, 2024

    Action Type Old Value New Value
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 21, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: Fix NULL pointer dereference in tcpm_pd_svdm() It is possible that typec_register_partner() returns ERR_PTR on failure. When port->partner is an error, a NULL pointer dereference may occur as shown below. [91222.095236][ T319] typec port0: failed to register partner (-17) ... [91225.061491][ T319] Unable to handle kernel NULL pointer dereference at virtual address 000000000000039f [91225.274642][ T319] pc : tcpm_pd_data_request+0x310/0x13fc [91225.274646][ T319] lr : tcpm_pd_data_request+0x298/0x13fc [91225.308067][ T319] Call trace: [91225.308070][ T319] tcpm_pd_data_request+0x310/0x13fc [91225.308073][ T319] tcpm_pd_rx_handler+0x100/0x9e8 [91225.355900][ T319] kthread_worker_fn+0x178/0x58c [91225.355902][ T319] kthread+0x150/0x200 [91225.355905][ T319] ret_from_fork+0x10/0x30 Add a check for port->partner to avoid dereferencing a NULL pointer.
    Added Reference kernel.org https://git.kernel.org/stable/c/e5f53a68a596e04df3fde3099273435a30b6fdac [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/e7a802447c491903aa7cb45967aa2a934a4e63fc [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/9ee038590d808a95d16adf92818dcd4752273c08 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/b37a168c0137156042a0ca9626651b5a789e822b [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/4987daf86c152ff882d51572d154ad12e4ff3a4b [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-52877 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-52877 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: May. 14, 2025 15:43