{"id":"CVE-2026-64103","state":"PUBLISHED","title":"scsi: isci: Fix use-after-free in device removal path","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: isci: Fix use-after-free in device removal path\n\nThe ISCI completion tasklet is initialized in isci_host_alloc()\n(drivers/scsi/isci/init.c:496) and scheduled from both MSI-X and legacy\ninterrupt handlers (drivers/scsi/isci/host.c:223,613).\n\nisci_host_deinit() stops the controller and waits for stop completion,\nbut it never kills completion_tasklet before teardown continues. A\ntop-of-function tasklet_kill() is not sufficient here: interrupts are\nonly disabled when isci_host_stop_complete() runs, so until\nwait_for_stop() returns the IRQ handlers can still requeue the\ntasklet. The tasklet callback also re-enables interrupts after draining\ncompletions, so killing the tasklet before the source is quiesced leaves\nthe same race open.\n\nOnce wait_for_stop() returns, no further IRQ-driven scheduling can\noccur. Kill completion_tasklet there so teardown cannot race a queued\ntasklet running on a dead ihost. On remove or unload, the stale callback\ncan otherwise dereference ihost and touch ihost->smu_registers after the\nhost lifetime ends.\n\nA UML + KASAN analogue reproduced the failure class both with no\ntasklet_kill() and with tasklet_kill() placed before source quiesce, and\nstayed clean once the kill happened after quiescing the scheduling\nsource.\n\nThis mirrors commit f6ab594672d4 (\"scsi: aic94xx: fix use-after-free in\ndevice removal path\"), but ISCI needs the kill after wait_for_stop().","publishedAt":"2026-07-19T15:40:07.372Z","updatedAt":"2026-07-19T15:40:07.372Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"1412995e10c74644b47f242aea6e4f3d4180e806","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"a83d3e4daba40d49324cec1c51ed261e1ea48cf1","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"ab2266601a875982f2d2033f41e070a6d5e615e2","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"309c6058622d080fe8c2fab87c30da82d834d989","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"cb9e72c50e6c81a5903f27e0b397ce8525d7539b","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"b9ff8631006233ba246828ac70409d2cb2da38d3","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"6d40f2f103bb30f52f3dbadbe2c3fdf274a9763c","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"b52a8d52c3125ec9a93106ed816582368de34426","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/isci/host.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.0","versionType":"semver"},{"version":"5.10.258","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.209","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.175","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.142","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.92","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/isci/host.c"]}],"references":["https://git.kernel.org/stable/c/1412995e10c74644b47f242aea6e4f3d4180e806","https://git.kernel.org/stable/c/a83d3e4daba40d49324cec1c51ed261e1ea48cf1","https://git.kernel.org/stable/c/ab2266601a875982f2d2033f41e070a6d5e615e2","https://git.kernel.org/stable/c/309c6058622d080fe8c2fab87c30da82d834d989","https://git.kernel.org/stable/c/cb9e72c50e6c81a5903f27e0b397ce8525d7539b","https://git.kernel.org/stable/c/b9ff8631006233ba246828ac70409d2cb2da38d3","https://git.kernel.org/stable/c/6d40f2f103bb30f52f3dbadbe2c3fdf274a9763c","https://git.kernel.org/stable/c/b52a8d52c3125ec9a93106ed816582368de34426"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64103.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64103","state":"PUBLISHED","datePublished":"2026-07-19T15:40:07.372Z","dateUpdated":"2026-07-19T15:40:07.372Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T07:54:57.034Z"},"containers":{"cna":{"title":"scsi: isci: Fix use-after-free in device removal path","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: isci: Fix use-after-free in device removal path\n\nThe ISCI completion tasklet is initialized in isci_host_alloc()\n(drivers/scsi/isci/init.c:496) and scheduled from both MSI-X and legacy\ninterrupt handlers (drivers/scsi/isci/host.c:223,613).\n\nisci_host_deinit() stops the controller and waits for stop completion,\nbut it never kills completion_tasklet before teardown continues. A\ntop-of-function tasklet_kill() is not sufficient here: interrupts are\nonly disabled when isci_host_stop_complete() runs, so until\nwait_for_stop() returns the IRQ handlers can still requeue the\ntasklet. The tasklet callback also re-enables interrupts after draining\ncompletions, so killing the tasklet before the source is quiesced leaves\nthe same race open.\n\nOnce wait_for_stop() returns, no further IRQ-driven scheduling can\noccur. Kill completion_tasklet there so teardown cannot race a queued\ntasklet running on a dead ihost. On remove or unload, the stale callback\ncan otherwise dereference ihost and touch ihost->smu_registers after the\nhost lifetime ends.\n\nA UML + KASAN analogue reproduced the failure class both with no\ntasklet_kill() and with tasklet_kill() placed before source quiesce, and\nstayed clean once the kill happened after quiescing the scheduling\nsource.\n\nThis mirrors commit f6ab594672d4 (\"scsi: aic94xx: fix use-after-free in\ndevice removal path\"), but ISCI needs the kill after wait_for_stop()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"1412995e10c74644b47f242aea6e4f3d4180e806","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"a83d3e4daba40d49324cec1c51ed261e1ea48cf1","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"ab2266601a875982f2d2033f41e070a6d5e615e2","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"309c6058622d080fe8c2fab87c30da82d834d989","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"cb9e72c50e6c81a5903f27e0b397ce8525d7539b","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"b9ff8631006233ba246828ac70409d2cb2da38d3","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"6d40f2f103bb30f52f3dbadbe2c3fdf274a9763c","versionType":"git"},{"version":"6f231dda68080759f1aed3769896e94c73099f0f","status":"affected","lessThan":"b52a8d52c3125ec9a93106ed816582368de34426","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/isci/host.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.0","versionType":"semver"},{"version":"5.10.258","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.209","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.175","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.142","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.92","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.34","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.11","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/isci/host.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/1412995e10c74644b47f242aea6e4f3d4180e806"},{"url":"https://git.kernel.org/stable/c/a83d3e4daba40d49324cec1c51ed261e1ea48cf1"},{"url":"https://git.kernel.org/stable/c/ab2266601a875982f2d2033f41e070a6d5e615e2"},{"url":"https://git.kernel.org/stable/c/309c6058622d080fe8c2fab87c30da82d834d989"},{"url":"https://git.kernel.org/stable/c/cb9e72c50e6c81a5903f27e0b397ce8525d7539b"},{"url":"https://git.kernel.org/stable/c/b9ff8631006233ba246828ac70409d2cb2da38d3"},{"url":"https://git.kernel.org/stable/c/6d40f2f103bb30f52f3dbadbe2c3fdf274a9763c"},{"url":"https://git.kernel.org/stable/c/b52a8d52c3125ec9a93106ed816582368de34426"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-07-19T15:40:07.372Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0","versionEndExcluding":"5.10.258"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0","versionEndExcluding":"5.15.209"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0","versionEndExcluding":"6.1.175"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0","versionEndExcluding":"6.6.142"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0","versionEndExcluding":"6.12.92"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0","versionEndExcluding":"6.18.34"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0","versionEndExcluding":"7.0.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}