CVE-2024-40903

Kernel use-after-free via stale source-capabilities pointer

Published Jul 12, 2024 · Updated May 23, 2026

Use-after-free in Linux USB Type-C TCPM allows attackers to leave a freed source-capability object reachable through invalid advertisements. In tcpm_register_source_caps(), the error path unregisters existing capabilities but leaves port->partner_source_caps pointing to the freed object when replacement registration fails. Reachability requires newly advertised invalid USB Power Delivery source capabilities and a registration failure; no demonstrated crash or code execution is documented.

CVSS severity5.2
Medium
EPSS probability0.28%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Use-after-free in Linux USB Type-C TCPM allows attackers to leave a freed source-capability object reachable through invalid advertisements. In tcpm_register_source_caps(), the error path unregisters existing capabilities but leaves port->partner_source_caps pointing to the freed object when replacement registration fails. Reachability requires newly advertised invalid USB Power Delivery source capabilities and a registration failure; no demonstrated crash or code execution is documented.

The record

CVE
CVE-2024-40903
Published
Jul 12, 2024
Updated
May 23, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-416
Attack vector
local
Privileges
admin

Timeline

How it unfolded

  1. Jul 12, 2024CVE publishedPublication date reported by the CVE source.
  2. May 23, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=230ecdf71a644c9c73e0e6735b33173074ae3f94 <6b67b652849faf108a09647c7fde9b179ef24e2b
  2. Affected versionversion=230ecdf71a644c9c73e0e6735b33173074ae3f94 <e7e921918d905544500ca7a95889f898121ba886
  3. Affected versionversion=6.1.91 <6.1.95
  4. Affected versionversion=6.6.31 <6.6.35
  5. Affected versionversion=6.8.10 <6.9
  6. Affected versionversion=6.9
  7. Affected versionversion=931b5f302d6f7126dbd6879c42d3d6ca580be423
  8. Affected versionversion=b16abab1fb645c4b7a86c357dc83a48cf21c2795 <04c05d50fa79a41582f7bde8a1fd4377ae4a39e5
  9. Affected versionversion=cfcd544a9974c6b6fb37ca385146e4796dcaf66d <4053696594d7235f3638d49a00cf0f289e4b36a3

What conditions does exploitation require?

Attack vectorlocal
Required privilegesadmin

What is affected?

The Linux Kernel Organization · Linuxversion=230ecdf71a644c9c73e0e6735b33173074ae3f94 <6b67b652849faf108a09647c7fde9b179ef24e2b; version=230ecdf71a644c9c73e0e6735b33173074ae3f94 <e7e921918d905544500ca7a95889f898121ba886; version=6.1.91 <6.1.95; version=6.6.31 <6.6.35; version=6.8.10 <6.9; version=6.9; version=931b5f302d6f7126dbd6879c42d3d6ca580be423; version=b16abab1fb645c4b7a86c357dc83a48cf21c2795 <04c05d50fa79a41582f7bde8a1fd4377ae4a39e5; version=cfcd544a9974c6b6fb37ca385146e4796dcaf66d <4053696594d7235f3638d49a00cf0f289e4b36a3

Published CVSS scores

5.2OracleCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 9, 2026Sep 15, 2026
Latest reporting daySep 15, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesadmin
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-416Use After Free

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo