# git rev-parse -q --verify 01cfb7937a9af2abb1136c7e89fbf3fd92952956^{commit} 01cfb7937a9af2abb1136c7e89fbf3fd92952956 already have revision, skipping fetch # git checkout -q -f -B kisskb 01cfb7937a9af2abb1136c7e89fbf3fd92952956 # git clean -qxdf # < git log -1 # commit 01cfb7937a9af2abb1136c7e89fbf3fd92952956 # Author: Linus Torvalds # Date: Sun Jul 29 12:44:46 2018 -0700 # # squashfs: be more careful about metadata corruption # # Anatoly Trosinenko reports that a corrupted squashfs image can cause a # kernel oops. It turns out that squashfs can end up being confused about # negative fragment lengths. # # The regular squashfs_read_data() does check for negative lengths, but # squashfs_read_metadata() did not, and the fragment size code just # blindly trusted the on-disk value. Fix both the fragment parsing and # the metadata reading code. # # Reported-by: Anatoly Trosinenko # Cc: Al Viro # Cc: Phillip Lougher # Cc: stable@kernel.org # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-gcc --version # < git log --format=%s --max-count=1 01cfb7937a9af2abb1136c7e89fbf3fd92952956 # < make -s -j 120 ARCH=arm64 O=/kisskb/build/linus_arm64-defconfig_arm64 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- defconfig # make -s -j 120 ARCH=arm64 O=/kisskb/build/linus_arm64-defconfig_arm64 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:40: LSE atomics not supported by binutils :1335:2: warning: #warning syscall rseq not implemented [-Wcpp] Completed OK # rm -rf /kisskb/build/linus_arm64-defconfig_arm64 # Build took: 0:01:35.014890