Messages in this thread | | | Subject | Re: [PATCH] zram: set physical queue limits to avoid array out of bounds accesses | From | Jens Axboe <> | Date | Mon, 6 Mar 2017 13:19:56 -0700 |
| |
On 03/06/2017 01:18 PM, Andrew Morton wrote: > On Mon, 6 Mar 2017 08:21:11 -0700 Jens Axboe <axboe@fb.com> wrote: > >> On 03/06/2017 03:23 AM, Johannes Thumshirn wrote: >>> zram can handle at most SECTORS_PER_PAGE sectors in a bio's bvec. When using >>> the NVMe over Fabrics loopback target which potentially sends a huge bulk of >>> pages attached to the bio's bvec this results in a kernel panic because of >>> array out of bounds accesses in zram_decompress_page(). >> >> Applied, thanks. > > With an added cc:stable, hopefully?
I didn't. But I can email it to stable@ when it lands in Linus's tree.
-- Jens Axboe
| |