Description of problem: The blkif_get_x86_32_req() and blkif_get_x86_64_req() functions don't sanity-check the req->nr_segments value. The functions are part of the 32-on-64 support. They translate block I/O request structs from 32bit ABI to 64bit ABI and visa versa. They are used in case 32bit paravirtualized guests (or 32bit hvm guests with pv-on-hvm drivers installed) are running on a 64bit host. Version-Release number of selected component (if applicable): RHEL 5.1 kernel.
Created attachment 250031 [details] suggested patch (against upstream mercurial repository).
Created attachment 250281 [details] patch version for rhe5.1 kernel
Hmm, /me can't ask for rhel‑5.1.z ack ...
Attaching link to upstream commit yet: http://xenbits.xensource.com/linux-2.6.18-xen.hg?diff/cf8b6cafa2f0/include/xen/blkif.h
This patch was committed long ago; closing out this tracker bug. Chris Lalancette