tools to create and extract Squashfs filesystems
License
plougher/squashfs-tools
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
The kernel syszbot exploit [syzbot] [squashfs?] KASAN: slab-out-of-bounds Write in squashfs_readahead https://lore.kernel.org/all/0000000000009ea81a05f909a529@google.com/ contains a filesystem which causes Mksquashfs to SegV reading the xattr metadata when appending. This will also cause Unsquashfs to SegV when reading the xattr metadata, however, because Unsquashfs only reads the corrupted xattr metadata when writing the xattrs to the output filesystem, it discovers and aborts on another filesystem corruption issue before this happens. Reading the entire xattr metadata is done first by Mksquashfs when appending which is why it hits this filesystem corruption first. The SegV is caused by a corrupted xattrs_id[i].count, which is much larger than it should be. This causes the code to run past the end of the decompressed xattr metadata buffer. This patch fixes this by checking that the code doesn't run past the end of the buffer. In doing so it sanity checks xattrs_id[i].count, and the values of entry.size and val.vsize when reading the xattr metadata. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
c5a8619
Git stats
Files
Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
NEWS ---- Squashfs-tools 4.6.1 released (25th March 2023) If you like the recent releases please "star" the project. It will be nice to get 512 stars or more. Thanks
About
tools to create and extract Squashfs filesystems
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published