CVE-2026-93068 PUBLISHED

drm/amd/display: Fix DM I2C teardown race

Assigner: Linux
Reserved: 17.09.2026 Published: 17.09.2026 Updated: 17.09.2026

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

drm/amd/display: Fix DM I2C teardown race

DM I2C adapters can remain visible to userspace while DM teardown is already in progress. A concurrent i2c-dev transfer may then enter amdgpu_dm_i2c_xfer() after the backing DM state has been torn down, leading to a NULL pointer dereference.

Create a devres group around the DM I2C adapter lifetime and release it at the start of dm_hw_fini(), before HPD, IRQ, and DM state are torn down. This removes the I2C adapters first and waits for in-flight users to drain before the structures used by amdgpu_dm_i2c_xfer() disappear.

This fixes a teardown ordering race seen during device removal:

BUG: kernel NULL pointer dereference RIP: amdgpu_dm_i2c_xfer+0x122/0x1c0 [amdgpu] Call Trace: __i2c_transfer i2c_transfer i2cdev_ioctl_rdwr

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 5b3eca05cfb02ed0dbd7097c056fb08ce5f76fe3 to 8ee385305e8902fa6fbfd66b5a112238292567b6 (excl.)
  • affected from 5b3eca05cfb02ed0dbd7097c056fb08ce5f76fe3 to 6970ec944567f109ac4240f9aea58158ee8a18cd (excl.)
  • affected from 5b3eca05cfb02ed0dbd7097c056fb08ce5f76fe3 to e4ae30a12aa95942814957d8bc1ce7366a7107d7 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.18 is affected
  • unaffected from 0 to 6.18 (excl.)
  • unaffected from 6.18.52 to 6.18.* (incl.)
  • unaffected from 7.2.6 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References