Phil Sutter <phil@xxxxxx> wrote: > While iterating through an SCTP packet's chunks, skb_header_pointer() is > called for the minimum expected chunk header size. If (that part of) the > skbuff is non-linear, the following memcpy() may read data past > temporary buffer '_sch'. Use skb_copy_bits() instead which does the > right thing in this situation. > > Fixes: 133dc203d77df ("netfilter: nft_exthdr: Support SCTP chunks") > Suggested-by: Florian Westphal <fw@xxxxxxxxx> > Signed-off-by: Phil Sutter <phil@xxxxxx> Reviewed-by: Florian Westphal <fw@xxxxxxxxx>