Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-52877

MEDIUM 5.5EPSS 16%

usb: typec: tcpm: Fix NULL pointer dereference in tcpm_pd_svdm()

Mitigation

  • Upgrade Linux to 4987daf86c152ff882d51572d154ad12e4ff3a4b or later.

Who should check

  • Anyone running Linux >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < e5f53a68a596e04df3fde3099273435a30b6fdac; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < e7a802447c491903aa7cb45967aa2a934a4e63fc; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < 9ee038590d808a95d16adf92818dcd4752273c08; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < b37a168c0137156042a0ca9626651b5a789e822b; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < 4987daf86c152ff882d51572d154ad12e4ff3a4b
  • Anyone running Linux 5.12

Vulnerability facts

Affected
Linux >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < e5f53a68a596e04df3fde3099273435a30b6fdac; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < e7a802447c491903aa7cb45967aa2a934a4e63fc; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < 9ee038590d808a95d16adf92818dcd4752273c08; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < b37a168c0137156042a0ca9626651b5a789e822b; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < 4987daf86c152ff882d51572d154ad12e4ff3a4b; Linux 5.12
Fixed in
Linux 9ee038590d808a95d16adf92818dcd4752273c08, Linux 4987daf86c152ff882d51572d154ad12e4ff3a4b
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
CWE
CWE-476
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < e5f53a68a596e04df3fde3099273435a30b6fdac; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < e7a802447c491903aa7cb45967aa2a934a4e63fc; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < 9ee038590d808a95d16adf92818dcd4752273c08; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < b37a168c0137156042a0ca9626651b5a789e822b; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < 4987daf86c152ff882d51572d154ad12e4ff3a4b—cvelist
Linux5.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-52877. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52877.md
Affected: Linux >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < e5f53a68a596e04df3fde3099273435a30b6fdac; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < e7a802447c491903aa7cb45967aa2a934a4e63fc; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < 9ee038590d808a95d16adf92818dcd4752273c08; >= 5e1d4c49fbc86dab6e005d6…
Fixed in: Linux 9ee038590d808a95d16adf92818dcd4752273c08, Linux 4987daf86c152ff882d51572d154ad12e4ff3a4b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-52877 being exploited?

There is no confirmed exploitation: CVE-2023-52877 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-52877?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2023-52877?

Linux >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < e5f53a68a596e04df3fde3099273435a30b6fdac; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < e7a802447c491903aa7cb45967aa2a934a4e63fc; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < 9ee038590d808a95d16adf92818dcd4752273c08; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < b37a168c0137156042a0ca9626651b5a789e822b; >= 5e1d4c49fbc86dab6e005d66f066bd53c9479cde, < 4987daf86c152ff882d51572d154ad12e4ff3a4b; Linux 5.12.

Is there a fix for CVE-2023-52877?

Yes. Fixed in Linux 9ee038590d808a95d16adf92818dcd4752273c08, Linux 4987daf86c152ff882d51572d154ad12e4ff3a4b. Upgrade Linux to 4987daf86c152ff882d51572d154ad12e4ff3a4b or later.

How do I check if I'm affected by CVE-2023-52877?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors