scsi: aic94xx: fix use-after-free in device removal path
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2908d778ab3e244900c310974e1fc1c69066e450 · < 751c19635c2bfaaf2836a533caa3663633066dcf| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
scsi: aic94xx: fix use-after-free in device removal path
The asd_pci_remove() function fails to synchronize with pending tasklets before freeing the asd_ha structure, leading to a potential use-after-free vulnerability.
When a device removal is triggered (via hot-unplug or module unload), race condition can occur.
The fix adds tasklet_kill() before freeing the asd_ha structure, ensuring all scheduled tasklets complete before cleanup proceeds.
From the CVE record · Linux
The Linux kernel’s aic94xx driver can free a device structure while tasklets are still pending. Device removal through hot-unplug or module unload can trigger a race and potential use-after-free; the input does not establish whether an attacker can trigger it or what access they would need.
Engineers running Linux kernels with the aic94xx driver should check their installations; affected versions are not specified.