# git rev-parse -q --verify c00c5e1d157bec0ef0b0b59aa5482eb8dc7e8e49^{commit} c00c5e1d157bec0ef0b0b59aa5482eb8dc7e8e49 already have revision, skipping fetch # git checkout -q -f -B kisskb c00c5e1d157bec0ef0b0b59aa5482eb8dc7e8e49 # git clean -qxdf # < git log -1 # commit c00c5e1d157bec0ef0b0b59aa5482eb8dc7e8e49 # Merge: 2e5991fa39e4 23e3d7f7061f # Author: Linus Torvalds # Date: Fri Apr 22 18:18:27 2022 -0700 # # Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 # # Pull ext4 fixes from Ted Ts'o: # "Fix some syzbot-detected bugs, as well as other bugs found by I/O # injection testing. # # Change ext4's fallocate to consistently drop set[ug]id bits when an # fallocate operation might possibly change the user-visible contents of # a file. # # Also, improve handling of potentially invalid values in the the # s_overhead_cluster superblock field to avoid ext4 returning a negative # number of free blocks" # # * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: # jbd2: fix a potential race while discarding reserved buffers after an abort # ext4: update the cached overhead value in the superblock # ext4: force overhead calculation if the s_overhead_cluster makes no sense # ext4: fix overhead calculation to account for the reserved gdt blocks # ext4, doc: fix incorrect h_reserved size # ext4: limit length to bitmap_maxbytes - blocksize in punch_hole # ext4: fix use-after-free in ext4_search_dir # ext4: fix bug_on in start_this_handle during umount filesystem # ext4: fix symlink file size not match to file content # ext4: fix fallocate to use file_modified to update permissions consistently # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 c00c5e1d157bec0ef0b0b59aa5482eb8dc7e8e49 # < make -s -j 120 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- randconfig # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # < make -s -j 120 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 120 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 120 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- /kisskb/src/lib/test_kasan.c: In function 'krealloc_more_oob_helper.constprop': /kisskb/src/lib/test_kasan.c:301:59: warning: array subscript 235 is outside array bounds of 'char[235]' [-Warray-bounds] 301 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:290:16: note: referencing an object of size 235 allocated by 'krealloc' 290 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:305:59: warning: array subscript 240 is outside array bounds of 'char[235]' [-Warray-bounds] 305 | ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:290:16: note: referencing an object of size 235 allocated by 'krealloc' 290 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c: In function 'krealloc_less_oob_helper.constprop': /kisskb/src/lib/test_kasan.c:330:59: warning: array subscript 201 is outside array bounds of 'char[201]' [-Warray-bounds] 330 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:334:59: warning: array subscript 208 is outside array bounds of 'char[201]' [-Warray-bounds] 334 | ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:344:52: warning: array subscript 218 is outside array bounds of 'char[201]' [-Warray-bounds] 344 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[middle] = 'x'); | ~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:345:55: warning: array subscript 234 is outside array bounds of 'char[201]' [-Warray-bounds] 345 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size1 - 1] = 'x'); | ~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:346:51: warning: array subscript 235 is outside array bounds of 'char[201]' [-Warray-bounds] 346 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size1] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 # Build took: 0:03:44.722445