{"id":"CVE-2026-74461","state":"PUBLISHED","title":"i2c: imx: Cancel hrtimer before clearing slave pointer","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: imx: Cancel hrtimer before clearing slave pointer\n\nIn i2c_imx_unreg_slave(), the slave pointer is set to NULL after\ndisabling interrupts.  However, a pending interrupt might already\nhave started the hrtimer (i2c_imx_slave_timeout) before the pointer\nwas cleared.  If the hrtimer fires after i2c_imx->slave is set to\nNULL, the timer callback i2c_imx_slave_finish_op() will call\ni2c_imx_slave_event() with a NULL slave pointer, which results in a\nuse-after-free / NULL pointer dereference.\n\nFix by canceling the hrtimer and waiting for it to complete after\ndisabling interrupts, before clearing the slave pointer.","publishedAt":"2026-08-15T12:27:01.924Z","updatedAt":"2026-10-16T19:05:47.029Z","severity":{"score":8.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"e3da77bdb4015051656bb472c295656bbea03b6f","versionType":"git"},{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"470fe15fb3bb2eba6629be301ca7e991ee3cfb7e","versionType":"git"},{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"a8a1f9ac3d763e721586f15479ef9140b216ddf3","versionType":"git"},{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"753060f2b77ff2f386addbd3ecadb95b9f90cddd","versionType":"git"},{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"affd62f5719a78135b7441aa49c8cab3c3b5e838","versionType":"git"},{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"dab4762ee7f3fd0a01980d5407ba48d0261d3bff","versionType":"git"},{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"6ac7702b6cc2b94aaed9ef2d95bfbefcdc90061f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/i2c/busses/i2c-imx.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.151","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.103","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.44","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.8","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/i2c/busses/i2c-imx.c"]}],"references":["https://git.kernel.org/stable/c/e3da77bdb4015051656bb472c295656bbea03b6f","https://git.kernel.org/stable/c/470fe15fb3bb2eba6629be301ca7e991ee3cfb7e","https://git.kernel.org/stable/c/a8a1f9ac3d763e721586f15479ef9140b216ddf3","https://git.kernel.org/stable/c/753060f2b77ff2f386addbd3ecadb95b9f90cddd","https://git.kernel.org/stable/c/affd62f5719a78135b7441aa49c8cab3c3b5e838","https://git.kernel.org/stable/c/dab4762ee7f3fd0a01980d5407ba48d0261d3bff","https://git.kernel.org/stable/c/6ac7702b6cc2b94aaed9ef2d95bfbefcdc90061f"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/74xxx/CVE-2026-74461.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74461","state":"PUBLISHED","datePublished":"2026-08-15T12:27:01.924Z","dateUpdated":"2026-10-16T19:05:47.029Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-15T05:44:03.901Z"},"containers":{"cna":{"title":"i2c: imx: Cancel hrtimer before clearing slave pointer","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: imx: Cancel hrtimer before clearing slave pointer\n\nIn i2c_imx_unreg_slave(), the slave pointer is set to NULL after\ndisabling interrupts.  However, a pending interrupt might already\nhave started the hrtimer (i2c_imx_slave_timeout) before the pointer\nwas cleared.  If the hrtimer fires after i2c_imx->slave is set to\nNULL, the timer callback i2c_imx_slave_finish_op() will call\ni2c_imx_slave_event() with a NULL slave pointer, which results in a\nuse-after-free / NULL pointer dereference.\n\nFix by canceling the hrtimer and waiting for it to complete after\ndisabling interrupts, before clearing the slave pointer."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"e3da77bdb4015051656bb472c295656bbea03b6f","versionType":"git"},{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"470fe15fb3bb2eba6629be301ca7e991ee3cfb7e","versionType":"git"},{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"a8a1f9ac3d763e721586f15479ef9140b216ddf3","versionType":"git"},{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"753060f2b77ff2f386addbd3ecadb95b9f90cddd","versionType":"git"},{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"affd62f5719a78135b7441aa49c8cab3c3b5e838","versionType":"git"},{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"dab4762ee7f3fd0a01980d5407ba48d0261d3bff","versionType":"git"},{"version":"f7414cd6923fd7f78e57086fc964ba2dc25db5c1","status":"affected","lessThan":"6ac7702b6cc2b94aaed9ef2d95bfbefcdc90061f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/i2c/busses/i2c-imx.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.11","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.151","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.103","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.44","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.8","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/i2c/busses/i2c-imx.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e3da77bdb4015051656bb472c295656bbea03b6f"},{"url":"https://git.kernel.org/stable/c/470fe15fb3bb2eba6629be301ca7e991ee3cfb7e"},{"url":"https://git.kernel.org/stable/c/a8a1f9ac3d763e721586f15479ef9140b216ddf3"},{"url":"https://git.kernel.org/stable/c/753060f2b77ff2f386addbd3ecadb95b9f90cddd"},{"url":"https://git.kernel.org/stable/c/affd62f5719a78135b7441aa49c8cab3c3b5e838"},{"url":"https://git.kernel.org/stable/c/dab4762ee7f3fd0a01980d5407ba48d0261d3bff"},{"url":"https://git.kernel.org/stable/c/6ac7702b6cc2b94aaed9ef2d95bfbefcdc90061f"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.4,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The bug is in the imx I2C slave teardown path reached via i2c_slave_unregister during local driver removal on embedded i.MX systems; exploitation requires local proximity to trigger concurrent I2C bus activity on the same controller.\nAC:L - The attacker controls both sides of the race by generating I2C slave traffic to arm/restart the 30us hrtimer while unregister runs, and can retry rapidly across repeated teardown cycles until the window is hit.\nPR:N - No Linux credentials are required when an attacker with physical access to an exposed I2C bus races automated system maintenance (OTA, service restart, driver reload) that calls i2c_slave_unregister on imx slave backends.\nUI:N - Exploitation does not require victim interaction; automated firmware updates or service restarts that unregister the slave driver are sufficient to create the teardown side of the race.\nS:U - Impact is confined to kernel memory corruption and crash on the same host; this is not a VM escape, IOMMU bypass, or cross-security-authority boundary.\nC:H - The timer callback invokes i2c_slave_event with a NULL/freed slave pointer (use-after-free), a memory safety violation that can be leveraged for arbitrary kernel memory read primitives per CVSS UAF guidance.\nI:H - Use-after-free in the slave event callback path can enable heap manipulation and arbitrary kernel write or control-flow hijack, not merely a deterministic NULL dereference crash.\nA:H - Triggering i2c_slave_event with a NULL slave causes kernel oops/panic, and the original patch series notes the last_slave_event loop in i2c_imx_slave_finish_op can hang the system."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-19T16:37:00.344Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.216"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.1.183"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.6.151"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.12.103"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"6.18.44"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"7.1.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-74461","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T18:57:04.286724Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T19:05:47.029Z"}}]}}}