7.8

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

Modified
AliasesUBUNTU-CVE-2024-40903DEBIAN-CVE-2024-40903
Published 12-07-2024Last modified 23-05-2026

Vulnerability summary

CVE-2024-40903 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 20.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.28%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 18 · Related 15

Timeline

  1. 12-07-2024
    PublishedVulnerability first disclosed.
  2. 23-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

21%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.28% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu84 products
  • linux< 6.8.0-44.44
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 6.8.0-1015.16
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ cfcd544a9974c6b6fb37ca385146e4796dcaf66d, < 4053696594d7235f3638d49a00cf0f289e4b36a3 | ≥ b16abab1fb645c4b7a86c357dc83a48cf21c2795, < 04c05d50fa79a41582f7bde8a1fd4377ae4a39e5 | ≥ 230ecdf71a644c9c73e0e6735b33173074ae3f94, < 6b67b652849faf108a09647c7fde9b179ef24e2b | ≥ 230ecdf71a644c9c73e0e6735b33173074ae3f94, < e7e921918d905544500ca7a95889f898121ba886 | 931b5f302d6f7126dbd6879c42d3d6ca580be423 | ≥ 6.1.91, < 6.1.95 | ≥ 6.6.31, < 6.6.35 | ≥ 6.8.10, < 6.9 | 6.9
  • linux_kernel≥ 6.1.61, < 6.1.95 | ≥ 6.6.31, < 6.6.35 | ≥ 6.9, < 6.9.6 | 6.10:rc1 | 6.10:rc2 | 6.10:rc3
Debian1 product
  • linux< 6.1.99-1 | < 6.9.7-1

3 vendors · 87 products

References

16 links
Show all 16 references