ci2 starts bisection 2024-08-23 15:03:19.563259115 +0000 UTC m=+13328.453399414 bisecting fixing commit since 7b148974607906d1e0bb0b276deb3fb6def47432 building syzkaller on a4ae4f428721da42ac15f07d6f3b54584dedee27 ensuring issue is reproducible on original commit 7b148974607906d1e0bb0b276deb3fb6def47432 testing commit 7b148974607906d1e0bb0b276deb3fb6def47432 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ad95d00aa77f2ebdd0dd379aec8e1e1d4f5a3c01b4755af897e208c310ff77b6 run #0: crashed: kernel BUG in __ext4_journal_stop run #1: crashed: kernel BUG in __ext4_journal_stop run #2: crashed: kernel BUG in ext4_writepages run #3: crashed: kernel BUG in ext4_writepages run #4: crashed: kernel BUG in ext4_writepages run #5: crashed: kernel BUG in __ext4_journal_stop run #6: crashed: kernel BUG in ext4_writepages run #7: crashed: kernel BUG in ext4_writepages run #8: crashed: kernel BUG in ext4_writepages run #9: crashed: kernel BUG in ext4_writepages run #10: crashed: kernel BUG in __ext4_journal_stop run #11: crashed: kernel BUG in ext4_writepages run #12: crashed: kernel BUG in ext4_writepages run #13: crashed: kernel BUG in __ext4_journal_stop run #14: crashed: kernel BUG in __ext4_journal_stop run #15: crashed: kernel BUG in ext4_writepages run #16: crashed: kernel BUG in ext4_writepages run #17: crashed: kernel BUG in __ext4_journal_stop run #18: crashed: kernel BUG in __ext4_journal_stop run #19: crashed: kernel BUG in __ext4_journal_stop representative crash: kernel BUG in __ext4_journal_stop, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 7b148974607906d1e0bb0b276deb3fb6def47432 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e24ac21980161f660ead65ae44d27c734b281ffaf536c272810c387d25cd0232 run #0: crashed: kernel BUG in ext4_writepages run #1: crashed: kernel BUG in ext4_writepages run #2: crashed: kernel BUG in __ext4_journal_stop run #3: crashed: kernel BUG in ext4_writepages run #4: crashed: kernel BUG in ext4_writepages run #5: crashed: kernel BUG in ext4_writepages run #6: crashed: kernel BUG in __ext4_journal_stop run #7: crashed: kernel BUG in __ext4_journal_stop run #8: crashed: kernel BUG in __ext4_journal_stop run #9: crashed: kernel BUG in ext4_writepages representative crash: kernel BUG in ext4_writepages, types: [BUG] the bug reproduces without the instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=5179 full=6520 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 7b148974607906d1e0bb0b276deb3fb6def47432 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1f83305677b033e4bc04406c039f45be1b71e86be7e1df8a1ae7cc83999e5bb2 run #0: crashed: kernel BUG in ext4_writepages run #1: crashed: kernel BUG in __ext4_journal_stop run #2: crashed: kernel BUG in ext4_writepages run #3: crashed: kernel BUG in ext4_writepages run #4: crashed: kernel BUG in ext4_writepages run #5: crashed: kernel BUG in __ext4_journal_stop run #6: crashed: kernel BUG in ext4_writepages run #7: crashed: kernel BUG in __ext4_journal_stop run #8: crashed: kernel BUG in ext4_writepages run #9: crashed: kernel BUG in ext4_writepages representative crash: kernel BUG in ext4_writepages, types: [BUG] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 7b148974607906d1e0bb0b276deb3fb6def47432 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5d25928a005ae3e285047f81cf5f4e9ba1786895f23447120a933c39f1ded522 run #0: crashed: kernel BUG in ext4_writepages run #1: crashed: kernel BUG in ext4_writepages run #2: crashed: kernel BUG in __ext4_journal_stop run #3: crashed: kernel BUG in ext4_writepages run #4: crashed: kernel BUG in __ext4_journal_stop run #5: crashed: kernel BUG in __ext4_journal_stop run #6: crashed: kernel BUG in ext4_writepages run #7: crashed: kernel BUG in __ext4_journal_stop run #8: crashed: kernel BUG in ext4_writepages run #9: crashed: kernel BUG in ext4_writepages representative crash: kernel BUG in ext4_writepages, 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 7b148974607906d1e0bb0b276deb3fb6def47432 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8a2b1921ade7aba36b99f7fc9a15b7e102e1ea4ae4902a4912dd8063794cb3e3 run #0: crashed: kernel BUG in ext4_writepages run #1: crashed: kernel BUG in ext4_writepages run #2: crashed: kernel BUG in __ext4_journal_stop run #3: crashed: kernel BUG in __ext4_journal_stop run #4: crashed: kernel BUG in ext4_writepages run #5: crashed: kernel BUG in __ext4_journal_stop run #6: crashed: kernel BUG in __ext4_journal_stop run #7: crashed: kernel BUG in __ext4_journal_stop run #8: crashed: kernel BUG in ext4_writepages run #9: crashed: kernel BUG in __ext4_journal_stop representative crash: kernel BUG in ext4_writepages, types: [BUG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 7b148974607906d1e0bb0b276deb3fb6def47432 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fdb099b0f72cc3268bfbc201fc928ac79887312556595066f83f9ad82d559080 run #0: crashed: kernel BUG in __ext4_journal_stop run #1: crashed: kernel BUG in ext4_writepages run #2: crashed: kernel BUG in ext4_writepages run #3: crashed: kernel BUG in __ext4_journal_stop run #4: crashed: kernel BUG in __ext4_journal_stop run #5: crashed: kernel BUG in __ext4_journal_stop run #6: crashed: kernel BUG in __ext4_journal_stop run #7: crashed: kernel BUG in __ext4_journal_stop run #8: crashed: kernel BUG in ext4_writepages run #9: crashed: kernel BUG in __ext4_journal_stop representative crash: kernel BUG in __ext4_journal_stop, types: [BUG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 7b148974607906d1e0bb0b276deb3fb6def47432 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 7b148974607906d1e0bb0b276deb3fb6def47432: 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 [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing current HEAD 514bdc80b9d2cda5201730045cad6e65c4153f67 testing commit 514bdc80b9d2cda5201730045cad6e65c4153f67 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c35e61cac576634950fefa5a91397e68255a5eb3e95deb2332f2159bf23f7b09 run #0: crashed: kernel BUG in __ext4_journal_stop run #1: crashed: kernel BUG in __ext4_journal_stop run #2: crashed: kernel BUG in ext4_writepages run #3: crashed: kernel BUG in ext4_writepages run #4: crashed: kernel BUG in ext4_writepages run #5: crashed: kernel BUG in __ext4_journal_stop run #6: crashed: kernel BUG in __ext4_journal_stop run #7: crashed: kernel BUG in __ext4_journal_stop run #8: crashed: kernel BUG in __ext4_journal_stop run #9: crashed: kernel BUG in ext4_writepages representative crash: kernel BUG in __ext4_journal_stop, types: [BUG] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 41m53.114607635s (build: 17m4.516338118s, test: 22m40.376437081s) crash still not fixed or there were kernel test errors commit msg: UPSTREAM: perf/core: Fix potential NULL deref crash: kernel BUG in __ext4_journal_stop ------------[ cut here ]------------ kernel BUG at fs/ext4/ext4_jbd2.c:53! invalid opcode: 0000 [#1] PREEMPT SMP CPU: 1 PID: 591 Comm: syz-executor.0 Not tainted 6.1.90-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:ext4_put_nojournal fs/ext4/ext4_jbd2.c:53 [inline] RIP: 0010:__ext4_journal_stop+0x92/0xa0 fs/ext4/ext4_jbd2.c:116 Code: 44 89 f2 89 d9 e8 ae 65 05 00 eb 11 48 89 d7 e8 c4 1e 07 00 89 c3 45 85 ed 41 0f 45 dd 89 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 48 89 e5 41 57 41 56 RSP: 0018:ffffc90000d2f9a0 EFLAGS: 00010246 RAX: fffffffffffffff8 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000000000032c RDI: ffffffff82cb8d4f RBP: ffffc90000d2f9c8 R08: ffff888100740bc8 R09: 0000000000000001 R10: 0000000000000080 R11: 00000000000017b7 R12: 0000000000000000 R13: ffff8881007a60e8 R14: 0000000000000008 R15: ffffea00045bfd00 FS: 00007fb5b28ff6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff7f7a86d58 CR3: 0000000111f3f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_write_inline_data_end+0x26c/0x370 fs/ext4/inline.c:812 ext4_da_write_end+0x80/0x270 fs/ext4/inode.c:3081 generic_perform_write+0xd2/0x1f0 mm/filemap.c:3855 ext4_buffered_write_iter+0xf7/0x190 fs/ext4/file.c:285 ext4_file_write_iter+0x2d5/0x6a0 do_iter_write+0x1cd/0x2d0 fs/read_write.c:861 vfs_iter_write+0x14/0x20 fs/read_write.c:902 iter_file_splice_write+0x279/0x420 fs/splice.c:685 do_splice_from fs/splice.c:763 [inline] direct_splice_actor+0x29/0x40 fs/splice.c:930 splice_direct_to_actor+0x143/0x2b0 fs/splice.c:885 do_splice_direct+0x7f/0xc0 fs/splice.c:973 do_sendfile+0x262/0x400 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64 fs/read_write.c:1309 [inline] __x64_sys_sendfile64+0x93/0xc0 fs/read_write.c:1309 x64_sys_call+0x140/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:41 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fb5bb07c959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb5b28ff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fb5bb19c050 RCX: 00007fb5bb07c959 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007fb5bb0d8c88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fb5bb19c050 R15: 00007ffdb33bc028 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ext4_put_nojournal fs/ext4/ext4_jbd2.c:53 [inline] RIP: 0010:__ext4_journal_stop+0x92/0xa0 fs/ext4/ext4_jbd2.c:116 Code: 44 89 f2 89 d9 e8 ae 65 05 00 eb 11 48 89 d7 e8 c4 1e 07 00 89 c3 45 85 ed 41 0f 45 dd 89 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 48 89 e5 41 57 41 56 RSP: 0018:ffffc90000d2f9a0 EFLAGS: 00010246 RAX: fffffffffffffff8 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 000000000000032c RDI: ffffffff82cb8d4f RBP: ffffc90000d2f9c8 R08: ffff888100740bc8 R09: 0000000000000001 R10: 0000000000000080 R11: 00000000000017b7 R12: 0000000000000000 R13: ffff8881007a60e8 R14: 0000000000000008 R15: ffffea00045bfd00 FS: 00007fb5b28ff6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1e024ded58 CR3: 0000000111f3f000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400