diff options
author | P J P <pjp@fedoraproject.org> | 2015-09-15 16:40:49 +0530 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2015-09-21 17:04:14 -0500 |
commit | 7aa2bcad0ca837dd6d4bf4fa38a80314b4a6b755 (patch) | |
tree | 4dec735f76a2132c3e74d11d2f59cbbda7eeb6c9 /kvm-stub.c | |
parent | 3a56af1fbc17ff453f6e90fb08ce0c0e6fd0b61b (diff) |
net: add checks to validate ring buffer pointers(CVE-2015-5279)
Ne2000 NIC uses ring buffer of NE2000_MEM_SIZE(49152)
bytes to process network packets. While receiving packets
via ne2000_receive() routine, a local 'index' variable
could exceed the ring buffer size, which could lead to a
memory buffer overflow. Added other checks at initialisation.
Reported-by: Qinghao Tang <luodalongde@gmail.com>
Signed-off-by: P J P <pjp@fedoraproject.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit 9bbdbc66e5765068dce76e9269dce4547afd8ad4)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'kvm-stub.c')
0 files changed, 0 insertions, 0 deletions