oss-sec mailing list archives

CVE request - kernel: bonding: Incorrect TX queue offset


From: Eugene Teo <eugene () redhat com>
Date: Wed, 13 Apr 2011 13:57:55 +0800

Backport of upstream commit:
fd0e435b0fe85622f167b84432552885a4856ac8 bonding: Incorrect TX queue offset

By default bonding only allocates 16 queues. Devices that have more than 16 receive queues will exceed the tx queue index for the bonding device, resulting in at least a denial of service (BUG: unable to handle kernel paging request at...).

For proper queue allocation, in the bonding driver and down to the devices, they should probably add the following line to one of the files in /etc/modprobe.d/

options bonding tx_queues=N

where N>= number of processors that show up in /proc/cpuinfo.

https://bugzilla.redhat.com/show_bug.cgi?id=696029
http://git.kernel.org/linus/fd0e435b0fe85622f167b84432552885a4856ac8

Thanks, Eugene
--
main(i) { putchar(182623909 >> (i-1) * 5&31|!!(i<7)<<6) && main(++i); }


Current thread: