# CVE-2024-46673: scsi: aacraid: Fix double-free on probe failure

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-02)
- Published: 2024-09-13T05:29:09.649Z
- Modified: 2026-08-05T11:37:52.370Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8e0c5ebde82b08f6d996e11983890fc4cc085fab before d237c7d06ffddcdb5d36948c527dc01284388218; from 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 564e1986b00c5f05d75342f8407f75f0a17b94df; from 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 9e96dea7eff6f2bbcd0b42a098012fc66af9eb69; from 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 85449b28ff6a89c4513115e43ddcad949b5890c9; from 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 60962c3d8e18e5d8dfa16df788974dd7f35bd87a; from 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 8a3995a3ffeca280a961b59f5c99843d81b15929; from 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 4b540ec7c0045c2d01c4e479f34bbc8f147afa4c; from 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 919ddf8336f0b84c0453bac583808c9f165a85c2; 2.6.15 (not affected: before 2.6.15; from 4.19.321 up to 4.19.*; from 5.4.283 up to 5.4.*; from 5.10.225 up to 5.10.*; from 5.15.166 up to 5.15.*; from 6.1.108 up to 6.1.*; from 6.6.49 up to 6.6.*; from 6.10.8 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 2.6.15 before 4.19.321; from 4.20 before 5.4.283; from 5.5 before 5.10.225; from 5.11 before 5.15.166; from 5.16 before 6.1.108; from 6.2 before 6.6.49; from 6.7 before 6.10.8; 6.11

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/d237c7d06ffddcdb5d36948c527dc01284388218> (patch)
- <https://git.kernel.org/stable/c/564e1986b00c5f05d75342f8407f75f0a17b94df> (patch)
- <https://git.kernel.org/stable/c/9e96dea7eff6f2bbcd0b42a098012fc66af9eb69> (patch)
- <https://git.kernel.org/stable/c/85449b28ff6a89c4513115e43ddcad949b5890c9> (patch)
- <https://git.kernel.org/stable/c/60962c3d8e18e5d8dfa16df788974dd7f35bd87a> (patch)
- <https://git.kernel.org/stable/c/8a3995a3ffeca280a961b59f5c99843d81b15929> (patch)
- <https://git.kernel.org/stable/c/4b540ec7c0045c2d01c4e479f34bbc8f147afa4c> (patch)
- <https://git.kernel.org/stable/c/919ddf8336f0b84c0453bac583808c9f165a85c2> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Sources

- CVE List: [CVE-2024-46673](https://www.cve.org/CVERecord?id=CVE-2024-46673), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-46673](https://nvd.nist.gov/vuln/detail/CVE-2024-46673), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-46673 · Whole record: https://cve.day/CVE-2024-46673.json · Rebuilt by cve.day 2026-11-25T22:58:45.370Z
