[PATCH 0/2] nilfs2: fix UBSAN shift-out-of-bounds warnings on mount time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrew,

please apply the following bug fixes to -mm tree:

Ryusuke Konishi (2):
  nilfs2: fix shift-out-of-bounds/overflow in nilfs_sb2_bad_offset()
  nilfs2: fix shift-out-of-bounds due to too large exponent of block
    size

The first patch fixes a reported bug by syzbot, and the second one
fixes the remaining bug of the same kind.  Although they are triggered
by the same super block data anomaly, I divided it into the above two
because the details of the issues and how to fix it are different.

Both are required to eliminate the shift-out-of-bounds issues on mount time.

Thanks,
Ryusuke Konishi

 fs/nilfs2/the_nilfs.c | 73 ++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 65 insertions(+), 8 deletions(-)

-- 
2.34.1




[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux