summaryrefslogtreecommitdiffstats
path: root/tools/objtool
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2019-06-27 14:30:58 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-28 08:28:34 +0200
commit897bcee6a1292b2a5d4e731ec5f12c6b97309465 (patch)
tree551734f9c59774070001078dd4c91e816255e4b5 /tools/objtool
parent961a727f2c1056195f8293db728d0ea9cf7c961d (diff)
downloadlinux-stable-897bcee6a1292b2a5d4e731ec5f12c6b97309465.tar.gz
linux-stable-897bcee6a1292b2a5d4e731ec5f12c6b97309465.tar.bz2
linux-stable-897bcee6a1292b2a5d4e731ec5f12c6b97309465.zip
netrom: fix a memory leak in nr_rx_frame()
[ Upstream commit c8c8218ec5af5d2598381883acbefbf604e56b5e ] When the skb is associated with a new sock, just assigning it to skb->sk is not sufficient, we have to set its destructor to free the sock properly too. Reported-by: syzbot+d6636a36d3c34bd88938@syzkaller.appspotmail.com Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/objtool')
0 files changed, 0 insertions, 0 deletions