Quoting Chris Wilson (2019-03-14 07:58:29) > We assumed that vm_mmap() would reject an attempt to mmap past the end of > the filp (our object), but we were wrong. Applications that tried to use the mmap beyond the end of the object would be greeted by a SIGBUS. > Reported-by: Antonio Argenziano <antonio.argenziano@xxxxxxxxx> > Testcase: igt/gem_mmap/bad-size > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Antonio Argenziano <antonio.argenziano@xxxxxxxxx> > Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> > Cc: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx