CVE-2025-68324

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/12/2025
Last modified:
18/12/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> scsi: imm: Fix use-after-free bug caused by unfinished delayed work<br /> <br /> The delayed work item &amp;#39;imm_tq&amp;#39; is initialized in imm_attach() and<br /> scheduled via imm_queuecommand() for processing SCSI commands. When the<br /> IMM parallel port SCSI host adapter is detached through imm_detach(),<br /> the imm_struct device instance is deallocated.<br /> <br /> However, the delayed work might still be pending or executing<br /> when imm_detach() is called, leading to use-after-free bugs<br /> when the work function imm_interrupt() accesses the already<br /> freed imm_struct memory.<br /> <br /> The race condition can occur as follows:<br /> <br /> CPU 0(detach thread) | CPU 1<br /> | imm_queuecommand()<br /> | imm_queuecommand_lck()<br /> imm_detach() | schedule_delayed_work()<br /> kfree(dev) //FREE | imm_interrupt()<br /> | dev = container_of(...) //USE<br /> dev-&gt; //USE<br /> <br /> Add disable_delayed_work_sync() in imm_detach() to guarantee proper<br /> cancellation of the delayed work item before imm_struct is deallocated.

Impact