{"id":"CVE-2026-99001","title":"drm/xe/i2c: cancel the client work on remove","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe/i2c: cancel the client work on remove\n\nxe_i2c_notifier() stores the DesignWare adapter in i2c->adapter and\nschedules i2c->work when the adapter is registered und…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= f0e53aadd702c64b2c2090996751c9be043f9e80 < 2efa187fd4c9b8d7edcae0c1acf46739ce39fd01","Linux >= f0e53aadd702c64b2c2090996751c9be043f9e80 < 175d654cd48320ad52d0f82dc3f4e3c063c3c5ca","Linux >= f0e53aadd702c64b2c2090996751c9be043f9e80 < 611857adc9e7b0ee1239a0baf38498922ca5a12e","Linux 6.17"],"published":"2026-10-23","updated":"2026-10-23","sourceUpdated":"2026-10-23T12:20:21.753Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99001","references":[{"url":"https://git.kernel.org/stable/c/2efa187fd4c9b8d7edcae0c1acf46739ce39fd01"},{"url":"https://git.kernel.org/stable/c/175d654cd48320ad52d0f82dc3f4e3c063c3c5ca"},{"url":"https://git.kernel.org/stable/c/611857adc9e7b0ee1239a0baf38498922ca5a12e"}],"tags":["cve.org"],"ingestedAt":"2026-10-23T13:24:55.546Z","slug":"CVE-2026-99001","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe/i2c: cancel the client work on remove\n\nxe_i2c_notifier() stores the DesignWare adapter in i2c->adapter and\nschedules i2c->work when the adapter is registered under the xe I2C\nplatform device, and xe_i2c_client_work() then instantiates the AMC\nclient device on that adapter.\n\nxe_i2c_remove() tears down the AMC, unregisters the client devices,\nthe bus notifier and the adapter platform device, but it never drains\ni2c->work. A work item that is still queued or running when the\nadapter is unregistered dereferences i2c->adapter in\ni2c_new_client_device() after platform_device_unregister() has\nreleased the adapter. The work item is also embedded in the\ndevm-allocated struct xe_i2c, so a work item still queued after the\ndrm device devm unwind frees that allocation runs its callback on\nfreed memory.\n\nThe bus notifier is the only thing that schedules this work, and it is\nunregistered after the client devices. An instance that is still queued\nwhen the teardown runs can therefore write\ni2c->client[XE_I2C_CLIENT_AMC] while the loop is unregistering and\nclearing the same array, and an AMC client it instantiates late is only\ncleaned up by the adapter's own child sweep in i2c_del_adapter().\n\nMove bus_unregister_notifier() in front of the client teardown loop\nand cancel the work right after it, so no new instance can be\nscheduled and a queued instance is drained before the client array is\ntouched. A running instance still finds a live adapter, since the\nadapter is unregistered later.\n\n(cherry picked from commit a23f27d5ec11c3f418c5e5531eea34ccda2b5b20)\n\n## Affected\n\n- `Linux >= f0e53aadd702c64b2c2090996751c9be043f9e80 < 2efa187fd4c9b8d7edcae0c1acf46739ce39fd01`\n- `Linux >= f0e53aadd702c64b2c2090996751c9be043f9e80 < 175d654cd48320ad52d0f82dc3f4e3c063c3c5ca`\n- `Linux >= f0e53aadd702c64b2c2090996751c9be043f9e80 < 611857adc9e7b0ee1239a0baf38498922ca5a12e`\n- `Linux 6.17`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}