scsi: aacraid: Fix double-free on probe failure (Linux Linux)

CVE-2024-46673
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.29 % · percentile 22 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 8e0c5ebde82b08f6d996e11983890fc4cc085fab < d237c7d06ffddcdb5d36948c527dc01284388218 ; affected 8e0c5ebde82b08f6d996e11983890fc4cc085fab < 564e1986b00c5f05d75342f8407f75f0a17b94df ; affected 8e0c5ebde82b08f6d996e11983890fc4cc085fab < 9e96dea7eff6f2bbcd0b42a098012fc66af9eb69 ; affected 8e0c5ebde82b08f6d996e11983890fc4cc085fab < 85449b28ff6a89c4513115e43ddcad949b5890c9 ; affected 8e0c5ebde82b08f6d996e11983890fc4cc085fab < 60962c3d8e18e5d8dfa16df788974dd7f35bd87a ; affected 8e0c5ebde82b08f6d996e11983890fc4cc085fab < 8a3995a3ffeca280a961b59f5c99843d81b15929
Linux · Linuxaffected 2.6.15 ; unaffected 0 < 2.6.15 ; unaffected 4.19.321 ≤ 4.19.* ; unaffected 5.4.283 ≤ 5.4.* ; unaffected 5.10.225 ≤ 5.10.* ; unaffected 5.15.166 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD