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.
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: scsi: aic94xx: corrección de uso después de liberación en la ruta de eliminación de dispositivo La función asd_pci_remove() no logra sincronizarse con los tasklets pendientes antes de liberar la estructura asd_ha, lo que lleva a una potencial vulnerabilidad de uso después de liberación. Cuando se activa la eliminación de un dispositivo (mediante desconexión en caliente o descarga de módulo), puede ocurrir una condición de carrera. La corrección añade tasklet_kill() antes de liberar la estructura asd_ha, asegurando que todos los tasklets programados se completen antes de que continúe la limpieza.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | HIGH |
| Integrity Impact | HIGH |
| Availability Impact | HIGH |
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
CWE-416
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2357ccf240> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23a7a56f80> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23a59a9280> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23af2b9dc0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2357ccde00> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23a59ab680> | Operating System |
| linux | linux_kernel | 2.6.19 | <built-in method update of dict object at 0x7d2357ccc780> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7d23a59ab740> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7d24247d6a80> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7d2357cceac0> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7d23a7a56540> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7d23a59a9700> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7d242a775040> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7d23a757e3c0> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7d24603472c0> | Operating System |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:2.6.19:-:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc8:*:*:*:*:*:* |