ci2 starts bisection 2024-11-17 00:56:59.9035353 +0000 UTC m=+112473.486528685 bisecting fixing commit since a59b32866cd44cf6c544b491c23720728552bc59 building syzkaller on cb976f63e0177b96eb9ce1c631cc5e2c4b4b0759 ensuring issue is reproducible on original commit a59b32866cd44cf6c544b491c23720728552bc59 testing commit a59b32866cd44cf6c544b491c23720728552bc59 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 650c908c4711d947feb00bfce7520b728b1e9cd21516c731ca4e927ad73dd1b4 run #0: crashed: kernel BUG in __block_commit_write run #1: crashed: kernel BUG in ext4_write_inline_data_end run #2: crashed: kernel BUG in ext4_write_inline_data_end run #3: crashed: kernel BUG in ext4_write_inline_data_end run #4: crashed: kernel BUG in __block_commit_write run #5: crashed: kernel BUG in ext4_write_inline_data_end run #6: crashed: kernel BUG in ext4_write_inline_data_end run #7: crashed: kernel BUG in __block_commit_write run #8: crashed: kernel BUG in ext4_write_inline_data_end run #9: crashed: kernel BUG in ext4_write_inline_data_end run #10: crashed: kernel BUG in ext4_write_inline_data_end run #11: crashed: kernel BUG in ext4_write_inline_data_end run #12: crashed: kernel BUG in __block_commit_write run #13: crashed: kernel BUG in __block_commit_write run #14: crashed: kernel BUG in ext4_write_inline_data_end run #15: crashed: kernel BUG in ext4_write_inline_data_end run #16: crashed: kernel BUG in ext4_write_inline_data_end run #17: crashed: kernel BUG in ext4_write_inline_data_end run #18: crashed: kernel BUG in ext4_write_inline_data_end run #19: crashed: kernel BUG in __block_commit_write representative crash: kernel BUG in __block_commit_write, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit a59b32866cd44cf6c544b491c23720728552bc59 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 08bff803e1eace9286b2fbd917bf63fa53774cdbff1280e10b0f9943dd3d0da3 all runs: crashed: kernel BUG in ext4_write_inline_data_end representative crash: kernel BUG in ext4_write_inline_data_end, types: [BUG] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=5179 full=6485 leaves diff=250 split chunks (needed=false): <250> split chunk #0 of len 250 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit a59b32866cd44cf6c544b491c23720728552bc59 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 36772b979f2107ffb73cc3361617d509fadb296cf0d054b2b7e221f1669fcaf7 all runs: crashed: kernel BUG in ext4_write_inline_data_end representative crash: kernel BUG in ext4_write_inline_data_end, types: [BUG] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit a59b32866cd44cf6c544b491c23720728552bc59 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d68e91abde6dbf5024e48e47c5a4a9bbc9f9dc9f0a4ca92d5416aa40e9de2fa1 all runs: crashed: kernel BUG in ext4_write_inline_data_end representative crash: kernel BUG in ext4_write_inline_data_end, types: [BUG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit a59b32866cd44cf6c544b491c23720728552bc59 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a51b519f8665556e7bb871bd6cc2a8d1be06c6f6092a31d4275aeb50efa47370 run #0: crashed: kernel BUG in __block_commit_write run #1: crashed: kernel BUG in ext4_write_inline_data_end run #2: crashed: kernel BUG in ext4_write_inline_data_end run #3: crashed: kernel BUG in ext4_write_inline_data_end run #4: crashed: kernel BUG in ext4_write_inline_data_end run #5: crashed: kernel BUG in ext4_write_inline_data_end run #6: crashed: kernel BUG in ext4_write_inline_data_end run #7: crashed: kernel BUG in ext4_write_inline_data_end run #8: crashed: kernel BUG in ext4_write_inline_data_end run #9: crashed: kernel BUG in ext4_write_inline_data_end representative crash: kernel BUG in __block_commit_write, types: [BUG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit a59b32866cd44cf6c544b491c23720728552bc59 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cc52261d8cb3e195b0d203e1582540adb044e658c2054386e074845db59465b1 run #0: crashed: kernel BUG in ext4_write_inline_data_end run #1: crashed: kernel BUG in __block_commit_write run #2: crashed: kernel BUG in ext4_write_inline_data_end run #3: crashed: kernel BUG in ext4_write_inline_data_end run #4: crashed: kernel BUG in ext4_write_inline_data_end run #5: crashed: kernel BUG in ext4_write_inline_data_end run #6: crashed: kernel BUG in ext4_write_inline_data_end run #7: crashed: kernel BUG in ext4_write_inline_data_end run #8: crashed: kernel BUG in ext4_write_inline_data_end run #9: crashed: kernel BUG in ext4_write_inline_data_end representative crash: kernel BUG in ext4_write_inline_data_end, types: [BUG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit a59b32866cd44cf6c544b491c23720728552bc59 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building a59b32866cd44cf6c544b491c23720728552bc59: net/socket.c:1225: undefined reference to `wext_handle_ioctl' net/socket.c:3420: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:329: undefined reference to `wext_proc_init' net/core/net-procfs.c:345: undefined reference to `wext_proc_exit' minimized to 50 configs; suspects: [HID_ZEROPLUS USB_NET_CDC_MBIM USB_NET_CDC_SUBSET USB_NET_CDC_SUBSET_ENABLE USB_NET_DM9601 USB_NET_GL620A USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_RNDIS_HOST USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD USB_OHCI_HCD_PCI USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_PRINTER USB_SERIAL_GENERIC USB_SERIAL_PL2303 USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_TRANCEVIBRATOR USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_WDM WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_PURELIFI WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_SILABS WLAN_VENDOR_ZYDAS X86_X32_ABI ZEROPLUS_FF] disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing current HEAD defe0024cfb0cf99ab17b4ed9b11ae6560488b2f testing commit defe0024cfb0cf99ab17b4ed9b11ae6560488b2f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: df893b7f04259c6690a4a0b80ea3637da1e1c51dc0a5deec51a68d2838709d8f all runs: OK false negative chance: 0.000 # git bisect start defe0024cfb0cf99ab17b4ed9b11ae6560488b2f a59b32866cd44cf6c544b491c23720728552bc59 Bisecting: 5778 revisions left to test after this (roughly 13 steps) [8866334e35102d054160a86750b7db9203f721f9] x86/efistub: Give up if memory attribute protocol returns an error determine whether the revision contains the guilty commit checking the merge base 52a953d0934b17a88f403b4135eb3cdf83d19f91 no existing result, test the revision testing commit 52a953d0934b17a88f403b4135eb3cdf83d19f91 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cc17cd66e700d03a7ff9397a5d6c8ed3b4a7bafa4d84ad98d2deb83ef64a30c8 run #0: crashed: kernel BUG in ext4_write_inline_data_end run #1: crashed: kernel BUG in ext4_write_inline_data_end run #2: crashed: kernel BUG in ext4_write_inline_data_end run #3: crashed: kernel BUG in __block_commit_write run #4: crashed: kernel BUG in __block_commit_write run #5: crashed: kernel BUG in ext4_write_inline_data_end run #6: crashed: kernel BUG in ext4_write_inline_data_end run #7: crashed: kernel BUG in ext4_write_inline_data_end run #8: crashed: kernel BUG in __block_commit_write run #9: crashed: kernel BUG in ext4_write_inline_data_end representative crash: kernel BUG in ext4_write_inline_data_end, types: [BUG] testing commit 8866334e35102d054160a86750b7db9203f721f9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6ed7756e154ac165eae81309f498504f54bd385800e3562ba680ee9d763b89a4 run #0: crashed: kernel BUG in ext4_write_inline_data_end run #1: crashed: kernel BUG in ext4_write_inline_data_end run #2: crashed: kernel BUG in ext4_write_inline_data_end run #3: crashed: kernel BUG in ext4_write_inline_data_end run #4: crashed: kernel BUG in ext4_write_inline_data_end run #5: crashed: kernel BUG in ext4_write_inline_data_end run #6: crashed: kernel BUG in ext4_write_inline_data_end run #7: crashed: kernel BUG in ext4_write_inline_data_end run #8: crashed: kernel BUG in ext4_write_inline_data_end run #9: crashed: kernel BUG in __block_commit_write representative crash: kernel BUG in ext4_write_inline_data_end, types: [BUG] # git bisect good 8866334e35102d054160a86750b7db9203f721f9 Bisecting: 2890 revisions left to test after this (roughly 12 steps) [3a16dc3ea891e453406ca28f9244ad594bb580d9] iomap: Fix iomap_adjust_read_range for plen calculation determine whether the revision contains the guilty commit revision 52a953d0934b17a88f403b4135eb3cdf83d19f91 crashed and is reachable testing commit 3a16dc3ea891e453406ca28f9244ad594bb580d9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d395d80d22059053e599ee93bb7b2a03bade5f7ea334c7f472971df4f73a9722 run #0: crashed: kernel BUG in ext4_write_inline_data_end run #1: crashed: kernel BUG in ext4_write_inline_data_end run #2: crashed: kernel BUG in __block_commit_write run #3: crashed: kernel BUG in ext4_write_inline_data_end run #4: crashed: kernel BUG in ext4_write_inline_data_end run #5: crashed: kernel BUG in ext4_write_inline_data_end run #6: crashed: kernel BUG in __block_commit_write run #7: crashed: kernel BUG in ext4_write_inline_data_end run #8: crashed: kernel BUG in ext4_write_inline_data_end run #9: crashed: kernel BUG in ext4_write_inline_data_end representative crash: kernel BUG in ext4_write_inline_data_end, types: [BUG] # git bisect good 3a16dc3ea891e453406ca28f9244ad594bb580d9 Bisecting: 1445 revisions left to test after this (roughly 11 steps) [4250dddafd4b2daaf2b8ac38c62237bf93299cc7] fuse: add request extension determine whether the revision contains the guilty commit revision 3a16dc3ea891e453406ca28f9244ad594bb580d9 crashed and is reachable testing commit 4250dddafd4b2daaf2b8ac38c62237bf93299cc7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: aae3f790bcf70213991cfd1750fe4d043ceba4d3f769b90d96f89afc453a07aa all runs: OK false negative chance: 0.000 # git bisect bad 4250dddafd4b2daaf2b8ac38c62237bf93299cc7 Bisecting: 722 revisions left to test after this (roughly 10 steps) [7804c186f76c0df8370635893843794aa1b1291c] smb3: fix setting SecurityFlags when encryption is required determine whether the revision contains the guilty commit revision 52a953d0934b17a88f403b4135eb3cdf83d19f91 crashed and is reachable testing commit 7804c186f76c0df8370635893843794aa1b1291c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 7804c186f76c0df8370635893843794aa1b1291c: ./include/linux/blk-integrity.h:181:9: error: returning 'struct bio_vec' from a function with incompatible result type 'struct bio_vec *'; take the address with & # git bisect skip 7804c186f76c0df8370635893843794aa1b1291c Bisecting: 721 revisions left to test after this (roughly 10 steps) [5b3642d2a7d56c5d8bc5d73c7ced012c565cb004] btrfs: avoid using fixed char array size for tree names determine whether the revision contains the guilty commit revision 3a16dc3ea891e453406ca28f9244ad594bb580d9 crashed and is reachable testing commit 5b3642d2a7d56c5d8bc5d73c7ced012c565cb004 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 5b3642d2a7d56c5d8bc5d73c7ced012c565cb004: ./include/linux/blk-integrity.h:181:9: error: returning 'struct bio_vec' from a function with incompatible result type 'struct bio_vec *'; take the address with & # git bisect skip 5b3642d2a7d56c5d8bc5d73c7ced012c565cb004 Bisecting: 721 revisions left to test after this (roughly 10 steps) [012be828a118bf496e666ef1fc47fc0e7358ada2] nilfs2: handle inconsistent state in nilfs_btnode_create_block() determine whether the revision contains the guilty commit revision 52a953d0934b17a88f403b4135eb3cdf83d19f91 crashed and is reachable testing commit 012be828a118bf496e666ef1fc47fc0e7358ada2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 53f414e71daf6852021261e8041d74eb2ad582187fa38aa308a51bd10bc68ce9 run #0: crashed: kernel BUG in ext4_write_inline_data_end run #1: crashed: kernel BUG in ext4_write_inline_data_end run #2: crashed: kernel BUG in ext4_write_inline_data_end run #3: crashed: kernel BUG in __block_commit_write run #4: crashed: kernel BUG in ext4_write_inline_data_end run #5: crashed: kernel BUG in __block_commit_write run #6: crashed: kernel BUG in ext4_write_inline_data_end run #7: crashed: kernel BUG in ext4_write_inline_data_end run #8: crashed: kernel BUG in __block_commit_write run #9: crashed: kernel BUG in ext4_write_inline_data_end representative crash: kernel BUG in ext4_write_inline_data_end, types: [BUG] # git bisect good 012be828a118bf496e666ef1fc47fc0e7358ada2 Bisecting: 490 revisions left to test after this (roughly 9 steps) [d7b57fbfa16f6ee1f7d8f01c2c582c47cf3cc9af] ext4: do not trim the group with corrupted block bitmap determine whether the revision contains the guilty commit revision 3a16dc3ea891e453406ca28f9244ad594bb580d9 crashed and is reachable testing commit d7b57fbfa16f6ee1f7d8f01c2c582c47cf3cc9af gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eb6d6ce6cbe54ec3408bfa6d236db4aed769dcfc4d8cd4417325507d4d08944b run #0: crashed: kernel BUG in __block_commit_write run #1: crashed: kernel BUG in __block_commit_write run #2: crashed: kernel BUG in ext4_write_inline_data_end run #3: crashed: kernel BUG in ext4_write_inline_data_end run #4: crashed: kernel BUG in ext4_write_inline_data_end run #5: crashed: kernel BUG in __block_commit_write run #6: crashed: kernel BUG in ext4_write_inline_data_end run #7: crashed: kernel BUG in ext4_write_inline_data_end run #8: crashed: kernel BUG in __block_commit_write run #9: crashed: kernel BUG in ext4_write_inline_data_end representative crash: kernel BUG in __block_commit_write, types: [BUG] # git bisect good d7b57fbfa16f6ee1f7d8f01c2c582c47cf3cc9af Bisecting: 245 revisions left to test after this (roughly 8 steps) [1817a1dfec2acd49cf6207200aa07ed557f3f5e3] mptcp: make pm_remove_addrs_and_subflows static determine whether the revision contains the guilty commit revision 3a16dc3ea891e453406ca28f9244ad594bb580d9 crashed and is reachable testing commit 1817a1dfec2acd49cf6207200aa07ed557f3f5e3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c2323949c3b66ef4995dc42ff9e4c564a8cab64b478040ebd5d5d21e860b4d96 run #0: crashed: kernel BUG in ext4_write_inline_data_end run #1: crashed: kernel BUG in ext4_write_inline_data_end run #2: crashed: kernel BUG in __block_commit_write run #3: crashed: kernel BUG in ext4_write_inline_data_end run #4: crashed: kernel BUG in ext4_write_inline_data_end run #5: crashed: kernel BUG in ext4_write_inline_data_end run #6: crashed: kernel BUG in __block_commit_write run #7: crashed: kernel BUG in ext4_write_inline_data_end run #8: crashed: kernel BUG in ext4_write_inline_data_end run #9: crashed: kernel BUG in ext4_write_inline_data_end representative crash: kernel BUG in ext4_write_inline_data_end, types: [BUG] # git bisect good 1817a1dfec2acd49cf6207200aa07ed557f3f5e3 Bisecting: 122 revisions left to test after this (roughly 7 steps) [29d6f70176617932be57dbbac7aa38c9967287b4] tracing: Avoid possible softlockup in tracing_iter_reset() determine whether the revision contains the guilty commit revision 1817a1dfec2acd49cf6207200aa07ed557f3f5e3 crashed and is reachable testing commit 29d6f70176617932be57dbbac7aa38c9967287b4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b01bf8788e5658c69aa303070cec74ffe5b4c8b9380a98ce14950aa93064b8e9 all runs: OK false negative chance: 0.000 # git bisect bad 29d6f70176617932be57dbbac7aa38c9967287b4 Bisecting: 60 revisions left to test after this (roughly 6 steps) [1227a242dd4f4a725118a1a3a777f39fb345b952] hwspinlock: Introduce hwspin_lock_bust() determine whether the revision contains the guilty commit revision 5b3642d2a7d56c5d8bc5d73c7ced012c565cb004 crashed and is reachable testing commit 1227a242dd4f4a725118a1a3a777f39fb345b952 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a39fbb08df8fa9f38f1a4db535fe3e387ce8920e9ba522c269adca6b08465301 run #0: crashed: kernel BUG in __block_commit_write run #1: crashed: kernel BUG in ext4_write_inline_data_end run #2: crashed: kernel BUG in ext4_write_inline_data_end run #3: crashed: kernel BUG in ext4_write_inline_data_end run #4: crashed: kernel BUG in ext4_write_inline_data_end run #5: crashed: kernel BUG in ext4_write_inline_data_end run #6: crashed: kernel BUG in ext4_write_inline_data_end run #7: crashed: kernel BUG in ext4_write_inline_data_end run #8: crashed: kernel BUG in __block_commit_write run #9: crashed: kernel BUG in ext4_write_inline_data_end representative crash: kernel BUG in __block_commit_write, types: [BUG] # git bisect good 1227a242dd4f4a725118a1a3a777f39fb345b952 Bisecting: 30 revisions left to test after this (roughly 5 steps) [27b3111f450c6ce9957bce749063ca8c7aa88d8a] i2c: Use IS_REACHABLE() for substituting empty ACPI functions determine whether the revision contains the guilty commit revision 012be828a118bf496e666ef1fc47fc0e7358ada2 crashed and is reachable testing commit 27b3111f450c6ce9957bce749063ca8c7aa88d8a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5a3ba9dd6172bf10d180d5f3a26abd4c156ac31427cf5b67abc7593355f8bf84 all runs: OK false negative chance: 0.000 # git bisect bad 27b3111f450c6ce9957bce749063ca8c7aa88d8a Bisecting: 14 revisions left to test after this (roughly 4 steps) [1bec77826fb194609f0c3ee7376bebf97eed6dce] hwmon: (k10temp) Check return value of amd_smn_read() determine whether the revision contains the guilty commit revision 8866334e35102d054160a86750b7db9203f721f9 crashed and is reachable testing commit 1bec77826fb194609f0c3ee7376bebf97eed6dce gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5350b0f77514c48154b78e09b4e8428048bd93542a1b52c9eaf47cc51d5e9d56 run #0: crashed: kernel BUG in ext4_write_inline_data_end run #1: crashed: kernel BUG in ext4_write_inline_data_end run #2: crashed: kernel BUG in ext4_write_inline_data_end run #3: crashed: kernel BUG in ext4_write_inline_data_end run #4: crashed: kernel BUG in ext4_write_inline_data_end run #5: crashed: kernel BUG in ext4_write_inline_data_end run #6: crashed: kernel BUG in ext4_write_inline_data_end run #7: crashed: kernel BUG in ext4_write_inline_data_end run #8: crashed: kernel BUG in __block_commit_write run #9: crashed: kernel BUG in ext4_write_inline_data_end representative crash: kernel BUG in ext4_write_inline_data_end, types: [BUG] # git bisect good 1bec77826fb194609f0c3ee7376bebf97eed6dce Bisecting: 7 revisions left to test after this (roughly 3 steps) [04d427e331f121a99348a328be044fa569f88e0a] media: uvcvideo: Enforce alignment of frame and interval determine whether the revision contains the guilty commit revision 1227a242dd4f4a725118a1a3a777f39fb345b952 crashed and is reachable testing commit 04d427e331f121a99348a328be044fa569f88e0a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b00243fbd379c07ee6dddcb07d7c18d99984fad92a8fccb6d1d8d7c5defefcdf run #0: crashed: kernel BUG in ext4_write_inline_data_end run #1: crashed: kernel BUG in ext4_write_inline_data_end run #2: crashed: kernel BUG in ext4_write_inline_data_end run #3: crashed: kernel BUG in ext4_write_inline_data_end run #4: crashed: kernel BUG in ext4_write_inline_data_end run #5: crashed: kernel BUG in __block_commit_write run #6: crashed: kernel BUG in ext4_write_inline_data_end run #7: crashed: kernel BUG in __block_commit_write run #8: crashed: kernel BUG in ext4_write_inline_data_end run #9: crashed: kernel BUG in __block_commit_write representative crash: kernel BUG in ext4_write_inline_data_end, types: [BUG] # git bisect good 04d427e331f121a99348a328be044fa569f88e0a Bisecting: 3 revisions left to test after this (roughly 2 steps) [63673a49d7a18569db3377a26bfffe7586fe5678] ext4: fix inode tree inconsistency caused by ENOMEM determine whether the revision contains the guilty commit revision 52a953d0934b17a88f403b4135eb3cdf83d19f91 crashed and is reachable testing commit 63673a49d7a18569db3377a26bfffe7586fe5678 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 295a132d6aafca7760522e5bbe339d56d28d2e621363c492fa715e07d6967041 run #0: crashed: kernel BUG in ext4_write_inline_data_end run #1: crashed: kernel BUG in ext4_write_inline_data_end run #2: crashed: kernel BUG in ext4_write_inline_data_end run #3: crashed: kernel BUG in __block_commit_write run #4: crashed: kernel BUG in __block_commit_write run #5: crashed: kernel BUG in ext4_write_inline_data_end run #6: crashed: kernel BUG in ext4_write_inline_data_end run #7: crashed: kernel BUG in ext4_write_inline_data_end run #8: crashed: kernel BUG in ext4_write_inline_data_end run #9: crashed: kernel BUG in ext4_write_inline_data_end representative crash: kernel BUG in ext4_write_inline_data_end, types: [BUG] # git bisect good 63673a49d7a18569db3377a26bfffe7586fe5678 Bisecting: 1 revision left to test after this (roughly 1 step) [02bcb6d00a11ff0252ee54ec20f757e7bc858a9f] ext4: reject casefold inode flag without casefold feature determine whether the revision contains the guilty commit revision 1bec77826fb194609f0c3ee7376bebf97eed6dce crashed and is reachable testing commit 02bcb6d00a11ff0252ee54ec20f757e7bc858a9f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 42c4d69808578871bd3d37d8d7e76241b6a37735d68adc9a67b14ee129fc79c7 all runs: OK false negative chance: 0.000 # git bisect bad 02bcb6d00a11ff0252ee54ec20f757e7bc858a9f Bisecting: 0 revisions left to test after this (roughly 0 steps) [6ac60f68b2dce541f874d2cf3426217b52e969ef] udf: Limit file size to 4TB determine whether the revision contains the guilty commit revision 7804c186f76c0df8370635893843794aa1b1291c crashed and is reachable testing commit 6ac60f68b2dce541f874d2cf3426217b52e969ef gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bc60e126495e36f21c124f1908eb29104e294ed129cf05627734d2e32be3d1a2 run #0: crashed: kernel BUG in ext4_write_inline_data_end run #1: crashed: kernel BUG in ext4_write_inline_data_end run #2: crashed: kernel BUG in __block_commit_write run #3: crashed: kernel BUG in ext4_write_inline_data_end run #4: crashed: kernel BUG in ext4_write_inline_data_end run #5: crashed: kernel BUG in ext4_write_inline_data_end run #6: crashed: kernel BUG in __block_commit_write run #7: crashed: kernel BUG in ext4_write_inline_data_end run #8: crashed: kernel BUG in __block_commit_write run #9: crashed: kernel BUG in __block_commit_write representative crash: kernel BUG in ext4_write_inline_data_end, types: [BUG] # git bisect good 6ac60f68b2dce541f874d2cf3426217b52e969ef 02bcb6d00a11ff0252ee54ec20f757e7bc858a9f is the first bad commit commit 02bcb6d00a11ff0252ee54ec20f757e7bc858a9f Author: Eric Biggers Date: Mon Aug 14 11:29:01 2023 -0700 ext4: reject casefold inode flag without casefold feature commit 8216776ccff6fcd40e3fdaa109aa4150ebe760b3 upstream. It is invalid for the casefold inode flag to be set without the casefold superblock feature flag also being set. e2fsck already considers this case to be invalid and handles it by offering to clear the casefold flag on the inode. __ext4_iget() also already considered this to be invalid, sort of, but it only got so far as logging an error message; it didn't actually reject the inode. Make it reject the inode so that other code doesn't have to handle this case. This matches what f2fs does. Note: we could check 's_encoding != NULL' instead of ext4_has_feature_casefold(). This would make the check robust against the casefold feature being enabled by userspace writing to the page cache of the mounted block device. However, it's unsolvable in general for filesystems to be robust against concurrent writes to the page cache of the mounted block device. Though this very particular scenario involving the casefold feature is solvable, we should not pretend that we can support this model, so let's just check the casefold feature. tune2fs already forbids enabling casefold on a mounted filesystem. Signed-off-by: Eric Biggers Link: https://lore.kernel.org/r/20230814182903.37267-2-ebiggers@kernel.org Signed-off-by: Theodore Ts'o Signed-off-by: Greg Kroah-Hartman fs/ext4/inode.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) accumulated error probability: 0.00 culprit signature: 42c4d69808578871bd3d37d8d7e76241b6a37735d68adc9a67b14ee129fc79c7 parent signature: bc60e126495e36f21c124f1908eb29104e294ed129cf05627734d2e32be3d1a2 revisions tested: 22, total time: 4h57m15.771331707s (build: 1h17m12.743404396s, test: 3h32m10.47670753s) first good commit: 02bcb6d00a11ff0252ee54ec20f757e7bc858a9f ext4: reject casefold inode flag without casefold feature recipients (to): ["ebiggers@google.com" "gregkh@linuxfoundation.org" "tytso@mit.edu"] recipients (cc): []