kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #110515
[Bug 1435441] Re: btrfs: invalid size on resize ioctl is ignored and not flagged up as an error (trusty)
uname -a
Linux ubuntu 3.13.0-49-generic #81-Ubuntu SMP Tue Mar 24 19:29:48 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Verified with -proposed kernel.
** Tags removed: verification-needed-trusty
** Tags added: verification-done-trusty
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1435441
Title:
btrfs: invalid size on resize ioctl is ignored and not flagged up as
an error (trusty)
Status in linux package in Ubuntu:
In Progress
Bug description:
SRU Justification: (Trusty)
[Impact]
Illegal and/or incorrect btrfs resize parameters can be passed to the btrfs_ioctl_resize handler and it is not picked up as an error.
[Fix]
upstream commit 9a40f1222a372de77344d85d31f8fe0e1c0e60e7
"btrfs: filter invalid arg for btrfs resize"
this is a simple parsing check, risk is low to zero.
[Testcase]
# btrfs fi resize -10A <mnt>
# btrfs fi resize -10Gaha <mnt>
These should fail with -EINVAL. Without the fix, they don't. With the
fix they do.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1435441/+subscriptions
References