CVE-2024-36955: ALSA: hda: intel-sdw-acpi: fix usage of device_get_named_child_node()

Description

In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda: intel-sdw-acpi: fix usage of device_get_named_child_node()

The documentation for device_get_named_child_node() mentions this
important point:

"
The caller is responsible for calling fwnode_handle_put() on the
returned fwnode pointer.
"

Add fwnode_handle_put() to avoid a leaked reference.

Classification

CVE ID: CVE-2024-36955

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.05% (probability of being exploited)

EPSS Percentile: 17.83% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/bd2d9641a39e6b5244230c4b41c4aca83b54b377
https://git.kernel.org/stable/c/722d33c442e66e4aabd3e778958d696ff3a2777e
https://git.kernel.org/stable/c/7db626d2730d3d80fd31638169054b1e507f07bf
https://git.kernel.org/stable/c/7ef6ecf98ce309b1f4e5a25cddd5965d01feea07
https://git.kernel.org/stable/c/c158cf914713efc3bcdc25680c7156c48c12ef6a

Timeline