rootpwn

high · CVSS v3 7.1

CVE-2026-98018

A use-after-free vulnerability exists in the Linux kernel MCTP over I3C driver. It occurs when an I3C bus removal event races with device pr

Overview

A use-after-free vulnerability exists in the Linux kernel MCTP over I3C driver. It occurs when an I3C bus removal event races with device probing, allowing a freed bus pointer to be used. This matters because kernel memory corruption can affect system stability and security.

Description

In the Linux kernel, the following vulnerability has been resolved: net: mctp: i3c: serialize probe with bus removal mctp_i3c_probe() drops busdevs_lock after finding the matching bus. A concurrent I3C_NOTIFY_BUS_REMOVE can then unregister and free the bus netdev before probe passes its private data to mctp_i3c_add_device(). The latter consequently adds a list node through a freed mbus pointer. Keep busdevs_lock held until the device has been added. This also satisfies the __must_hold annotation on mctp_i3c_add_device().

Impact

The flaw can corrupt kernel memory during a race between MCTP I3C probe and I3C bus removal. This may lead to denial of service or, in some environments, privilege escalation. Confidentiality and integrity may be affected if an attacker can influence I3C bus events or device attachment. Primary impact is on hosts with MCTP over I3C enabled, including embedded, management, or I3C-connected systems.

Remediation

Apply a kernel update containing the fix that keeps busdevs_lock held until the MCTP I3C device is fully added. If patching is delayed, disable the MCTP I3C driver or MCTP over I3C support if not required. Restrict physical and logical access to I3C buses and management interfaces. Monitor kernel logs for MCTP, I3C, or memory-corruption errors and apply vendor-provided kernel or firmware updates.

Risk context

Severity is high with CVSS v3 7.1, and no EPSS score is provided. Priority should be higher in environments where MCTP over I3C is enabled or where I3C bus events can be influenced. If MCTP I3C is not used, exposure is lower.

Affected products

  • Linux kernel
  • Linux MCTP I3C driver
  • Systems using MCTP over I3C

Scores

Severity
high
CVSS v2
5.6
CVSS v3
7.1
CVSS v4
—
EPSS
—

linux-kernel use-after-free mctp i3c race-condition memory-corruption

← All CVEs