summaryrefslogtreecommitdiff
path: root/net/hsr
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-06-24 02:38:20 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-03 13:13:41 +0200
commit65b2a8047939229a9e767b82d741bee4f8ac6b53 (patch)
tree01a0d5c829efb3e0499880f3f6f7a68d18ccb9d5 /net/hsr
parentc79ab459bea42f66f5c4d161dc41f9d8e40ab4ff (diff)
net/packet: fix memory leak in packet_set_ring()
[ Upstream commit 55655e3d1197fff16a7a05088fb0e5eba50eac55 ] syzbot found we can leak memory in packet_set_ring(), if user application provides buggy parameters. Fixes: 7f953ab2ba46 ("af_packet: TX_RING support for TPACKET_V3") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Sowmini Varadhan <sowmini.varadhan@oracle.com> Reported-by: syzbot <syzkaller@googlegroups.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/hsr')
0 files changed, 0 insertions, 0 deletions