Skip to content

Audit all raw images used in testsuite #772

Open
@kdave

Description

@kdave

In the light of xz backdoor and the way the payload got in via the testsuite, let's do an audit just in case. Most images come from known people (for the btrfs check cases), however some images have been copied from bugzilla.kernel.org reports without change (fuzz-tests/images). Image formats are either raw partition (plain or compressed by ehm xz) or the custom image dump format managed by btrfs-image (also plain or compressed).

Task list:

  • go through all images and make a list of the problamatic ones
  • look which images could be replaced by a series of steps to recreate the state, add/update tools to do the changes on fresh images
  • look for other binary blobs like partition layout for loop devices
  • document how images should be created as needed instead of blobs

Expected result is minimal number of blobs, better tools for fuzz and targeted corruption testing. As a bonus the internal image format should be documented and fuzzed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsChanges in documentation or help textenhancementmeta/testsTestsuite and test cases

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions