Skip to main content
Vulnerability Database/CVE-2026-98018

CVE-2026-98018: Linux Kernel MCTP I3C Race Condition Flaw

CVE-2026-98018 is a race condition flaw in the Linux kernel MCTP I3C subsystem that can cause use-after-free errors during device probe. This article covers the technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98018 Overview

CVE-2026-98018 is a race condition in the Linux kernel's Management Component Transport Protocol (MCTP) over Improved Inter-Integrated Circuit (I3C) subsystem. The mctp_i3c_probe() function releases the busdevs_lock after locating a matching bus but before registering the device. A concurrent I3C_NOTIFY_BUS_REMOVE event can unregister and free the bus netdev during this window. The probe path then passes freed private data to mctp_i3c_add_device(), which inserts a list node through a dangling mbus pointer. The flaw has been resolved upstream by holding busdevs_lock until the device registration completes.

Critical Impact

Concurrent bus removal during MCTP I3C device probe can trigger a use-after-free in kernel memory, enabling kernel memory corruption and potential denial of service on affected Linux systems.

Affected Products

  • Linux kernel branches containing the net/mctp/i3c driver prior to the fix
  • Stable kernel trees receiving backports via commits 2b4707a149, 765c5e357e, 906d8dba, and e6541b27
  • Distributions shipping unpatched kernels with MCTP over I3C enabled

Discovery Timeline

  • 2026-09-25 - CVE-2026-98018 published to the National Vulnerability Database (NVD)
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-98018

Vulnerability Analysis

The defect lives in the kernel's MCTP transport binding for I3C buses. During device probe, mctp_i3c_probe() walks the registered bus list under busdevs_lock to find a bus matching the incoming I3C device. After locating the match, it drops the lock before calling mctp_i3c_add_device() to attach the new device to that bus.

This unlocked window creates a race against the I3C notifier chain. When the subsystem fires I3C_NOTIFY_BUS_REMOVE for the same bus, the removal handler unregisters the backing network device and frees the mbus structure. If removal completes before mctp_i3c_add_device() runs, the probe proceeds with a stale pointer and performs a list_add through freed memory.

The result is a classic use-after-free in kernel address space, with heap corruption occurring at the moment the probe writes list pointers into the released allocation. The upstream fix keeps busdevs_lock held across the add operation, which also satisfies the pre-existing __must_hold lockdep annotation on mctp_i3c_add_device().

Root Cause

The root cause is improper lock scoping between concurrent code paths. The locking contract required busdevs_lock to be held during device addition, but mctp_i3c_probe() violated that contract by releasing the lock early. The lifecycle of the bus pointer was not serialized against the bus removal notifier.

Attack Vector

Triggering the race requires the ability to initiate I3C device probe and bus removal events concurrently on a system with MCTP over I3C configured. Exploitation is local and depends on precise timing between the probe path and the I3C_NOTIFY_BUS_REMOVE handler. Successful exploitation corrupts kernel heap state and can crash the system or enable follow-on kernel memory manipulation.

No verified public proof-of-concept code is available. See the upstream patches for implementation details: Kernel Git Commit 2b4707a149, Kernel Git Commit 765c5e357e, Kernel Git Commit 906d8dba, and Kernel Git Commit e6541b27.

Detection Methods for CVE-2026-98018

Indicators of Compromise

  • Kernel oops or panic logs referencing mctp_i3c_add_device, mctp_i3c_probe, or list corruption warnings during I3C bus hotplug events
  • KASAN use-after-free reports naming the MCTP I3C driver on kernels built with address sanitizer
  • Unexpected netdev unregister events coinciding with new I3C device probes in dmesg

Detection Strategies

  • Audit running kernel versions across the fleet and compare against patched stable release tags that include the upstream commits
  • Enable KASAN and lockdep in test environments exercising MCTP I3C workloads to surface the race before production rollout
  • Monitor kernel ring buffer telemetry for list_add corruption or general protection fault messages tied to the MCTP subsystem

Monitoring Recommendations

  • Forward dmesg and kernel audit logs to a centralized analytics backend for correlation of crash signatures
  • Track I3C hotplug and MCTP module load events on systems where this transport is enabled
  • Alert on repeated kernel crashes on the same host, which may indicate active exploitation attempts rather than hardware faults

How to Mitigate CVE-2026-98018

Immediate Actions Required

  • Apply the stable kernel update that includes commits 2b4707a149, 765c5e357e, 906d8dba, or e6541b27 as appropriate for your branch
  • Prioritize patching on systems that enable the mctp_i3c driver, particularly baseboard management and server platforms using MCTP over I3C
  • Restrict local access and privileged operations on affected hosts until kernels are updated

Patch Information

The fix retains busdevs_lock across the call to mctp_i3c_add_device(), serializing probe against bus removal and matching the __must_hold annotation. Review the upstream patches linked under Technical Details and apply the backport that matches your kernel branch.

Workarounds

  • Unload or disable the mctp_i3c kernel module on systems that do not require MCTP over I3C transport
  • Blacklist the module via /etc/modprobe.d/ to prevent automatic loading at boot
  • Avoid concurrent I3C device add and bus removal operations on unpatched hosts
bash
# Disable mctp_i3c module loading on unpatched systems
echo 'blacklist mctp_i3c' | sudo tee /etc/modprobe.d/blacklist-mctp-i3c.conf
sudo modprobe -r mctp_i3c 2>/dev/null || true
sudo update-initramfs -u

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.