diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-10-08 21:25:49 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-10-09 14:39:51 +0200 |
| commit | e2ef553dfe923959632e580bcad8583d922868ac (patch) | |
| tree | 007fbeec020c5b5de109a78571056c30b4e36103 /tools/lib/python | |
| parent | 589fccbe1e9dd8aaf075cc073a7489c0c015ee49 (diff) | |
ALSA: line6: Reject too small max packet sizes
Although the LINE6 driver has a sanity check for the given max packet
sizes, it still has an implicit requirement of the minimal size being
bytes-per-frame; e.g. the impulse test signal assuming the fixed size,
and when a too small size is specified by a malformed USB descriptor,
this may lead to an OOB access.
Change the sanity check conditions to reject too small max packet
sizes for avoiding the scenario above.
Fixes: 3450121997ce ("ALSA: line6: Fix write on zero-sized buffer")
Reported-by: Sashiko <sashiko-bot@kernel.org>
Link: https://patch.msgid.link/20261008192553.300025-10-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
