ivshmem security fixes
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest4 patches 5 repliesIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ivshmem: Check ivshmem_read() size argumenthw/ | +28 | 1 reply | |
| 2/4 | ivshmem: validate incoming_posn value from serverhw/ | +8 | 1 reply | |
| 3/4 | ivshmem: Fix potential OOB r/w accesshw/ | +23 | 1 reply | |
| 4/4 | ivshmem: Fix fd leak on errorhw/ | +1 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Michael S. Tsirkin |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v3 0/4] ivshmem security fixes
Hello,
This series tightens security on incoming data for ivshmem, originally sparked by SUSE's security team (Sebastian Krahmer). I've combined them and tackled remaining review feedback.
Regards,
Andreas
Changes from Sebastian's #2:
* Rebased onto Stefan's patches
* Dropped g_realloc() check (Stefan)
* Fixed fd leak and appended a patch fixing another one (Stefan)
* Simplified comment (Stefan)
Changes from Stefan's series:
* Modified to handle partial reads (Peter/Gerd)
* Changed check from > to >= (Peter)
Andreas Färber (1):
ivshmem: Fix fd leak on error
Sebastian Krahmer (1):
ivshmem: Fix potential OOB r/w access
Stefan Hajnoczi (2):
ivshmem: Check ivshmem_read() size argument
ivshmem: validate incoming_posn value from server
hw/misc/ivshmem.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 60 insertions(+), 6 deletions(-)
Signature · 1 line
1.8.4.5