diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-05-15 10:55:58 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-05-16 15:41:58 +0200 |
| commit | 7b7d6572145c1dab2dd9bfb550b188e5f0ff3c3f (patch) | |
| tree | 4330fd05cca1a60e9960df069a6958da3de2548f /block/blk-lib.c | |
| parent | 6fd9f6e870ea285f05102e8e00e6a7f4495a9a02 (diff) | |
| download | lwn-7b7d6572145c1dab2dd9bfb550b188e5f0ff3c3f.tar.gz lwn-7b7d6572145c1dab2dd9bfb550b188e5f0ff3c3f.zip | |
ALSA: asihpi: Fix potential OOB array access at reading cache
find_control() to retrieve a cached info accesses the array with the
given index blindly, which may lead to an OOB array access.
Add a sanity check for avoiding it.
Link: https://sashiko.dev/#/patchset/20260511230121.28606-1-rosenp%40gmail.com
Cc: <stable@vger.kernel.org>
Link: https://patch.msgid.link/20260515085606.242284-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions
