aboutsummaryrefslogtreecommitdiffstats
path: root/net/packet/diag.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-06-24 02:38:20 -0700
committerDavid S. Miller <davem@davemloft.net>2019-06-24 07:57:59 -0700
commit55655e3d1197fff16a7a05088fb0e5eba50eac55 (patch)
tree38288bcb9ab2cfdfb597a9872e82ba3bf9dddb44 /net/packet/diag.c
parentnet/tls: fix page double free on TX cleanup (diff)
downloadlinux-dev-55655e3d1197fff16a7a05088fb0e5eba50eac55.tar.xz
linux-dev-55655e3d1197fff16a7a05088fb0e5eba50eac55.zip
net/packet: fix memory leak in packet_set_ring()
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>
Diffstat (limited to 'net/packet/diag.c')
0 files changed, 0 insertions, 0 deletions