diff options
| author | Takashi Iwai <[email protected]> | 2021-05-11 09:05:00 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2021-05-11 09:10:37 +0000 |
| commit | 91e02557f377b6837d4f82b14229d92cae231001 (patch) | |
| tree | f57cc299de657a8e6e23a1c5b316d30fbbd59f07 /tools/lib/bpf/bpf_prog_linfo.c | |
| parent | ALSA: usb-audio: Validate MS endpoint descriptors (diff) | |
| download | kernel-91e02557f377b6837d4f82b14229d92cae231001.tar.gz kernel-91e02557f377b6837d4f82b14229d92cae231001.zip | |
ALSA: usb-audio: Fix potential out-of-bounce access in MIDI EP parser
The recently introduced MIDI endpoint parser code has an access to the
field without the size validation, hence it might lead to
out-of-bounce access. Add the sanity checks for the descriptor
sizes.
Fixes: eb596e0fd13c ("ALSA: usb-audio: generate midi streaming substream names from jack names")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions
