Re: [PATCH v2 2/2] Btrfs: add valid checks for chunk loading

2016-06-06 Thread David Sterba
On Fri, Jun 03, 2016 at 12:05:15PM -0700, Liu Bo wrote: > To prevent fuzz filesystem images from panic the whole system, > we need various validation checks to refuse to mount such an image > if btrfs finds any invalid value during loading chunks, including > both sys_array and regular chunks. >

[PATCH v2 2/2] Btrfs: add valid checks for chunk loading

2016-06-03 Thread Liu Bo
To prevent fuzz filesystem images from panic the whole system, we need various validation checks to refuse to mount such an image if btrfs finds any invalid value during loading chunks, including both sys_array and regular chunks. Note that these checks may not be sufficient to cover all corner