In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Skip finding free audio for unknown engine_id
[WHY]
ENGINE_ID_UNKNOWN = -1 and can not be used as an array index. Plus, it
also means it is uninitialized and does not need free audio.
[HOW]
Skip and return NULL.
This fixes 2 OVERRUN issues reported by Coverity.
git.kernel.org/stable/c/1357b2165d9ad94faa4c4a20d5e2ce29c2ff29c3
git.kernel.org/stable/c/874261358d31fc772f2823604167e670983cc1ca
git.kernel.org/stable/c/881fb6afc0004c5e6392ae2848f825bf051dae14
git.kernel.org/stable/c/95ad20ee3c4efbb91f9a4ab08e070aa3697f5879
git.kernel.org/stable/c/9eb4db08a808e3a3ba59193aeb84a57a6dc4d8c9
git.kernel.org/stable/c/afaaebdee9bb9f26d9e13cc34b33bd0a7bf59488
git.kernel.org/stable/c/eacca028a623f608607d02457122ee5284491e18
git.kernel.org/stable/c/ffa7bd3ca9cfa902b857d1dc9a5f46fededf86c8
security-tracker.debian.org/tracker/CVE-2024-42119