Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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 f

Announced Group revision 1
Original source ↗

CVE-2026-99001

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-99001

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "f0e53aadd702c64b2c2090996751c9be043f9e80",
        "lessThan": "2efa187fd4c9b8d7edcae0c1acf46739ce39fd01",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f0e53aadd702c64b2c2090996751c9be043f9e80",
        "lessThan": "175d654cd48320ad52d0f82dc3f4e3c063c3c5ca",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f0e53aadd702c64b2c2090996751c9be043f9e80",
        "lessThan": "611857adc9e7b0ee1239a0baf38498922ca5a12e",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/xe/xe_i2c.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.17"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.17",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.58",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.11",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/xe/xe_i2c.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-99001

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#52844 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement