diff options
| author | Pavel Skripkin <[email protected]> | 2021-03-28 00:44:43 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-28 14:16:47 +0200 |
| commit | 211b4d42b70f1c1660feaa968dac0efc2a96ac4d (patch) | |
| tree | f423142ed134e76f183f5a3d18a3ade3dcf968ac /tools/perf/scripts/python | |
| parent | 9f299d3264c67a892af87337dbaa0bdd20830c0c (diff) | |
tty: fix memory leak in vc_deallocate
syzbot reported memory leak in tty/vt.
The problem was in VT_DISALLOCATE ioctl cmd.
After allocating unimap with PIO_UNIMAP it wasn't
freed via VT_DISALLOCATE, but vc_cons[currcons].d was
zeroed.
Reported-by: [email protected]
Signed-off-by: Pavel Skripkin <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions