Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: cs35l41: validate and free ACPI mute object cs35l41_get_acpi_mute_state() evaluates a _DSM method to get the ACPI mute state and reads the first byte from the returned object. However, the returned ACPI object is owned by the caller and is never freed after use, so each successful query leaks the _DSM result object. The code also assumes that the returned object is a buffer with at least one byte. A malformed firmware response can return a different object type or an empty buffer, and the direct ret->buffer.pointer dereference can then access an invalid pointer. Use the typed _DSM helper, validate that the returned buffer contains at least one byte, and free the ACPI object after reading it.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
447106e92a0c86c332d40710436f38f64c322cd6 to < 7fea0c89ed39a13d9a31163a74f8c62de30a4ffcaffected447106e92a0c86c332d40710436f38f64c322cd6 to < 08433c71f15984ddd5f5a307cf3f0aa9b84583aaaffected447106e92a0c86c332d40710436f38f64c322cd6 to < d5dfdf43259ad9d054052012095b1630e7366dcfaffected447106e92a0c86c332d40710436f38f64c322cd6 to < 3b597d24dc0455ae926f1053f97c2725038fc3cdaffected
Linux Linux
Default version status: affected
6.7affected0 to < 6.7unaffected6.12.101 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.6 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected