Bug 1227634 (CVE-2015-3215)

Summary: CVE-2015-3215 virtio-win: netkvm: malformed packet can cause BSOD
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ailan, juzhang, knoel, virt-maint, vrozenfe
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
It was found that the Windows Virtio NIC driver did not sufficiently sanitize the length of the incoming IP packets, as demonstrated by a packet with IP options present but the overall packet length not being adjusted to reflect the length of those options. A remote attacker able to send a specially crafted IP packet to the guest could use this flaw to crash that guest.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-21 00:45:49 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: 1169718, 1172091, 1207168, 1210208, 1210211    
Bug Blocks: 1169740    

Description Petr Matousek 2015-06-03 08:14:25 UTC
It was found that the Windows Virtio NIC driver did not sufficiently sanitize the length of the incoming IP packets, as demonstrated by a packet with IP options present but the overall packet length not being adjusted to reflect the length of those options.

A remote attacker able to send a specially crafted IP packet to the guest could use this flaw to crash that guest.

Upstream commits:

https://github.com/YanVugenfirer/kvm-guest-drivers-windows/commit/723416fa4210b7464b28eab89cc76252e6193ac1
https://github.com/YanVugenfirer/kvm-guest-drivers-windows/commit/fbfa4d1083ea84c5429992ca3e996d7d4fbc8238

Acknowledgements:

Red Hat would like to thank Google Project Zero for reporting this issue.

Comment 1 Petr Matousek 2015-06-03 08:31:32 UTC
Statement:

This issue does affect the virtio-win packages as shipped with Red Hat Enteprise Linux 6 and 7. Future updates for the respective releases will address this issue.

Comment 3 errata-xmlrpc 2015-06-03 09:50:57 UTC
This issue has been addressed in the following products:

  Supplementary for Red Hat Enterprise Linux 6

Via RHSA-2015:1043 https://rhn.redhat.com/errata/RHSA-2015-1043.html

Comment 4 errata-xmlrpc 2015-06-03 10:10:05 UTC
This issue has been addressed in the following products:

  Supplementary for Red Hat Enterprise Linux 7

Via RHSA-2015:1044 https://rhn.redhat.com/errata/RHSA-2015-1044.html