scsi: aacraid: Fix double-free on probe failure
Published Sep 13, 2024
7.8
HIGHCVSS 3.1
EPSS 0.29%
Description
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.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 2.6.15StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<2.6.15
- Version 4.19.321StatusunaffectedConstraints<=4.19.*
- Version 5.10.225StatusunaffectedConstraints<=5.10.*
- Version 5.15.166StatusunaffectedConstraints<=5.15.*
- Version 5.4.283StatusunaffectedConstraints<=5.4.*
- Version 6.1.108StatusunaffectedConstraints<=6.1.*
- Version 6.10.8StatusunaffectedConstraints<=6.10.*
- Version 6.11StatusunaffectedConstraints<=*
- Version 6.6.49StatusunaffectedConstraints<=6.6.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 2.6.15 · < 4.19.321
- ≥ 4.20 · < 5.4.283
- ≥ 5.5 · < 5.10.225
- ≥ 5.11 · < 5.15.166
- ≥ 5.16 · < 6.1.108
- ≥ 6.2 · < 6.6.49
- ≥ 6.7 · < 6.10.8
- 6.11
- 6.11
- 6.11
- 6.11
- 6.11
No data.
Red Hat Enterprise Linux 9
kernel-0:5.14.0-570.12.1.el9_6
Fixed · RHSA-2025:6966
Red Hat Enterprise Linux 9
kernel-0:5.14.0-570.12.1.el9_6
Fixed · RHSA-2025:6966
Red Hat Enterprise Linux 6
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel-rt
Out of support scope
Red Hat Enterprise Linux 8
kernel
Will not fix
Red Hat Enterprise Linux 8
kernel-rt
Will not fix
Red Hat Enterprise Linux 9
kernel-rt
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-570.12.1.el9_6 | Fixed | RHSA-2025:6966 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-570.12.1.el9_6 | Fixed | RHSA-2025:6966 |
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Will not fix | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (15)
- https://access.redhat.com/security/cve/CVE-2024-46673 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2312061 Issue Tracking
- https://git.kernel.org/stable/c/4b540ec7c0045c2d01c4e479f34bbc8f147afa4c Patch
- https://git.kernel.org/stable/c/564e1986b00c5f05d75342f8407f75f0a17b94df Patch
- https://git.kernel.org/stable/c/60962c3d8e18e5d8dfa16df788974dd7f35bd87a Patch
- https://git.kernel.org/stable/c/85449b28ff6a89c4513115e43ddcad949b5890c9 Patch
- https://git.kernel.org/stable/c/8a3995a3ffeca280a961b59f5c99843d81b15929 Patch
- https://git.kernel.org/stable/c/919ddf8336f0b84c0453bac583808c9f165a85c2 Patch
- https://git.kernel.org/stable/c/9e96dea7eff6f2bbcd0b42a098012fc66af9eb69 Patch
- https://git.kernel.org/stable/c/d237c7d06ffddcdb5d36948c527dc01284388218 Patch
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://lore.kernel.org/linux-cve-announce/2024091333-CVE-2024-46673-c49c@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2024-46673
- https://www.cve.org/CVERecord?id=CVE-2024-46673
Change history (0)
No recorded changes yet.