Bug 1297426 - qemu: stack-based buffer overflow in gem_transmit()
Summary: qemu: stack-based buffer overflow in gem_transmit()
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1297427
TreeView+ depends on / blocked
 
Reported: 2016-01-11 13:37 UTC by Martin Prpič
Modified: 2021-02-17 04:31 UTC (History)
30 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-14 16:14:49 UTC
Embargoed:


Attachments (Terms of Use)
proposed patch (1.01 KB, text/plain)
2016-01-11 13:39 UTC, Martin Prpič
no flags Details

Description Martin Prpič 2016-01-11 13:37:11 UTC
A stack-based buffer overflow flaw was found in QEMU's gem_transmit() function.

The gem_transmit() function reads length of packet from physical memory then reads packet from physical memory to tx_packet[2048] with this length. This may result in a buffer overflow if the length of the packet is more than 2048.

Acknowledgements:

Red Hat would like to thank Ling Liu of Qihoo 360 Inc. for reporting this issue.

Comment 1 Martin Prpič 2016-01-11 13:39:20 UTC
Created attachment 1113613 [details]
proposed patch

Comment 2 Prasad Pandit 2016-01-14 16:12:08 UTC
This turned out to be a security non-issue.
  -> https://bugzilla.redhat.com/show_bug.cgi?id=1297427#c3


Note You need to log in before you can comment on or make changes to this bug.