diff options
| author | Takashi Iwai <[email protected]> | 2018-03-10 22:04:23 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2018-03-11 09:25:10 +0000 |
| commit | 01c0b4265cc16bc1f43f475c5944c55c10d5768f (patch) | |
| tree | 1b6bcb6a25c2c4d73eb9f3247f63c84216f6a9bb /fs/proc/array.c | |
| parent | ALSA: seq: Clear client entry before deleting else at closing (diff) | |
| download | kernel-01c0b4265cc16bc1f43f475c5944c55c10d5768f.tar.gz kernel-01c0b4265cc16bc1f43f475c5944c55c10d5768f.zip | |
ALSA: pcm: Fix UAF in snd_pcm_oss_get_formats()
snd_pcm_oss_get_formats() has an obvious use-after-free around
snd_mask_test() calls, as spotted by syzbot. The passed format_mask
argument is a pointer to the hw_params object that is freed before the
loop. What a surprise that it has been present since the original
code of decades ago...
Reported-by: [email protected]
Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
