Re: [Intel-wired-lan] [PATCH v2 5/6] cio: ensure the copied buf is NUL terminated

2024-04-26 Thread Alexander Gordeev
On Wed, Apr 24, 2024 at 05:16:56PM +0200, Alexander Gordeev wrote: > Applied, thanks! Hi Jakub, I just want to make sure you do not have plans to pull this patch via the net tree, right? (I schedulled it for the s390 tree already). Thanks!

Re: [Intel-wired-lan] [PATCH v2 5/6] cio: ensure the copied buf is NUL terminated

2024-04-24 Thread Alexander Gordeev
On Wed, Apr 24, 2024 at 09:44:22PM +0700, Bui Quang Minh wrote: > Currently, we allocate a lbuf-sized kernel buffer and copy lbuf from > userspace to that buffer. Later, we use scanf on this buffer but we don't > ensure that the string is terminated inside the buffer, this can lead to > OOB read wh