qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] hw/sd/sdcard: Fix CVE-2020-13253 (Do not allow invalid SD card sizes)
@ 2020-07-07 13:21 Philippe Mathieu-Daudé
  2020-07-07 13:21 ` [PATCH 1/2] tests/acceptance/boot_linux: Truncate SD card image to power of 2 Philippe Mathieu-Daudé
  2020-07-07 13:21 ` [PATCH 2/2] hw/sd/sdcard: Do not allow invalid SD card sizes Philippe Mathieu-Daudé
  0 siblings, 2 replies; 21+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-07-07 13:21 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, qemu-block, Alistair Francis,
	Philippe Mathieu-Daudé, Wainer dos Santos Moschetta,
	Niek Linnenbank, Cleber Rosa, Paolo Bonzini,
	Philippe Mathieu-Daudé

Part 1 is already reviewed:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg718150.html

However the CVE fix break Linux guests:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg720737.html

This series fixes that, by checking the SD card image size is
correct.

Based-on: <20200630133912.9428-1-f4bug@amsat.org>

Philippe Mathieu-Daudé (2):
  tests/acceptance/boot_linux: Truncate SD card image to power of 2
  hw/sd/sdcard: Do not allow invalid SD card sizes

 hw/sd/sd.c                             | 16 ++++++++++++++++
 tests/acceptance/boot_linux_console.py | 15 +++++++++++++++
 2 files changed, 31 insertions(+)

-- 
2.21.3



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2020-07-12 18:44 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-07 13:21 [PATCH 0/2] hw/sd/sdcard: Fix CVE-2020-13253 (Do not allow invalid SD card sizes) Philippe Mathieu-Daudé
2020-07-07 13:21 ` [PATCH 1/2] tests/acceptance/boot_linux: Truncate SD card image to power of 2 Philippe Mathieu-Daudé
2020-07-07 15:53   ` Alistair Francis
2020-07-07 16:10     ` Philippe Mathieu-Daudé
2020-07-12 18:43   ` Niek Linnenbank
2020-07-07 13:21 ` [PATCH 2/2] hw/sd/sdcard: Do not allow invalid SD card sizes Philippe Mathieu-Daudé
2020-07-07 15:55   ` Alistair Francis
2020-07-07 16:06     ` Peter Maydell
2020-07-07 16:11       ` Philippe Mathieu-Daudé
2020-07-07 20:29         ` Niek Linnenbank
2020-07-09 13:56           ` Philippe Mathieu-Daudé
2020-07-09 14:15             ` Peter Maydell
2020-07-09 14:35               ` Philippe Mathieu-Daudé
2020-07-09 16:17                 ` Alistair Francis
2020-07-10  9:54                   ` Peter Maydell
2020-07-09 17:56               ` Niek Linnenbank
2020-07-10  9:58               ` Kevin Wolf
2020-07-10  9:59                 ` Peter Maydell
2020-07-10 12:07                   ` Kevin Wolf
2020-07-10 12:30                     ` Peter Maydell
2020-07-09 17:53             ` Niek Linnenbank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).