CVE-2026-99456
JSON

Not scored

scsi: dc395x: sync the waiting_timer before freeing the host

Severity
Not scored
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: dc395x: sync the waiting_timer before freeing the host The waiting_timer callback re-arms itself and takes the host lock. adapter_uninit() currently stops it with timer_delete(), which does not wait for a callback already running on another CPU. The final scsi_host_put() that frees the host (and the host lock the callback dereferences) runs right after adapter_uninit(), so a concurrent or just re-armed callback can fire after the free, leaving a potential use-after-free window. Replace timer_delete() with timer_shutdown_sync() at the top of adapter_uninit(), before the host-lock section: the timer is dequeued, a running callback is waited for and rearming is blocked before the chip is halted, so it cannot fire at all once the adapter has ceased to function. Waiting outside the lock avoids the self-deadlock that would result from syncing a callback blocked on the lock we still hold. No shutdown is needed for selto_timer because it has no reachable armer or callback. This issue was found by an in-house static analysis tool.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before f2043f041e72a382abca83f2b2f0a39485b78e30, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 899322bc298ff860d30dce0651ed8f8fae6898a6, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fd6af0272d57f85711ffd3310313fccf9fa0856d, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 715ad3c3f53b7f4994f5d00f19a4a2de2f12d3c7, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0b65c96e51e6aac86f2db251b5bdc5255294a107, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a79de0e5e66bd0b69b38c855413a9e3a82926b24, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bd04acf9b9d589d93823bfeeea9932cd9ce4ee48, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0b1a79f2791a06f139dce5450e487307cf0e241f and 1 more
Not affected: before 2.6.12, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.117 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-99456 changed 2026-11-23CVE Terms of Use
NVDCVE-2026-99456 changed 2026-11-23Public domain