CVE-2026-72485
coresight: platform: defer connection counter increment until alloc succeeds
Reported by linux · Published August 15, 2026
In the Linux kernel, the following vulnerability has been resolved: coresight: platform: defer connection counter increment until alloc succeeds coresight_add_out_conn() increments nr_outconns before calling devm_krealloc_array() and again before devm_kmalloc(). If either allocation fails, the counter is already bumped while the corresponding array entry is NULL or uninitialized garbage. coresight_add_in_conn() has the same problem with nr_inconns and devm_krealloc_array(). In both cases the probe returns -ENOMEM, which causes coresight_get_platform_data() to call coresight_release_platform_data() for cleanup. That function iterates up to nr_outconns (or nr_inconns) entries and dereferences each pointer unconditionally, hitting the NULL or garbage entry and panicking instead of failing gracefully. Fix by moving the counter increments to after all allocations succeed, so the struct is always consistent on any error path.
EPSS 0.17% · 6.2th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | 8ca9adc805884d3bb5038082462577f86c2c4a10, 1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, 3d4ff657e454f8dba3e5e268e731e6e28c6031c1 |
| Linux | Linux | 6.5, 0, 6.6.158 |
| Linux | Linux | 6.6.158, 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, 3d4ff657e454f8dba3e5e268e731e6e28c6031c1 |
| linux | linux_kernel | 6.5, 6.5, 6.5 |
Timeline
- Aug 15, 2026 Coalition ESS Score
- Aug 15, 2026 CVE Published
- Aug 19, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (10 in total, the first dated here)
- Oct 3, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-72485
vulnetix vdb fixes CVE-2026-72485
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72485/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart