Shellfeed logo Shellfeed

CVE-2025-71075 · UNKNOWN

Summary: scsi: aic94xx: fix use-after-free in device removal path

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [2908d778ab3e244900c310974e1fc1c69066e450 – c8f6f88cd1df35155258285c4f43268b361819df]
  • Linux Kernel [2.6.19 – 5.10.248] [5.11.0 – 5.15.198] [5.16.0 – 6.1.160] [6.2.0 – 6.6.120] [6.7.0 – 6.12.64] [6.13.0 – 6.18.3]

References