---
id: "CVE-2026-99001"
kind: "vulnerability"
aliases: ["CVE-2026-99001"]
title: "Linux kernel: Intel Xe I2C driver can use freed memory on removal"
severity: "unknown"
cvss: null
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["drm", "intel-xe", "linux-kernel", "other"]
not_affected_if: ["no-xe-driver"]
published_at: "2026-10-23T13:17:22+00:00"
first_seen_at: "2026-10-23T21:57:33+00:00"
updated_at: "2026-10-25T04:55:59+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99001", "first_seen_at": "2026-10-23T21:57:33+00:00"}]
---

# Linux kernel: Intel Xe I2C driver can use freed memory on removal

In the Linux kernel's Intel Xe graphics I2C support, a deferred work item is not cancelled when the device is removed, so it can run against a freed adapter or freed memory. The sources do not say what an attacker gets beyond a kernel memory-safety crash or corruption.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Run `uname -r` and check whether the running kernel includes commit a23f27d5ec11c3f418c5e5531eea34ccda2b5b20 (unknown from the sources how to confirm this for a distribution kernel)
- Check whether the Intel Xe graphics driver (drm/xe) with the I2C client support is loaded, for example with `lsmod | grep xe` (unknown whether this is the exact check the sources intend)

## Fix

- Update the Linux kernel to a release that includes commit a23f27d5ec11c3f418c5e5531eea34ccda2b5b20 (exact fixed version unknown from the sources)

## Timeline

- 2026-10-23T21:57:33+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-99001

## From the sources

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

drm/xe/i2c: cancel the client work on remove

xe_i2c_notifier() stores the DesignWare adapter in i2c->adapter and
schedules i2c->work when the adapter is registered under the xe I2C
platform device, and xe_i2c_client_work() then instantiates the AMC
client device on that adapter.

xe_i2c_remove() tears down the AMC, unregisters the client devices,
the bus notifier and the adapter platform device, but it never drains
i2c->work. A work item that is still queued or running when the
adapter is unregistered dereferences i2c->adapter in
i2c_new_client_device() after platform_device_unregister() has
released the adapter. The work item is also embedded in the
devm-allocated struct xe_i2c, so a work item still queued after the
drm device devm unwind frees that allocation runs its callback on
freed memory.

The bus notifier is the only thing that schedules this work, and it is
unregistered after the client devices. An instance that is still queued
when the teardown runs can therefore write
i2c->client[XE_I2C_CLIENT_AMC] while the loop is unregistering and
clearing the same array, and an AMC client it instantiates late is only
cleaned up by the adapter's own child sweep in i2c_del_adapter().

Move bus_unregister_notifier() in front of the client teardown loop
and cancel the work right after it, so no new instance can be
scheduled and a queued instance is drained before the client array is
touched. A running instance still finds a live adapter, since the
adapter is unregistered later.

(cherry picked from commit a23f27d5ec11c3f418c5e5531eea34ccda2b5b20)

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
