# CVE-2026-72485: coresight: platform: defer connection counter increment until alloc succeeds

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-08-15T05:57:22.170Z
- **Modified:** 2026-10-03T11:17:37.860Z

## Who should check

- Anyone running Linux \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< dd3c9e1c9858c797ba78f4ca6c0fc663eeac6d72; \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< aed6915c2f304ed34281856c53e374483c71b68b; \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< 09c44549820df67048be3ba19c723bac72ebb98e; \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< 8ca9adc805884d3bb5038082462577f86c2c4a10; \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< 1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae
- Anyone running Linux 6.5

## Description

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.

## Affected and fixed versions

- Linux: \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< dd3c9e1c9858c797ba78f4ca6c0fc663eeac6d72; \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< aed6915c2f304ed34281856c53e374483c71b68b; \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< 09c44549820df67048be3ba19c723bac72ebb98e; \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< 8ca9adc805884d3bb5038082462577f86c2c4a10; \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< 1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae (cvelist)
- Linux: 6.5 (cvelist)

## Mitigation

- Upgrade Linux to 1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72485. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72485.md
Affected: Linux >= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, < dd3c9e1c9858c797ba78f4ca6c0fc663eeac6d72; >= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, < aed6915c2f304ed34281856c53e374483c71b68b; >= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, < 09c44549820df67048be3ba19c723bac72ebb98e; >= 3d4ff657e454f8dba3e5e26…
Fixed in: Linux 09c44549820df67048be3ba19c723bac72ebb98e, Linux 8ca9adc805884d3bb5038082462577f86c2c4a10, Linux 1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72485 being exploited?

There is no confirmed exploitation: CVE-2026-72485 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-72485?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-72485?

Linux \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< dd3c9e1c9858c797ba78f4ca6c0fc663eeac6d72; \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< aed6915c2f304ed34281856c53e374483c71b68b; \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< 09c44549820df67048be3ba19c723bac72ebb98e; \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< 8ca9adc805884d3bb5038082462577f86c2c4a10; \>= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \< 1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae; Linux 6.5.

### Is there a fix for CVE-2026-72485?

Yes. Fixed in Linux 09c44549820df67048be3ba19c723bac72ebb98e, Linux 8ca9adc805884d3bb5038082462577f86c2c4a10, Linux 1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae. Upgrade Linux to 1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae or later.

### How do I check if I'm affected by CVE-2026-72485?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/dd3c9e1c9858c797ba78f4ca6c0fc663eeac6d72>
- other: <https://git.kernel.org/stable/c/aed6915c2f304ed34281856c53e374483c71b68b>
- other: <https://git.kernel.org/stable/c/09c44549820df67048be3ba19c723bac72ebb98e>
- other: <https://git.kernel.org/stable/c/8ca9adc805884d3bb5038082462577f86c2c4a10>
- other: <https://git.kernel.org/stable/c/1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72485>

HTML: <https://flawdb.com/CVE-2026-72485> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72485>
