Skip to main content
Network Thinking Solutions Logo

CVE-2024-40903

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

All CVEs
CVE-2024-40903Published 7/12/2024

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

Vendor advisory
CVSS7.8High

Overview

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.

Published
7/12/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.1.61, < 6.1.95

Verify advisory

Source
linux kernel
linux
≥ 6.6.31, < 6.6.35

Verify advisory

Source
linux kernel
linux
≥ 6.9, < 6.9.6

Verify advisory

Source
linux kernel
linux
6.10

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ cfcd544a9974c6b6fb37ca385146e4796dcaf66d, < 4053696594d7235f3638d49a00cf0f289e4b36a3

Verify advisory

Source
Linux
Linux
≥ b16abab1fb645c4b7a86c357dc83a48cf21c2795, < 04c05d50fa79a41582f7bde8a1fd4377ae4a39e5

Verify advisory

Source
Linux
Linux
≥ 230ecdf71a644c9c73e0e6735b33173074ae3f94, < 6b67b652849faf108a09647c7fde9b179ef24e2b

Verify advisory

Source
Linux
Linux
≥ 230ecdf71a644c9c73e0e6735b33173074ae3f94, < e7e921918d905544500ca7a95889f898121ba886

Verify advisory

Source
Linux
Linux
931b5f302d6f7126dbd6879c42d3d6ca580be423

Verify advisory

Source
Linux
Linux
≥ 6.1.91, < 6.1.95

Verify advisory

Source
Linux
Linux
≥ 6.6.31, < 6.6.35

Verify advisory

Source
Linux
Linux
≥ 6.8.10, < 6.9

Verify advisory

Source
Linux
Linux
6.9

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.