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 0x702bfc3365c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdd67f740> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdd67ff40> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdd67e1c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bfc336f00> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bfc336000> | Operating System |
| linux | linux_kernel | 2.6.19 | <built-in method update of dict object at 0x702bdd67ee80> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x702bdd67db40> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x702bfc1dfd00> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x702bfc335a40> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x702bfc337700> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x702bdd67cd00> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x702bfc1dd780> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x702bdcc5b380> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x702bdd67c040> | 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:*:*:*:*:*:* |