+CC : qemu-stable
Hi Peter,
On 11/5/26 20:59, Peter Maydell wrote:
On Wed, 19 Aug 2026 at 11:00, Chinmay Rath <[email protected]> wrote:
cdb_offset and local_desc values are dependent on the guest. If the value
is large enough, it can lead to an out-of-bounds read in vscsi_fetch_desc().
Add an 'avail' constant in vscsi_preprocess_desc() representing the number of
bytes available in srp_cmd.add_data[] and use it to prevent out-of-bound reads.
Make all callers of vscsi_preprocess_desc() check its return value and
handle failure accordingly.
Closes: https://gitlab.com/qemu-project/qemu/-/work_items/4162
Signed-off-by: Chinmay Rath <[email protected]>
Shouldn't this be Cc: [email protected] ?
This got missed. I have cced now. Will take care further on.
Did we deliberately decide this wasn't CVE-worthy, or did that
step in the process get skipped?
This got skipped as well. I have added the "CVE-required" tag in the
Gitlab issue now.
Will take care in future.
Ideally bug fix commits, especially ones we might want to backport,
should include a "Fixes:" tag giving the commit hash and subject
of the commit that introduced the bug they're fixing.
I shall post a v2 with fixes tag for the CVE that gets assigned and the
commit hash which introduced the bug.
Thanks,
Chinmay
thanks
-- PMM