parallels: fix reachable assertion and related bounds-checking gaps
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | parallels: fix integer overflow in header size calculationblock/ | +2 | 0 replies | |
| 2/9 | parallels: read header/BAT table in bounded chunksblock/ tests/ tests/ | +53 | 0 replies | |
| 3/9 | parallels: fix bat_entries overflow in image creationblock/ tests/ tests/ | +31 | 0 replies | |
| 4/9 | parallels: reject BAT entries pointing outside backed storageblock/ tests/ tests/ | +116 | 0 replies | |
| 5/9 | parallels: validate bitmap L1 table size before allocating itblock/ | +20 | 0 replies | |
| 6/9 | parallels: skip loading a genuinely empty bitmap L1 tableblock/ | +10 | 0 replies | |
| 7/9 | parallels: avoid fatal abort on large bitmap L1 tableblock/ | +7 | 0 replies | |
| 8/9 | parallels: validate BAT capacity against advertised disk sizeblock/ tests/ tests/ | +34 | 0 replies | |
| 9/9 | MAINTAINERS: update parallels tree locationMAINTAINERS | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] parallels: fix reachable assertion and related bounds-checking gaps
This series fixes a bunch of reachable asserts within parallels block drivers through a specially crafted images.
Signed-off-by Denis V. Lunev <[email protected]>
CC Thomas Huth <[email protected]>
CC Stefan Hajnoczi <[email protected]>
Denis V. Lunev (9):
parallels: fix integer overflow in header size calculation
parallels: read header/BAT table in bounded chunks
parallels: fix bat_entries overflow in image creation
parallels: reject BAT entries pointing outside backed storage
parallels: validate bitmap L1 table size before allocating it
parallels: skip loading a genuinely empty bitmap L1 table
parallels: avoid fatal abort on large bitmap L1 table
parallels: validate BAT capacity against advertised disk size
MAINTAINERS: update parallels tree location
MAINTAINERS | 2 +- block/parallels-ext.c | 52 +++++---- block/parallels.c | 74 ++++++++++--- tests/qemu-iotests/212 | 8 +- tests/qemu-iotests/212.out | 10 +- tests/qemu-iotests/tests/parallels-checks | 102 ++++++++++++++++++ tests/qemu-iotests/tests/parallels-checks.out | 59 ++++++++++ 7 files changed, 270 insertions(+), 37 deletions(-)
Signature · 1 line
2.53.0