# Re: \[PATCH\] Fix: buffer overflow during hvc\_alloc().

- From: Andrew Donnellan \<hidden\>
- Date: 2020-04-06 00:31:50 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2020/04/5918592
- Thread: https://ratatoskr.run/linuxppc-dev/2020/04/5918532/t.md

```text
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

```
