A flaw was found in the USB redirector device (usb-redir) of QEMU. Small USB packets are combined into a single, large transfer request, to reduce the overhead and improve performance. The combined size of the bulk transfer is used to dynamically allocate a variable length array (VLA) on the stack without proper validation. Since the total size is not bounded, a malicious guest could use this flaw to influence the array length and cause the QEMU process to perform an excessive allocation on the stack, resulting in a denial of service.
{
"binaries": [
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-common"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-guest-agent"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-keymaps"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-kvm"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-system"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-system-aarch64"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-system-arm"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-system-common"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-system-mips"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-system-misc"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-system-ppc"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-system-sparc"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-system-x86"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-user"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-user-static"
},
{
"binary_version": "2.0.0+dfsg-2ubuntu1.47+esm4",
"binary_name": "qemu-utils"
}
]
}
{
"binaries": [
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-block-extra"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-guest-agent"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-kvm"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-system"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-system-aarch64"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-system-arm"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-system-common"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-system-mips"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-system-misc"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-system-ppc"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-system-s390x"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-system-sparc"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-system-x86"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-user"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-user-binfmt"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-user-static"
},
{
"binary_version": "1:2.5+dfsg-5ubuntu10.51+esm3",
"binary_name": "qemu-utils"
}
]
}
{
"availability": "No subscription required",
"binaries": [
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-block-extra"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-guest-agent"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-kvm"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-system"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-system-arm"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-system-common"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-system-mips"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-system-misc"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-system-ppc"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-system-s390x"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-system-sparc"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-system-x86"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-user"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-user-binfmt"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-user-static"
},
{
"binary_version": "1:2.11+dfsg-1ubuntu7.37",
"binary_name": "qemu-utils"
}
]
}
{
"availability": "No subscription required",
"binaries": [
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-block-extra"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-guest-agent"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-kvm"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-system"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-system-arm"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-system-common"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-system-data"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-system-gui"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-system-mips"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-system-misc"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-system-ppc"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-system-s390x"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-system-sparc"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-system-x86"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-system-x86-microvm"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-system-x86-xen"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-user"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-user-binfmt"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-user-static"
},
{
"binary_version": "1:4.2-3ubuntu6.17",
"binary_name": "qemu-utils"
}
]
}
{
"availability": "No subscription required",
"binaries": [
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-block-extra"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-guest-agent"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-system"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-system-arm"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-system-common"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-system-data"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-system-gui"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-system-mips"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-system-misc"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-system-ppc"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-system-s390x"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-system-sparc"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-system-x86"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-system-x86-microvm"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-system-x86-xen"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-user"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-user-binfmt"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-user-static"
},
{
"binary_version": "1:6.0+dfsg-2expubuntu1",
"binary_name": "qemu-utils"
}
]
}