android_kernel_sony_sdm845/net/netrom
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Cong Wang cab2e3d65f 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>
2019-08-04 09:33:34 +02:00
..
af_netrom.c netrom: fix a memory leak in nr_rx_frame() 2019-08-04 09:33:34 +02:00
Makefile
nr_dev.c net: Kill dev_rebuild_header 2015-03-02 16:43:41 -05:00
nr_in.c netrom: use linux/uaccess.h 2014-10-17 23:52:54 -04:00
nr_loopback.c
nr_out.c netrom: use linux/uaccess.h 2014-10-17 23:52:54 -04:00
nr_route.c netfilter: Remove spurios included of netfilter.h 2015-06-18 21:14:32 +02:00
nr_subr.c netrom: use linux/uaccess.h 2014-10-17 23:52:54 -04:00
nr_timer.c netrom: switch to sock timer API 2019-02-06 17:33:27 +01:00
sysctl_net_netrom.c