Bug 1329538 (CVE-2016-7909)

Summary: CVE-2016-7909 Qemu: net: pcnet: infinite loop in pcnet_rdra_addr()
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abaron, ailan, alonbl, aortega, apevec, areis, ayoung, bmcclain, chrisw, crobinso, cvsbot-xmlrpc, dallan, dblechte, drjones, eedri, gkotton, imammedo, jen, jjoyce, jschluet, kbasil, knoel, lhh, lpeer, markmc, mgoldboi, michal.skrivanek, mkenneth, mrezanin, mst, pbonzini, ppandit, rbalakri, rbryant, rkrcmar, sclewis, security-response-team, sherold, srevivo, tdecacqu, virt-maint, vkuznets, ykaul, ylavi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-07 07:32:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1381196    
Bug Blocks: 1326713    
Attachments:
Description Flags
GDB report none

Description Adam Mariš 2016-04-22 08:01:01 UTC
Quick Emulator(Qemu) built with the AMD PC-Net II emulator support is vulnerable to an infinite loop issue. It could occur while receiving packets via pcnet_receive().

A privileged user/process inside guest could use this issue to crash the Qemu process on the host leading to DoS.

Upstream patch
--------------
  -> https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg07942.html

Comment 1 Adam Mariš 2016-04-22 08:01:23 UTC
Acknowledgments:

Name: Li Qiang (Qihoo 360 Inc.)

Comment 2 Adam Mariš 2016-04-22 08:15:26 UTC
Created attachment 1149665 [details]
GDB report

Comment 4 Prasad Pandit 2016-10-03 11:48:07 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1381196]

Comment 5 Andrej Nemec 2016-10-04 08:08:06 UTC
CVE assignment:

http://seclists.org/oss-sec/2016/q4/12

Comment 6 Cole Robinson 2017-01-16 18:15:45 UTC
commit 34e29ce754c02bb6b3bdd244fbb85033460feaff
Author: Prasad J Pandit <pjp>
Date:   Fri Sep 30 00:27:33 2016 +0530

    net: pcnet: check rx/tx descriptor ring length

Comment 7 Prasad Pandit 2017-02-07 07:30:52 UTC
*** Bug 1329596 has been marked as a duplicate of this bug. ***