[PATCH] Fix: buffer overflow during hvc_alloc().

Andrew Donnellan ajd at linux.ibm.com
Mon Apr 6 10:31:40 AEST 2020


On 6/4/20 6:40 am, andrew at daynix.com wrote:
> From: Andrew Melnychenko <andrew at daynix.com>
> 
> If there is a lot(more then 16) of virtio-console devices
> or virtio_console module is reloaded
> - buffers 'vtermnos' and 'cons_ops' are overflowed.
> In older kernels it overruns spinlock which leads to kernel freezing:
> https://bugzilla.redhat.com/show_bug.cgi?id=1786239
> 

This Bugzilla report isn't publicly accessible. Can you include a 
relevant summary here and/or make the report publicly viewable?

If it does indeed lead to a kernel freeze, this should be tagged with a 
Fixes: and a Cc: stable at vger.kernel.org.

-- 
Andrew Donnellan              OzLabs, ADL Canberra
ajd at linux.ibm.com             IBM Australia Limited



More information about the Linuxppc-dev mailing list