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-prev] [day] [month] [year] [list]
Message-Id: <20200330.104324.1433166586415849555.davem@davemloft.net>
Date:   Mon, 30 Mar 2020 10:43:24 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     fw@...len.de
Cc:     netdev@...r.kernel.org, steffen.klassert@...unet.com,
        xmu@...hat.com, lucien.xin@...il.com
Subject: Re: [PATCH net 1/1] net: fix fraglist segmentation reference count
 leak

From: Florian Westphal <fw@...len.de>
Date: Mon, 30 Mar 2020 18:51:29 +0200

> Xin Long says:
>  On udp rx path udp_rcv_segment() may do segment where the frag skbs
>  will get the header copied from the head skb in skb_segment_list()
>  by calling __copy_skb_header(), which could overwrite the frag skbs'
>  extensions by __skb_ext_copy() and cause a leak.
> 
>  This issue was found after loading esp_offload where a sec path ext
>  is set in the skb.
> 
> Fix this by discarding head state of the fraglist skb before replacing
> its contents.
> 
> Fixes: 3a1296a38d0cf62 ("net: Support GRO/GSO fraglist chaining.")
> Cc: Steffen Klassert <steffen.klassert@...unet.com>
> Reported-by: Xiumei Mu <xmu@...hat.com>
> Tested-by: Xin Long <lucien.xin@...il.com>
> Signed-off-by: Florian Westphal <fw@...len.de>

Applied and queued up for v5.6 -stable, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ