Review reviewHigh

CVE-2024-36973

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe() When auxiliary_device_add() returns error and then calls auxiliary_device_uninit(), callback function gp_auxiliary_device_release() calls ida_free() and kfree(aux_device_wrapper) to free memory. We should't call them again in the error handling path. Fix this by skipping the redundant cleanup functions.

CVSS
7.8
EPSS
0.24%
14.9% percentile
CISA KEV
Not listed
Published
2024.06.18
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.24%
Technical severityCVSS 7.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe() When auxiliary_device_add() returns error and then calls auxiliary_device_uninit(), callback function gp_auxiliary_device_release() calls ida_free() and kfree(aux_device_wrapper) to free memory. We should't call them again in the error handling path. Fix this by skipping the redundant cleanup functions.

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 393fc2f5948fd340d016a9557eea6e1ac2f6c60c < 34ae447b138680b5ed3660f7d935ff3faf88ba1a, >= 393fc2f5948fd340d016a9557eea6e1ac2f6c60c < 86c9713602f786f441630c4ee02891987f8618b9, >= 393fc2f5948fd340d016a9557eea6e1ac2f6c60c < 1efe551982297924d05a367aa2b6ec3d275d5742, >= 393fc2f5948fd340d016a9557eea6e1ac2f6c60c < 086c6cbcc563c81d55257f9b27e14faf1d0963d3, >= 6.1, >= 6.1 < 6.1.95, >= 6.2 < 6.6.35, >= 6.7 < 6.9.6, 6.10
Fixed versions
6.1.95, 6.6.35, 6.9.6

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-415