CVE-2026-72485

Source
https://cve.org/CVERecord?id=CVE-2026-72485
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72485.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72485
Downstream
Published
2026-08-15T05:57:22.170Z
Modified
2026-08-18T03:56:27.266656444Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
coresight: platform: defer connection counter increment until alloc succeeds
Details

In the Linux kernel, the following vulnerability has been resolved:

coresight: platform: defer connection counter increment until alloc succeeds

coresightaddoutconn() increments nroutconns before calling devmkreallocarray() and again before devm_kmalloc(). If either allocation fails, the counter is already bumped while the corresponding array entry is NULL or uninitialized garbage.

coresightaddinconn() has the same problem with nrinconns and devmkreallocarray().

In both cases the probe returns -ENOMEM, which causes coresightgetplatformdata() to call coresightreleaseplatformdata() for cleanup. That function iterates up to nroutconns (or nrinconns) 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72485.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3d4ff657e454f8dba3e5e268e731e6e28c6031c1
Fixed
8ca9adc805884d3bb5038082462577f86c2c4a10
Fixed
1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72485.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.5.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72485.json"