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

A flaw in the Linux kernel route device handling does not hold a reference to the device, allowing the device to be freed while still in use. This use‑after‑free can be triggered by an unprivileged local user sending specially crafted packets over AF_MCTP, leading to kernel memory corruption, abrupt system crash, or potentially enabling arbitrary code execution in kernel mode. 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 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. Kernel changelogs or vendor advisories should be consulted to determine exact version coverage.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity. The EPSS score of < 1% signals a very low but non‑zero exploitation probability. The flaw is not listed in CISA KEV catalog. An attacker is an unprivileged local user on a system that supports AF_MCTP. By sending malicious packets that dereference a freed device, the attacker can trigger a use‑after‑free that may crash the system or, with a crafted payload, allow execution of code in kernel mode. Because no special privileges are required, any local user on a vulnerable kernel faces this risk if AF_MCTP traffic is allowed.

Generated by OpenCVE AI on September 21, 2026 at 02:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

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.
  • Filter AF_MCTP traffic at the system or network level to prevent exploitation.

Generated by OpenCVE AI on September 21, 2026 at 02:44 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-21T02:45:08Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference