← Back to team overview

kernel-packages team mailing list archive

[Bug 1435441] Re: btrfs: invalid size on resize ioctl is ignored and not flagged up as an error (trusty)

 

This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
trusty' to 'verification-done-trusty'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-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