← CVE Intelligence

CVE-2024-46673

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 8e0c5ebde82b08f6d996e11983890fc4cc085fab before d237c7d06ffddcdb5d36948c527dc01284388218; affected 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 564e1986b00c5f05d75342f8407f75f0a17b94df; affected 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 9e96dea7eff6f2bbcd0b42a098012fc66af9eb69; affected 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 85449b28ff6a89c4513115e43ddcad949b5890c9; affected 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 60962c3d8e18e5d8dfa16df788974dd7f35bd87a; affected 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 8a3995a3ffeca280a961b59f5c99843d81b15929; affected 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 4b540ec7c0045c2d01c4e479f34bbc8f147afa4c; affected 8e0c5ebde82b08f6d996e11983890fc4cc085fab before 919ddf8336f0b84c0453bac583808c9f165a85c2
Linux / Linuxaffected 2.6.15; unaffected 0 before 2.6.15; unaffected 4.19.321 through 4.19.*; unaffected 5.4.283 through 5.4.*; unaffected 5.10.225 through 5.10.*; unaffected 5.15.166 through 5.15.*; unaffected 6.1.108 through 6.1.*; unaffected 6.6.49 through 6.6.*; unaffected 6.10.8 through 6.10.*; unaffected 6.11 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.