{"api_version":"1","generated_at":"2026-11-05T22:58:06+00:00","cve":"CVE-2026-99001","urls":{"html":"https://cve.report/CVE-2026-99001","api":"https://cve.report/api/cve/CVE-2026-99001.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99001","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99001"},"summary":{"title":"drm/xe/i2c: cancel the client work on remove","description":"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 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)","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-23 13:17:22","updated_at":"2026-10-23 13:17:22"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/611857adc9e7b0ee1239a0baf38498922ca5a12e","name":"https://git.kernel.org/stable/c/611857adc9e7b0ee1239a0baf38498922ca5a12e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/175d654cd48320ad52d0f82dc3f4e3c063c3c5ca","name":"https://git.kernel.org/stable/c/175d654cd48320ad52d0f82dc3f4e3c063c3c5ca","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2efa187fd4c9b8d7edcae0c1acf46739ce39fd01","name":"https://git.kernel.org/stable/c/2efa187fd4c9b8d7edcae0c1acf46739ce39fd01","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99001","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99001","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f0e53aadd702c64b2c2090996751c9be043f9e80 2efa187fd4c9b8d7edcae0c1acf46739ce39fd01 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f0e53aadd702c64b2c2090996751c9be043f9e80 175d654cd48320ad52d0f82dc3f4e3c063c3c5ca git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f0e53aadd702c64b2c2090996751c9be043f9e80 611857adc9e7b0ee1239a0baf38498922ca5a12e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.58 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.11 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/xe/xe_i2c.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"2efa187fd4c9b8d7edcae0c1acf46739ce39fd01","status":"affected","version":"f0e53aadd702c64b2c2090996751c9be043f9e80","versionType":"git"},{"lessThan":"175d654cd48320ad52d0f82dc3f4e3c063c3c5ca","status":"affected","version":"f0e53aadd702c64b2c2090996751c9be043f9e80","versionType":"git"},{"lessThan":"611857adc9e7b0ee1239a0baf38498922ca5a12e","status":"affected","version":"f0e53aadd702c64b2c2090996751c9be043f9e80","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/xe/xe_i2c.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.17"},{"lessThan":"6.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.58","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.11","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.58","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.11","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"6.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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 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)"}],"providerMetadata":{"dateUpdated":"2026-10-23T12:20:21.753Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}],"title":"drm/xe/i2c: cancel the client work on remove","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99001","datePublished":"2026-10-23T12:20:21.753Z","dateReserved":"2026-09-25T10:25:14.385Z","dateUpdated":"2026-10-23T12:20:21.753Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-23 13:17:22","lastModifiedDate":"2026-10-23 13:17:22","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99001","Ordinal":"1","Title":"drm/xe/i2c: cancel the client work on remove","CVE":"CVE-2026-99001","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99001","Ordinal":"1","NoteData":"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 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)","Type":"Description","Title":"drm/xe/i2c: cancel the client work on remove"}]}}}