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

net: mctp: hold a reference to the route device in mctp_route_lookup()

mctp_route_lookup() uses rt->dev without holding a reference on it.
mctp_route_lookup_single() returns the route under RCU only, so the
route's device can be torn down concurrently: mctp_dev_put() drops the
last reference and synchronously kfree()s mdev->addrs. mctp_dev_saddr()
then reads rt->dev->addrs[0], giving a use-after-free reachable by an
unprivileged local AF_MCTP user on the receive/forwarding path (no
CAP_NET_RAW required):

BUG: KASAN: slab-use-after-free in mctp_route_lookup
Read of size 1 at addr ... by task mctp_uaf/...
mctp_route_lookup
mctp_pkttype_receive
Freed by task ...:
kfree
mctp_dev_put
mctp_dev_notify

In the same window mctp_dst_from_route() -> mctp_dev_hold() also
increments a refcount that has already reached zero
("refcount_t: addition on 0 ... mctp_dev_hold").

This reintroduces the use-after-free class of CVE-2023-3439: the source
address lookup was moved ahead of the point where the destination takes
its device reference.

Take a reference with refcount_inc_not_zero() before touching rt->dev,
skip a device that is already dead, and drop the reference once the
destination has taken its own.
Published: 2026-09-11
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Use-After-Free
Action: Apply Patch
AI Analysis

Impact

The Linux kernel kernel omits a reference count check when accessing the route device in mctp_route_lookup(), allowing the device to be freed while still being accessed. An unprivileged local user can trigger this flaw by sending specially crafted packets over the AF_MCTP protocol, causing a use-after-free that may result in kernel memory corruption, a crash, or potentially arbitrary code execution. The weakness is a classic use‑after‑free (CWE‑825).

Affected Systems

This issue affects all Linux kernel builds that include the mctp networking code and that have not incorporated the recent commit that adds proper reference handling. The vendor is Linux; the product is the Linux kernel. No specific version numbers are supplied, but any kernel before the fix that contains the vulnerable code path is potentially vulnerable, so kernel changelogs or the vendor’s advisories should be consulted to determine exact version coverage.

Risk and Exploitability

The CVSS score of 4.7 indicates moderate severity, and the EPSS score is currently unavailable; the vulnerability is not listed in CISA’s KEV catalog. The exploit requires a local, unprivileged user with the ability to create AF_MCTP sockets, which is common in embedded or automotive system contexts. The attack path is straightforward: send a triggering packet that dereferences a freed device, producing a use‑after‑free that can crash the system or allow code execution. Because no special privileges are required, all users of the affected kernel are at risk if the flaw remains unfixed.

Generated by OpenCVE AI on September 12, 2026 at 01:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that contains the reference‑counting fix, which is documented by the commit referenced in the advisory.
  • If an immediate kernel upgrade is not possible, unload or blacklist the mctp kernel module to prevent AF_MCTP traffic, thereby eliminating the code path that can be abused.
  • If mctp functionality is essential, consider restricting or filtering AF_MCTP traffic at the system or network level to reduce the chance of triggering the flaw.

Generated by OpenCVE AI on September 12, 2026 at 01:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 13 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 12 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: mctp: hold a reference to the route device in mctp_route_lookup() mctp_route_lookup() uses rt->dev without holding a reference on it. mctp_route_lookup_single() returns the route under RCU only, so the route's device can be torn down concurrently: mctp_dev_put() drops the last reference and synchronously kfree()s mdev->addrs. mctp_dev_saddr() then reads rt->dev->addrs[0], giving a use-after-free reachable by an unprivileged local AF_MCTP user on the receive/forwarding path (no CAP_NET_RAW required): BUG: KASAN: slab-use-after-free in mctp_route_lookup Read of size 1 at addr ... by task mctp_uaf/... mctp_route_lookup mctp_pkttype_receive Freed by task ...: kfree mctp_dev_put mctp_dev_notify In the same window mctp_dst_from_route() -> mctp_dev_hold() also increments a refcount that has already reached zero ("refcount_t: addition on 0 ... mctp_dev_hold"). This reintroduces the use-after-free class of CVE-2023-3439: the source address lookup was moved ahead of the point where the destination takes its device reference. Take a reference with refcount_inc_not_zero() before touching rt->dev, skip a device that is already dead, and drop the reference once the destination has taken its own.
Title net: mctp: hold a reference to the route device in mctp_route_lookup()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-13T06:28:58.816Z

Reserved: 2026-08-26T14:34:25.812Z

Link: CVE-2026-80995

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T20:19:06.497

Modified: 2026-09-13T07:17:06.230

Link: CVE-2026-80995

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-11T19:42:50Z

Links: CVE-2026-80995 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-12T09:45:11Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference