All reports
Medium

kernel: scsi: aacraid: Fix double-free on probe failure

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-46673

Probability of exploitation in the next 30 days: 0.30%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: aacraid: Fix double-free on probe failure aac_probe_one() calls hardware-specific init functions through the aac_driver_ident::init pointer, all of which eventually call down to aac_init_adapter(). If aac_init_adapter() fails after allocating memory for aac_dev::queues, it frees the memory but does not clear that member. After the hardware-specific init function returns an error, aac_probe_one() goes down an error path that frees the memory pointed to by aac_dev::queues, resulting.in a double-free.

A flaw was found in the Linux kernel. Specifically, a double-free vulnerability exists in the aacraid SCSI driver. This occurs during probe failure when the aac_init_adapter() function frees memory for aac_dev::queues but fails to clear the pointer, leading aac_probe_one() to attempt a second free of the same memory. A local attacker could exploit this memory corruption to cause a denial of service (DoS) or potentially achieve arbitrary code execution.