diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-10-13 14:05:25 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-10-14 08:09:27 +0200 |
| commit | 9ec633573c1d162bfc82cae52d14c220c875612f (patch) | |
| tree | 485d41f455b254accabe03e9e5252216f06fa881 /tools/lib/python/kdoc/python_version.py | |
| parent | d5096bb9beacb448091c1c9541432021dd5c1fcd (diff) | |
ALSA: line6: Use kzalloc() for PCM buffer allocation
LINE6 driver allocates the PCM buffer via kmalloc(), and this might
leave some bytes uninitialized that are out of the actual ring buffer
size, while it's still exposed via mmap.
For avoiding the leak of the uninitialized kernel memory, simply
replace it with kzalloc().
Fixes: 705ececd1c60 ("Staging: add line6 usb driver")
Reported-by: Sashiko <sashiko-bot@kernel.org>
Link: https://patch.msgid.link/20261013120528.52586-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
