ci2 starts bisection 2025-06-12 21:32:53.015906634 +0000 UTC m=+104638.835201061 bisecting fixing commit since 19092c8155b4f95eb4fe2e5afa22fd32307ed69b building syzkaller on f3558dbf032eab2b77c1cb11b9ce2baffe7838d3 ensuring issue is reproducible on original commit 19092c8155b4f95eb4fe2e5afa22fd32307ed69b testing commit 19092c8155b4f95eb4fe2e5afa22fd32307ed69b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 702f6b43e0b75726a0b4305c1609a77b2d4ae66dd2313237784fe0d39e7ff9a4 run #0: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #1: crashed: KASAN: out-of-bounds Read in ext4_read_inline_data run #2: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #3: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #4: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #5: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #6: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #7: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #8: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #9: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #10: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #11: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #12: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #13: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #14: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #15: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #16: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #17: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #18: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #19: crashed: KASAN: use-after-free Read in ext4_read_inline_data representative crash: KASAN: use-after-free Read in ext4_read_inline_data, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 19092c8155b4f95eb4fe2e5afa22fd32307ed69b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fa9e55eed5b47ab0ad4b8c1aba4a9597bbca6f08f9866491108d8f780270c240 all runs: crashed: KASAN: use-after-free Read in ext4_read_inline_data representative crash: KASAN: use-after-free Read in ext4_read_inline_data, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed kconfig minimization: base=4921 full=6215 leaves diff=255 split chunks (needed=false): <255> split chunk #0 of len 255 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 19092c8155b4f95eb4fe2e5afa22fd32307ed69b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8014d02e216103d82974e3e4e3f26eedd540a715315a6adf3e82511700e75faa all runs: crashed: KASAN: use-after-free Read in ext4_read_inline_data representative crash: KASAN: use-after-free Read in ext4_read_inline_data, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit 19092c8155b4f95eb4fe2e5afa22fd32307ed69b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5a30af11ad946c46492069c4975f09c01f2538bfd6ecaaf9507471db0fe05139 all runs: crashed: KASAN: use-after-free Read in ext4_read_inline_data representative crash: KASAN: use-after-free Read in ext4_read_inline_data, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 19092c8155b4f95eb4fe2e5afa22fd32307ed69b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8468641da9ec0d64f3c63f25bbfc148c8dc8a4f8e4052fc29d3df2b6d3882ad2 all runs: crashed: KASAN: use-after-free Read in ext4_read_inline_data representative crash: KASAN: use-after-free Read in ext4_read_inline_data, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 19092c8155b4f95eb4fe2e5afa22fd32307ed69b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2da0d6f57e6ac85ea66a8686986877ae9097cde1b439c9e2a6ca4b6b6550f7fc all runs: crashed: KASAN: use-after-free Read in ext4_read_inline_data representative crash: KASAN: use-after-free Read in ext4_read_inline_data, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 19092c8155b4f95eb4fe2e5afa22fd32307ed69b gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 19092c8155b4f95eb4fe2e5afa22fd32307ed69b: net/socket.c:1191: undefined reference to `wext_handle_ioctl' net/socket.c:3390: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:343: undefined reference to `wext_proc_exit' net/core/net-procfs.c:327: undefined reference to `wext_proc_init' minimized to 51 configs; suspects: [HID_ZEROPLUS USB_MON 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 USB_SERIAL_FTDI_SIO 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 USB_XHCI_PCI_RENESAS WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_ZYDAS X86_X32 ZEROPLUS_FF] disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing current HEAD e678c93d43cc59dbad86bb0ad0ff6a7ed675a154 testing commit e678c93d43cc59dbad86bb0ad0ff6a7ed675a154 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 63317fd37f3f5b5ad372abb0a679194ca4683df8e2673dd1ccaf93c4cd727b00 run #0: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #1: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #2: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #3: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #4: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #5: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #6: crashed: KASAN: out-of-bounds Read in ext4_read_inline_data run #7: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #8: crashed: KASAN: use-after-free Read in ext4_read_inline_data run #9: crashed: KASAN: use-after-free Read in ext4_read_inline_data representative crash: KASAN: use-after-free Read in ext4_read_inline_data, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 2h36m51.827031659s (build: 1h44m11.309644239s, test: 49m59.22932063s) crash still not fixed or there were kernel test errors commit msg: Revert "coredump: hand a pidfd to the usermode coredump helper" crash: KASAN: use-after-free Read in ext4_read_inline_data ================================================================== BUG: KASAN: use-after-free in ext4_read_inline_data fs/ext4/inline.c:210 [inline] BUG: KASAN: use-after-free in ext4_read_inline_data+0x1f3/0x2d0 fs/ext4/inline.c:178 Read of size 68 at addr ffff888126a49d05 by task syz-executor/498 CPU: 0 PID: 498 Comm: syz-executor Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x38/0x49 lib/dump_stack.c:106 print_address_description.constprop.0+0x24/0x160 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:427 [inline] kasan_report.cold+0x82/0xdb mm/kasan/report.c:444 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0x148/0x190 mm/kasan/generic.c:189 memcpy+0x24/0x60 mm/kasan/shadow.c:65 ext4_read_inline_data fs/ext4/inline.c:210 [inline] ext4_read_inline_data+0x1f3/0x2d0 fs/ext4/inline.c:178 ext4_read_inline_dir+0x25c/0xda0 fs/ext4/inline.c:1533 ext4_readdir+0x3bb/0x33d0 fs/ext4/dir.c:161 iterate_dir+0x498/0x730 fs/readdir.c:65 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64 fs/readdir.c:354 [inline] __x64_sys_getdents64+0x12f/0x230 fs/readdir.c:354 x64_sys_call+0x3fc/0x990 arch/x86/include/generated/asm/syscalls_64.h:218 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f723138d693 Code: c1 66 0f 1f 44 00 00 48 83 c4 08 48 89 ef 5b 5d e9 82 3e f8 ff 66 90 b8 ff ff ff 7f 48 39 c2 48 0f 47 d0 b8 d9 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 c7 c2 a8 ff ff ff f7 d8 RSP: 002b:00007ffc3cb92258 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 0000555591e9b520 RCX: 00007f723138d693 RDX: 0000000000008000 RSI: 0000555591e9b520 RDI: 0000000000000006 RBP: 0000555591e9b4f4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000293 R12: ffffffffffffffa8 R13: 0000000000000016 R14: 0000555591e9b4f0 R15: 0000000000000001 The buggy address belongs to the page: page:ffffea00049a9240 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x126a49 flags: 0x4000000000000000(zone=1) raw: 4000000000000000 ffffea00049a9288 ffffea00049a9208 0000000000000000 raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as freed page last allocated via order 0, migratetype Movable, gfp_mask 0x100cca(GFP_HIGHUSER_MOVABLE), pid 313, ts 42390380323, free_ts 44753991012 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook mm/page_alloc.c:2605 [inline] prep_new_page+0x1a2/0x310 mm/page_alloc.c:2611 get_page_from_freelist+0x1ce2/0x30a0 mm/page_alloc.c:4485 __alloc_pages+0x2d5/0x26f0 mm/page_alloc.c:5789 __alloc_pages_node include/linux/gfp.h:591 [inline] alloc_pages_node include/linux/gfp.h:605 [inline] alloc_pages include/linux/gfp.h:618 [inline] wp_page_copy+0x168/0x16f0 mm/memory.c:3225 do_wp_page+0x27c/0x1390 mm/memory.c:3566 handle_pte_fault+0xbf7/0x30a0 mm/memory.c:4931 __handle_mm_fault+0x4ea/0x1480 mm/memory.c:5206 do_handle_mm_fault+0x33b/0x690 mm/memory.c:5332 do_user_addr_fault+0x726/0x1120 arch/x86/mm/fault.c:1325 handle_page_fault arch/x86/mm/fault.c:1509 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1565 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:606 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1472 [inline] free_pcp_prepare+0x1b6/0x4c0 mm/page_alloc.c:1544 free_unref_page_prepare mm/page_alloc.c:3534 [inline] free_unref_page_list+0x1e3/0xcd0 mm/page_alloc.c:3671 release_pages+0x37f/0xff0 mm/swap.c:1009 free_pages_and_swap_cache+0x5d/0x80 mm/swap_state.c:320 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu+0xbe/0x590 mm/mmu_gather.c:247 zap_pte_range mm/memory.c:1525 [inline] zap_pmd_range mm/memory.c:1574 [inline] zap_pud_range mm/memory.c:1603 [inline] zap_p4d_range mm/memory.c:1624 [inline] unmap_page_range+0x1086/0x1a70 mm/memory.c:1645 unmap_single_vma mm/memory.c:1690 [inline] unmap_vmas+0x1dc/0x3a0 mm/memory.c:1722 exit_mmap+0x1f8/0x840 mm/mmap.c:3233 __mmput+0x70/0x3a0 kernel/fork.c:1180 mmput kernel/fork.c:1203 [inline] mmput+0x35/0xf0 kernel/fork.c:1197 exit_mm kernel/exit.c:554 [inline] do_exit+0x889/0x24b0 kernel/exit.c:867 do_group_exit+0xe6/0x290 kernel/exit.c:1002 get_signal+0x236/0x1e10 kernel/signal.c:2907 arch_do_signal_or_restart+0x2b4/0x21c0 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop kernel/entry/common.c:178 [inline] exit_to_user_mode_prepare+0x102/0x150 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x21/0x40 kernel/entry/common.c:307 Memory state around the buggy address: ffff888126a49c00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888126a49c80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888126a49d00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888126a49d80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888126a49e00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== EXT4-fs error (device loop6): ext4_read_inline_dir:1613: inode #12: block 5: comm syz-executor: path /0/file0/file0: bad entry in directory: rec_len % 4 != 0 - offset=24, inode=1633771873, rec_len=24929, size=148 fake=0 EXT4-fs error (device loop6): ext4_read_inline_dir:1613: inode #12: block 5: comm syz-executor: path /0/file0/file0: bad entry in directory: rec_len % 4 != 0 - offset=24, inode=1633771873, rec_len=24929, size=148 fake=0 EXT4-fs error (device loop6): empty_inline_dir:1867: inode #12: block 5: comm syz-executor: bad entry in directory: rec_len % 4 != 0 - offset=4, inode=1633771873, rec_len=24929, size=60 fake=0 EXT4-fs warning (device loop6): empty_inline_dir:1870: bad inline directory (dir #12) - inode 1633771873, rec_len 24929, name_len 97inline size 60 EXT4-fs error (device loop6): ext4_read_inline_dir:1613: inode #12: block 5: comm syz-executor: path /0/file0/file0: bad entry in directory: rec_len % 4 != 0 - offset=24, inode=1633771873, rec_len=24929, size=148 fake=0 EXT4-fs error (device loop6): ext4_read_inline_dir:1613: inode #12: block 5: comm syz-executor: path /0/file0/file0: bad entry in directory: rec_len % 4 != 0 - offset=24, inode=1633771873, rec_len=24929, size=148 fake=0 EXT4-fs error (device loop6): empty_inline_dir:1867: inode #12: block 5: comm syz-executor: bad entry in directory: rec_len % 4 != 0 - offset=4, inode=1633771873, rec_len=24929, size=60 fake=0 EXT4-fs warning (device loop6): empty_inline_dir:1870: bad inline directory (dir #12) - inode 1633771873, rec_len 24929, name_len 97inline size 60 EXT4-fs error (device loop6): ext4_read_inline_dir:1613: inode #12: block 5: comm syz-executor: path /0/file0/file0: bad entry in directory: rec_len % 4 != 0 - offset=24, inode=1633771873, rec_len=24929, size=148 fake=0 EXT4-fs error (device loop6): ext4_read_inline_dir:1613: inode #12: block 5: comm syz-executor: path /0/file0/file0: bad entry in directory: rec_len % 4 != 0 - offset=24, inode=1633771873, rec_len=24929, size=148 fake=0 EXT4-fs error (device loop6): empty_inline_dir:1867: inode #12: block 5: comm syz-executor: bad entry in directory: rec_len % 4 != 0 - offset=4, inode=1633771873, rec_len=24929, size=60 fake=0 EXT4-fs warning (device loop6): empty_inline_dir:1870: bad inline directory (dir #12) - inode 1633771873, rec_len 24929, name_len 97inline size 60 EXT4-fs warning (device loop6): empty_inline_dir:1870: bad inline directory (dir #12) - inode 1633771873, rec_len 24929, name_len 97inline size 60 EXT4-fs warning (device loop6): empty_inline_dir:1870: bad inline directory (dir #12) - inode 1633771873, rec_len 24929, name_len 97inline size 60 EXT4-fs warning (device loop6): empty_inline_dir:1870: bad inline directory (dir #12) - inode 1633771873, rec_len 24929, name_len 97inline size 60 EXT4-fs warning (device loop6): empty_inline_dir:1870: bad inline directory (dir #12) - inode 1633771873, rec_len 24929, name_len 97inline size 60 EXT4-fs warning (device loop6): empty_inline_dir:1870: bad inline directory (dir #12) - inode 1633771873, rec_len 24929, name_len 97inline size 60 EXT4-fs warning (device loop6): empty_inline_dir:1870: bad inline directory (dir #12) - inode 1633771873, rec_len 24929, name_len 97inline size 60 EXT4-fs warning (device loop6): empty_inline_dir:1870: bad inline directory (dir #12) - inode 1633771873, rec_len 24929, name_len 97inline size 60