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:   Mon, 27 Nov 2023 18:31:22 -0800
From:   Jakub Kicinski <>
To:     Elena Salomatkina <>
Cc:     Sunil Goutham <>,
        Linu Cherian <>,
        Geetha sowjanya <>,
        Jerin Jacob <>,
        hariprasad <>,
        Subbaraya Sundeep <>,
        "David S. Miller" <>,
        Eric Dumazet <>,
        Paolo Abeni <>,,,,
        Simon Horman <>
Subject: Re: [PATCH net] octeontx2-af: Fix possible buffer overflow

On Sat, 25 Nov 2023 00:08:02 +0300 Elena Salomatkina wrote:
> A loop in rvu_mbox_handler_nix_bandprof_free() contains
> a break if (idx == MAX_BANDPROF_PER_PFFUNC),
> but if idx may reach MAX_BANDPROF_PER_PFFUNC
> buffer '(*req->prof_idx)[layer]' overflow happens before that check.
> The patch moves the break to the
> beginning of the loop.
> Found by Linux Verification Center ( with SVACE.
> Fixes: e8e095b3b370 ("octeontx2-af: cn10k: Bandwidth profiles config support").
> Signed-off-by: Elena Salomatkina <>
> Reviewed-by: Simon Horman <>

Marvell folks, at least one of you has to review this. Please see:

Powered by blists - more mailing lists