{"id":"CVE-2026-89983","aliases":["CVE-2026-89983"],"related":[],"kind":"vulnerability","state":"published","title":"i2c: core: fix debugfs UAF on adapter removal","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: core: fix debugfs UAF on adapter removal\n\ni2c_del_adapter() frees the adapter's debugfs directory before it\nunregisters the adapter device, but the new_device sysfs attribute\nstays writable until device_del(). A write racing with removal still\nreaches i2c_device_probe(), which passes the freed adap->debugfs to\ndebugfs_create_dir() as the new client's parent:\n\n  BUG: KASAN: slab-use-after-free in lookup_noperm_common+0x407/0x430\n  Read of size 4 at addr ffff88803ef87810 by task syz.0.61/6090\n   lookup_noperm_common+0x407/0x430\n   simple_start_creating+0x9c/0x110\n   debugfs_start_creating+0xdb/0x1a0\n   debugfs_create_dir+0x24/0x350\n   i2c_device_probe+0x814/0xbf0\n\nIt's technically possible to create a client after i2c_deregister_clients\nhas run. That client will never be unregistered and make\nwait_for_completion hang.\n\nClose the window by removing the new_device attribute at the start of\ni2c_del_adapter(). device_remove_file() will drain any clients left.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: core: fix debugfs UAF on adapter removal\n\ni2c_del_adapter() frees the adapter's debugfs directory before it\nunregisters the adapter device, but the new_device sysfs attribute\nstays writable until device_del(). A write racing with removal still\nreaches i2c_device_probe(), which passes the freed adap->debugfs to\ndebugfs_create_dir() as the new client's parent:\n\n  BUG: KASAN: slab-use-after-free in lookup_noperm_common+0x407/0x430\n  Read of size 4 at addr ffff88803ef87810 by task syz.0.61/6090\n   lookup_noperm_common+0x407/0x430\n   simple_start_creating+0x9c/0x110\n   debugfs_start_creating+0xdb/0x1a0\n   debugfs_create_dir+0x24/0x350\n   i2c_device_probe+0x814/0xbf0\n\nIt's technically possible to create a client after i2c_deregister_clients\nhas run. That client will never be unregistered and make\nwait_for_completion hang.\n\nClose the window by removing the new_device attribute at the start of\ni2c_del_adapter(). device_remove_file() will drain any clients left.","source":"cvelist"}],"published":"2026-09-16T10:32:59.461Z","modified":"2026-10-19T09:18:45.237Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0e8926abfd7aee220e44be5566affd7a8580b50e","fixed":"dc33a9762538b3250ed6b5644a4d44c748be33a6","status":"affected"},{"type":"git","introduced":"e2a268b0f512fb18ae5961b1fdfaf610ed6bd661","fixed":"1f1bcd4eca6caa3e4258d9a31925112539406eb6","status":"affected"},{"type":"git","introduced":"4a2be5a72865bdd219b2d8c327b9fa03e87a4a9e","fixed":"f9094ace03e0a532cc6505d2e97b61ae738da4ed","status":"affected"},{"type":"git","introduced":"73febd775bdbdb98c81255ff85773ac410ded5c4","fixed":"643fb872aa04342d27dbef52b2b3cf3fe71b2c7b","status":"affected"},{"type":"git","introduced":"73febd775bdbdb98c81255ff85773ac410ded5c4","fixed":"112b3d48084c820bbccf41d9783fd122e3ac4cb0","status":"affected"},{"type":"git","introduced":"73febd775bdbdb98c81255ff85773ac410ded5c4","fixed":"552836be2d95c688eede6371f85532abe1a71232","status":"affected"},{"type":"git","introduced":"73febd775bdbdb98c81255ff85773ac410ded5c4","fixed":"b15b548d52b43ba8ac4652bc2c7244a8dd1e9622","status":"affected"},{"type":"semver","introduced":"5.15.168","fixed":"5.15.221","status":"affected"},{"type":"semver","introduced":"6.1.113","fixed":"6.1.188","status":"affected"},{"type":"semver","introduced":"6.6.55","fixed":"6.6.157","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/dc33a9762538b3250ed6b5644a4d44c748be33a6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f1bcd4eca6caa3e4258d9a31925112539406eb6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9094ace03e0a532cc6505d2e97b61ae738da4ed","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/643fb872aa04342d27dbef52b2b3cf3fe71b2c7b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/112b3d48084c820bbccf41d9783fd122e3ac4cb0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/552836be2d95c688eede6371f85532abe1a71232","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b15b548d52b43ba8ac4652bc2c7244a8dd1e9622","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89983","url":"https://www.cve.org/CVERecord?id=CVE-2026-89983","licence":"CVE Terms of Use","modified":"2026-10-19T08:55:57.766Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89983","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89983","licence":"Public domain","modified":"2026-10-19T09:18:45.237Z"}],"updatedAt":"2026-11-25T22:59:39.002Z","epss":{"score":0.00211,"percentile":0.12091,"date":"2026-12-01T12:00:22.000Z"}}