summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorPavel Skripkin <paskripkin@gmail.com>2021-03-28 00:44:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-28 14:16:47 +0200
commit211b4d42b70f1c1660feaa968dac0efc2a96ac4d (patch)
treef423142ed134e76f183f5a3d18a3ade3dcf968ac /tools/perf/scripts/python/flamegraph.py
parent9f299d3264c67a892af87337dbaa0bdd20830c0c (diff)
downloadlinux-211b4d42b70f1c1660feaa968dac0efc2a96ac4d.tar.gz
linux-211b4d42b70f1c1660feaa968dac0efc2a96ac4d.zip
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: syzbot+bcc922b19ccc64240b42@syzkaller.appspotmail.com Signed-off-by: Pavel Skripkin <paskripkin@gmail.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210327214443.21548-1-paskripkin@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions