qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH-for-5.0 0/2] hw/display/sm501: Avoid heap overflow in sm501_2d_operation()
@ 2020-04-11  9:14 Philippe Mathieu-Daudé
  2020-04-11  9:14 ` [PATCH-for-5.0 1/2] " Philippe Mathieu-Daudé
  2020-04-11  9:14 ` [PATCH-for-5.0 2/2] qtest: Test the Drawing Engine of the SM501 companion Philippe Mathieu-Daudé
  0 siblings, 2 replies; 9+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-04-11  9:14 UTC (permalink / raw)
  To: qemu-devel, BALATON Zoltan
  Cc: Laurent Vivier, Thomas Huth, Magnus Damm,
	Philippe Mathieu-Daudé, Zhang Zi Ming, qemu-ppc,
	Paolo Bonzini

I once setup a Bugzilla 'Component Watching' rule on 'QEMU + CVE',
and recently found a notification for BZ#1786026 about a heap
overflow in sm501_2d_operation():
https://bugzilla.redhat.com/show_bug.cgi?id=1786026
As this is from december I suppose there was some embargo that
recently expired. Apparently there is a CVE assigned but the
information about it is private.
I'm not sure the upstream community is already aware of this
problem, but since we are in hard freeze and the bug can easily
be avoided, I believe a 3-lines patch is appropriate.

Philippe Mathieu-Daudé (2):
  hw/display/sm501: Avoid heap overflow in sm501_2d_operation()
  qtest: Test the Drawing Engine of the SM501 companion

 hw/display/sm501.c           |   6 ++
 tests/qtest/sm501-test.c     | 106 +++++++++++++++++++++++++++++++++++
 tests/qtest/Makefile.include |   2 +
 3 files changed, 114 insertions(+)
 create mode 100644 tests/qtest/sm501-test.c

-- 
2.21.1



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

end of thread, other threads:[~2020-04-12 21:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-11  9:14 [PATCH-for-5.0 0/2] hw/display/sm501: Avoid heap overflow in sm501_2d_operation() Philippe Mathieu-Daudé
2020-04-11  9:14 ` [PATCH-for-5.0 1/2] " Philippe Mathieu-Daudé
2020-04-11 18:05   ` BALATON Zoltan
2020-04-11 19:44     ` Philippe Mathieu-Daudé
2020-04-11 21:36       ` Peter Maydell
2020-04-12 20:53         ` Philippe Mathieu-Daudé
2020-04-12 20:57           ` Peter Maydell
2020-04-12 21:02             ` Philippe Mathieu-Daudé
2020-04-11  9:14 ` [PATCH-for-5.0 2/2] qtest: Test the Drawing Engine of the SM501 companion Philippe Mathieu-Daudé

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).