Incorrect patch of btrfs_ioctl_space_info

Discuss and suggest new grsecurity features

Moderators: spender, PaX Team

Incorrect patch of btrfs_ioctl_space_info

Postby eswierk » Wed Mar 25, 2015 12:11 pm

The changes to btrfs_ioctl_space_info() (fs/btrfs/ioctl.c) in grsecurity-3.1-3.14.36-201503182218.patch are incorrect and should be removed.

According to https://lkml.org/lkml/2011/2/9/172, slot_count should be decremented and checked within the for loop, not outside it.
eswierk
 
Posts: 4
Joined: Wed Mar 25, 2015 12:04 pm

Re: Incorrect patch of btrfs_ioctl_space_info

Postby spender » Wed Mar 25, 2015 5:01 pm

Thanks for spotting this! It will be fixed in the next patches.

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm
Location: VA, USA


Return to grsecurity development