Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
qemu.12301
0120-net-vmxnet-initialise-local-tx-desc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0120-net-vmxnet-initialise-local-tx-desc.patch of Package qemu.12301
From 2dcb2e7fd253064c3c1010d50bd18ae21f5763f8 Mon Sep 17 00:00:00 2001 From: Li Qiang <liqiang6-s@360.cn> Date: Wed, 10 Aug 2016 13:17:00 -0600 Subject: [PATCH] net: vmxnet: initialise local tx descriptor In Vmxnet3 device emulator while processing transmit(tx) queue, when it reaches end of packet, it calls vmxnet3_complete_packet. In that local 'txcq_descr' object is not initialised, which could leak host memory bytes a guest. Reported-by: Li Qiang <liqiang6-s@360.cn> Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org> [BR: CVE-2016-6836 BSC#994760] Signed-off-by: Bruce Rogers <brogers@suse.com> --- hw/net/vmxnet3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/net/vmxnet3.c b/hw/net/vmxnet3.c index be7702ecf7..6e4d590436 100644 --- a/hw/net/vmxnet3.c +++ b/hw/net/vmxnet3.c @@ -499,6 +499,7 @@ static void vmxnet3_complete_packet(VMXNET3State *s, int qidx, uint32 tx_ridx) VMXNET3_RING_DUMP(VMW_RIPRN, "TXC", qidx, &s->txq_descr[qidx].comp_ring); + memset(&txcq_descr, 0, sizeof(txcq_descr)); txcq_descr.txdIdx = tx_ridx; txcq_descr.gen = vmxnet3_ring_curr_gen(&s->txq_descr[qidx].comp_ring);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor