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

From
Andrew Donnellan <hidden>
Date
2020-04-06 00:31:50
Also in
lkml, virtualization
Reply to
unknown sender, 2020-04-05
On 6/4/20 6:40 am, andrew@daynix.com wrote:
From: Andrew Melnychenko <redacted>

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@vger.kernel.org.

-- 
Andrew Donnellan              OzLabs, ADL Canberra
ajd@linux.ibm.com             IBM Australia Limited
Thread (2 messages) 2 messages, 2 authors, last reply 2020-04-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help