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] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 15 Mar 2022 12:58:22 -0700
From:   Martin KaFai Lau <kafai@...com>
To:     Liu Jian <liujian56@...wei.com>
Cc:     ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
        songliubraving@...com, yhs@...com, john.fastabend@...il.com,
        kpsingh@...nel.org, davem@...emloft.net, kuba@...nel.org,
        sdf@...gle.com, netdev@...r.kernel.org, bpf@...r.kernel.org
Subject: Re: [PATCH bpf-next] net: Use skb->len to check the validity of the
 parameters in bpf_skb_load_bytes

On Tue, Mar 15, 2022 at 08:39:16PM +0800, Liu Jian wrote:
> The data length of skb frags + frag_list may be greater than 0xffff,
> so here use skb->len to check the validity of the parameters.
What is the use case that needs to look beyond 0xffff ?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ