diff options
author | Mauro Matteo Cascella | 2021-11-04 17:31:38 +0100 |
---|---|---|
committer | Paolo Bonzini | 2021-11-08 08:55:29 +0100 |
commit | b3af7fdf9cc537f8f0dd3e2423d83f5c99a457e8 (patch) | |
tree | a9f092aaf21a75e1d4cb9945719bb2456e0057f0 /docs/devel/ui.rst | |
parent | target-i386: mmu: fix handling of noncanonical virtual addresses (diff) | |
download | qemu-b3af7fdf9cc537f8f0dd3e2423d83f5c99a457e8.tar.gz qemu-b3af7fdf9cc537f8f0dd3e2423d83f5c99a457e8.tar.xz qemu-b3af7fdf9cc537f8f0dd3e2423d83f5c99a457e8.zip |
hw/scsi/scsi-disk: MODE_PAGE_ALLS not allowed in MODE SELECT commands
This avoids an off-by-one read of 'mode_sense_valid' buffer in
hw/scsi/scsi-disk.c:mode_sense_page().
Fixes: CVE-2021-3930
Cc: qemu-stable@nongnu.org
Reported-by: Alexander Bulekov <alxndr@bu.edu>
Fixes: a8f4bbe2900 ("scsi-disk: store valid mode pages in a table")
Fixes: #546
Reported-by: Qiuhao Li <Qiuhao.Li@outlook.com>
Signed-off-by: Mauro Matteo Cascella <mcascell@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/devel/ui.rst')
0 files changed, 0 insertions, 0 deletions