Hello,
syzbot has tested the proposed patch and the reproducer did not trigger
crash:
Reported-and-tested-by:
syzbot+730517f1d3fbe54a17c7@xxxxxxxxxxxxxxxxxxxxxxxxx
Note: the tag will also help syzbot to understand when the bug is fixed.
Tested on git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git/dev
commit
efeeadec84052f77731c1a438a0c53e8323a2931 (Sat Mar 31 00:04:11 2018 +0000)
ext4: add extra checks to ext4_xattr_block_get()
compiler: gcc (GCC) 7.1.1 20170620
Patch: https://syzkaller.appspot.com/x/patch.diff?id=6191315272335360
Kernel config:
https://syzkaller.appspot.com/x/.config?id=-8698589779649233149
---
There is no WARRANTY for the result, to the extent permitted by applicable
law.
Except when otherwise stated in writing syzbot provides the result "AS IS"
without warranty of any kind, either expressed or implied, but not limited
to,
the implied warranties of merchantability and fittness for a particular
purpose.
The entire risk as to the quality of the result is with you. Should the
result
prove defective, you assume the cost of all necessary servicing, repair or
correction.