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: <20220718200713.16de615e@kernel.org>
Date:   Mon, 18 Jul 2022 20:07:13 -0700
From:   Jakub Kicinski <kuba@...nel.org>
To:     Thadeu Lima de Souza Cascardo <cascardo@...onical.com>
Cc:     netdev@...r.kernel.org, linux-usb@...r.kernel.org,
        oneukum@...e.com, grundler@...omium.org, pabeni@...hat.com,
        edumazet@...gle.com, davem@...emloft.net
Subject: Re: [PATCH] sr9700: improve packet length sanity check

On Thu, 14 Jul 2022 10:21:34 -0300 Thadeu Lima de Souza Cascardo wrote:
> The packet format includes a 3 byte headers and a 4 byte CRC. Account for
> that when checking the given length is not larger than the skb length.

Please describe in detail the issue you're fixing. What will happen if
we don't include SR_RX_OVERHEAD in the check.

> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@...onical.com>
> Fixes: e9da0b56fe27 ("sr9700: sanity check for packet length")

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ