CVE-2024-40903 - CVE House
Back to Database
Status published Unknown CVE-2024-40903

usb: typec: tcpm: fix use-after-free case in tcpm_register_source_caps

Vulnerability Description

In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: fix use-after-free case in tcpm_register_source_caps There could be a potential use-after-free case in tcpm_register_source_caps(). This could happen when: * new (say invalid) source caps are advertised * the existing source caps are unregistered * tcpm_register_source_caps() returns with an error as usb_power_delivery_register_capabilities() fails This causes port->partner_source_caps to hold on to the now freed source caps. Reset port->partner_source_caps value to NULL after unregistering existing source caps.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-40903

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
cfcd544a9974c6b6fb37ca385146e4796dcaf66d, b16abab1fb645c4b7a86c357dc83a48cf21c2795, 230ecdf71a644c9c73e0e6735b33173074ae3f94, 931b5f302d6f7126dbd6879c42d3d6ca580be423, 6.1.91, 6.6.31, 6.8.10, 6.9, 0, 6.1.95, 6.6.35, 6.9.6, 6.10

Timeline

Official Publish: July 12th, 2024
Last Modified: May 23rd, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.