lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 10 Apr 2019 11:04:29 -0700
From:   Jakub Kicinski <jakub.kicinski@...ronome.com>
To:     davem@...emloft.net
Cc:     oss-drivers@...ronome.com, netdev@...r.kernel.org,
        alexei.starovoitov@...il.com, vakul.garg@....com,
        borisp@...lanox.com, Jakub Kicinski <jakub.kicinski@...ronome.com>
Subject: [PATCH net 0/3] net: tls: fix memory leaks and freeing skbs

Hi!

This series fixes two memory issues and a stack overflow.
First two patches are fairly simple leaks.  Third patch
partially reverts an optimization made to the strparser
which causes creation of skb->frag_list->skb->frag_list...
chains of 100s of skbs, leading to recursive kfree_skb()
filling up the kernel stack.

Jakub Kicinski (3):
  net/tls: fix the IV leaks
  net/tls: don't leak partially sent record in device mode
  net: strparser: partially revert "strparser: Call skb_unclone
    conditionally"

 include/net/tls.h         |  2 ++
 net/strparser/strparser.c | 12 +++++-------
 net/tls/tls_device.c      | 12 +++++++++++-
 net/tls/tls_main.c        | 22 ++++++++++++++++++++++
 net/tls/tls_sw.c          | 15 +--------------
 5 files changed, 41 insertions(+), 22 deletions(-)

-- 
2.21.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ