CVE-2026-72485 (GCVE-0-2026-72485)
Vulnerability from cvelistv5 – Published: 2026-08-15 05:57 – Updated: 2026-09-21 13:13
VLAI
EPSS
VEX
Title
coresight: platform: defer connection counter increment until alloc succeeds
Summary
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.
Severity
7.8 (High)
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
3d4ff657e454f8dba3e5e268e731e6e28c6031c1 , < aed6915c2f304ed34281856c53e374483c71b68b
(git)
Affected: 3d4ff657e454f8dba3e5e268e731e6e28c6031c1 , < 09c44549820df67048be3ba19c723bac72ebb98e (git) Affected: 3d4ff657e454f8dba3e5e268e731e6e28c6031c1 , < 8ca9adc805884d3bb5038082462577f86c2c4a10 (git) Affected: 3d4ff657e454f8dba3e5e268e731e6e28c6031c1 , < 1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae (git) |
guessed | |
| Linux | Linux |
Affected:
6.5
Unaffected: 0 , < 6.5 (semver) Unaffected: 6.12.111 , ≤ 6.12.* (semver) Unaffected: 6.18.53 , ≤ 6.18.* (semver) Unaffected: 7.1.5 , ≤ 7.1.* (semver) Unaffected: 7.2 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/hwtracing/coresight/coresight-platform.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "aed6915c2f304ed34281856c53e374483c71b68b",
"status": "affected",
"version": "3d4ff657e454f8dba3e5e268e731e6e28c6031c1",
"versionType": "git"
},
{
"lessThan": "09c44549820df67048be3ba19c723bac72ebb98e",
"status": "affected",
"version": "3d4ff657e454f8dba3e5e268e731e6e28c6031c1",
"versionType": "git"
},
{
"lessThan": "8ca9adc805884d3bb5038082462577f86c2c4a10",
"status": "affected",
"version": "3d4ff657e454f8dba3e5e268e731e6e28c6031c1",
"versionType": "git"
},
{
"lessThan": "1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae",
"status": "affected",
"version": "3d4ff657e454f8dba3e5e268e731e6e28c6031c1",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/hwtracing/coresight/coresight-platform.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.5"
},
{
"lessThan": "6.5",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.111",
"versionStartIncluding": "6.5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.53",
"versionStartIncluding": "6.5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.5",
"versionStartIncluding": "6.5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "6.5",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncoresight: platform: defer connection counter increment until alloc succeeds\n\ncoresight_add_out_conn() increments nr_outconns before calling\ndevm_krealloc_array() and again before devm_kmalloc(). If either\nallocation fails, the counter is already bumped while the corresponding\narray entry is NULL or uninitialized garbage.\n\ncoresight_add_in_conn() has the same problem with nr_inconns and\ndevm_krealloc_array().\n\nIn both cases the probe returns -ENOMEM, which causes\ncoresight_get_platform_data() to call coresight_release_platform_data()\nfor cleanup. That function iterates up to nr_outconns (or nr_inconns)\nentries and dereferences each pointer unconditionally, hitting the NULL\nor garbage entry and panicking instead of failing gracefully.\n\nFix by moving the counter increments to after all allocations succeed,\nso the struct is always consistent on any error path."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - The flaw is in ARM CoreSight platform driver probe (coresight_get_platform_data/coresight_add_out_conn) while parsing firmware DT/ACPI connection graphs during local device initialization; there is no network, Bluetooth, or physical-bus path to this code.\nAC:L - An attacker can reliably force devm_kmalloc/devm_krealloc failure via memory exhaustion and time it with deferred CoreSight probe retries; success does not depend on uncontrollable layout or victim state beyond attacker-driven memory pressure.\nPR:L - Only a local unprivileged process is needed to exhaust memory; CoreSight drivers commonly reprobe after -EPROBE_DEFER once dependencies appear, so no init-namespace root, CAP_SYS_MODULE, or CAP_NET_ADMIN is required to reach the failing cleanup path.\nUI:N - No victim interaction is required; the attacker alone can create memory pressure and rely on automatic deferred driver reprobe without anyone mounting devices, opening files, or clicking prompts.\nS:U - Impact is a kernel panic and in-kernel memory corruption within the same kernel security authority; CoreSight is an on-chip trace/debug subsystem and this is not a VM escape, IOMMU bypass, or sandbox boundary crossing.\nC:H - If krealloc succeeds but the connection kmalloc fails, nr_outconns is already inflated while out_conns contains an uninitialized garbage pointer; coresight_release_platform_data() unconditionally dereferences conns[i]-\u003edest_fwnode, enabling arbitrary kernel memory reads before panic.\nI:H - Error cleanup calls fwnode_handle_put() and devm_kfree() on NULL or garbage connection pointers, corrupting kernel refcount/heap metadata and creating exploitable write primitives beyond a benign NULL dereference crash.\nA:H - The inconsistent nr_outconns counter makes coresight_release_platform_data() dereference NULL or garbage entries during probe error cleanup, causing a kernel oops/panic and total system unavailability on affected ARM/ARM64 platforms (phones, embedded, automotive, cloud)."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-09-21T13:13:52.386Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/aed6915c2f304ed34281856c53e374483c71b68b"
},
{
"url": "https://git.kernel.org/stable/c/09c44549820df67048be3ba19c723bac72ebb98e"
},
{
"url": "https://git.kernel.org/stable/c/8ca9adc805884d3bb5038082462577f86c2c4a10"
},
{
"url": "https://git.kernel.org/stable/c/1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae"
}
],
"title": "coresight: platform: defer connection counter increment until alloc succeeds",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-72485",
"datePublished": "2026-08-15T05:57:22.170Z",
"dateReserved": "2026-08-09T03:40:39.935Z",
"dateUpdated": "2026-09-21T13:13:52.386Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-72485",
"date": "2026-10-01",
"epss": "0.00175",
"percentile": "0.06281"
},
"microsoft_vex": {
"current_release_date": "2026-08-23T15:03:08.000Z",
"cve": "CVE-2026-72485",
"id": "msrc_CVE-2026-72485",
"initial_release_date": "2026-08-23T15:03:08.000Z",
"product_status:known_not_affected": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "coresight: platform: defer connection counter increment until alloc succeeds",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-72485.json",
"version": "1"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/hwtracing/coresight/coresight-platform.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "aed6915c2f304ed34281856c53e374483c71b68b",
"status": "affected",
"version": "3d4ff657e454f8dba3e5e268e731e6e28c6031c1",
"versionType": "git"
},
{
"lessThan": "09c44549820df67048be3ba19c723bac72ebb98e",
"status": "affected",
"version": "3d4ff657e454f8dba3e5e268e731e6e28c6031c1",
"versionType": "git"
},
{
"lessThan": "8ca9adc805884d3bb5038082462577f86c2c4a10",
"status": "affected",
"version": "3d4ff657e454f8dba3e5e268e731e6e28c6031c1",
"versionType": "git"
},
{
"lessThan": "1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae",
"status": "affected",
"version": "3d4ff657e454f8dba3e5e268e731e6e28c6031c1",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/hwtracing/coresight/coresight-platform.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.5"
},
{
"lessThan": "6.5",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncoresight: platform: defer connection counter increment until alloc succeeds\n\ncoresight_add_out_conn() increments nr_outconns before calling\ndevm_krealloc_array() and again before devm_kmalloc(). If either\nallocation fails, the counter is already bumped while the corresponding\narray entry is NULL or uninitialized garbage.\n\ncoresight_add_in_conn() has the same problem with nr_inconns and\ndevm_krealloc_array().\n\nIn both cases the probe returns -ENOMEM, which causes\ncoresight_get_platform_data() to call coresight_release_platform_data()\nfor cleanup. That function iterates up to nr_outconns (or nr_inconns)\nentries and dereferences each pointer unconditionally, hitting the NULL\nor garbage entry and panicking instead of failing gracefully.\n\nFix by moving the counter increments to after all allocations succeed,\nso the struct is always consistent on any error path."
}
],
"id": "CVE-2026-72485",
"lastModified": "2026-09-21T14:17:17.783",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 5.9,
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary"
}
]
},
"published": "2026-08-15T06:22:22.767",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/09c44549820df67048be3ba19c723bac72ebb98e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/8ca9adc805884d3bb5038082462577f86c2c4a10"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/aed6915c2f304ed34281856c53e374483c71b68b"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Low",
"current_release_date": "2026-09-01T10:42:39+00:00",
"cve": "CVE-2026-72485",
"id": "CVE-2026-72485",
"initial_release_date": "2026-08-15T00:00:00+00:00",
"product_status:known_not_affected": "274",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: coresight: platform: defer connection counter increment until alloc succeeds",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72485.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "moderate",
"current_release_date": "2026-09-22T16:37:42Z",
"cve": "CVE-2026-72485",
"id": "CVE-2026-72485",
"initial_release_date": "2026-08-27T00:23:27Z",
"product_status:first_fixed": "60",
"product_status:known_affected": "29",
"product_status:known_not_affected": "333",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2026-72485",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-72485.json",
"version": "5"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…