Bug 9013

Summary: qemu: several missing CVES
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Armin Kuster <akuster>
Component: coreAssignee: Armin Kuster <akuster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher
Version: 1.8.2   
Target Milestone: 1.8.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Armin Kuster 2016-01-29 02:03:22 UTC
CVE-2015-8504 Qemu: ui: vnc: avoid floating point exception 
CVE-2015-3209 qemu: pcnet: multi-tmd buffer overflow in the tx path
CVE-2015-8556 Qemu: virtfs: local privilege escalation via virtfs-proxy-helper
CVE-2016-1568 Qemu: ide: ahci use-after-free vulnerability in aio port commands 
CVE-2016-1714 Qemu: nvram: OOB r/w access in processing firmware configurations 
CVE-2015-8345 Qemu: net: eepro100: infinite loop in processing command block list
CVE-2015-7512 Qemu: net: pcnet: buffer overflow in non-loopback mod 
CVE-2015-7504 Qemu: net: pcnet: heap overflow vulnerability in loopback mode 

I know Jethro and Fido are affected.

Master is at 2.5 but the sources need to be double check
Comment 1 Armin Kuster 2016-01-29 15:40:54 UTC
Jethro has the code for this fix. CVE-2015-3209
Comment 2 Armin Kuster 2016-01-29 16:05:17 UTC
CVE-2016-1714 - function affected removed in 2.4+

static void fw_cfg_write(FWCfgState *s, uint8_t value)
{
    /* nothing, write support removed in QEMU v2.4+ */
}
Comment 3 Armin Kuster 2016-01-29 19:23:50 UTC
CVE-2015-8556. from what I can tell we do not build by default virtfs so we should not be affected.
Comment 4 Armin Kuster 2016-01-29 19:48:43 UTC
lets add this one too.

CVE-2015-7295 Qemu: net: virtio-net possible remote DoS
Comment 5 Armin Kuster 2016-01-29 20:37:23 UTC
jethro changes posted.

http://patches.openembedded.org/patch/114057/
Comment 6 Armin Kuster 2016-02-05 14:09:11 UTC
Jethro fixed.
Comment 7 Armin Kuster 2016-02-08 22:11:23 UTC
fido fixed
Comment 8 Armin Kuster 2016-02-08 23:44:02 UTC
master needs CVE-2016-1568. patch in process
Comment 9 Armin Kuster 2016-02-09 01:32:52 UTC
patch for master sent