diff options
| author | Mauro Matteo Cascella <mcascell@redhat.com> | 2021-11-04 17:31:38 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-08 08:55:29 +0100 |
| commit | b3af7fdf9cc537f8f0dd3e2423d83f5c99a457e8 (patch) | |
| tree | a9f092aaf21a75e1d4cb9945719bb2456e0057f0 /python/setup.py | |
| parent | b04dc92e013d55c9ac8082caefff45dcfb1310e7 (diff) | |
| download | focaccia-qemu-b3af7fdf9cc537f8f0dd3e2423d83f5c99a457e8.tar.gz focaccia-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 'python/setup.py')
0 files changed, 0 insertions, 0 deletions