Re: [PATCH] Fix: buffer overflow during hvc_alloc().
From: Andrew Donnellan
Date: Sun Apr 05 2020 - 20:31:54 EST
On 6/4/20 6:40 am, andrew@xxxxxxxxxx wrote:
From: Andrew Melnychenko <andrew@xxxxxxxxxx>
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@xxxxxxxxxxxxxxxx
--
Andrew Donnellan OzLabs, ADL Canberra
ajd@xxxxxxxxxxxxx IBM Australia Limited