CVE-2026-72485
coresight: platform: defer connection counter increment until alloc succeeds
Check your servers for CVE-2026-72485
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-72485 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.40% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, before dd3c9e1c9858c797ba78f4ca6c0fc663eeac6d72 affected from 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, before aed6915c2f304ed34281856c53e374483c71b68b affected from 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, before 09c44549820df67048be3ba19c723bac72ebb98e affected from 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, before 8ca9adc805884d3bb5038082462577f86c2c4a10 affected from 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, before 1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae
Other versions: unaffected
|
| Linux |
affected 6.5 unaffected before 6.5 unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.1.5 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-72485 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72485
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-72485
trivy image --scanners vuln IMAGE | grep CVE-2026-72485
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/dd3c9e1c9858c797ba78f4ca6c0fc663eeac6d72 git.kernel.org
- https://git.kernel.org/stable/c/aed6915c2f304ed34281856c53e374483c71b68b git.kernel.org
- https://git.kernel.org/stable/c/09c44549820df67048be3ba19c723bac72ebb98e git.kernel.org
- https://git.kernel.org/stable/c/8ca9adc805884d3bb5038082462577f86c2c4a10 git.kernel.org
- https://git.kernel.org/stable/c/1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae git.kernel.org
Source: the record CVE-2026-72485 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse