همهٔ گزارش‌ها
کم

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

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2025-71075

احتمال بهره‌برداری در ۳۰ روز آینده: 0.15%

FIRST EPSS · ۱۴۰۵/۰۹/۰۳

شرح آسیب‌پذیری

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.

A use-after-free flaw was found in the Linux kernel's AIC-94xx SAS/SATA controller driver. The asd_pci_remove() function frees the asd_ha structure without first synchronizing pending tasklets. If a tasklet is scheduled but not yet executed when the structure is freed, the tasklet will access freed memory, causing a kernel crash or corruption.