ci2 starts bisection 2024-10-21 05:02:01.798981364 +0000 UTC m=+204340.222355108 bisecting fixing commit since 4d55129aea65ac23a34b9053f3f1ee4d92883032 building syzkaller on 9026e14289eaf45a00ddddb8730f2092b956d99a ensuring issue is reproducible on original commit 4d55129aea65ac23a34b9053f3f1ee4d92883032 testing commit 4d55129aea65ac23a34b9053f3f1ee4d92883032 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e733d4e959cfe39b336c407f7801f8e47bc5cd3d47dd730ceca239ddd50f4694 all runs: crashed: KASAN: out-of-bounds Read in ext4_xattr_set_entry representative crash: KASAN: out-of-bounds Read in ext4_xattr_set_entry, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 4d55129aea65ac23a34b9053f3f1ee4d92883032 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 90f3f3ea3c998f6e0ff84123e948958b02778053390a34867a68514e914e5f17 all runs: crashed: KASAN: out-of-bounds Read in ext4_xattr_set_entry representative crash: KASAN: out-of-bounds Read in ext4_xattr_set_entry, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=5179 full=6494 leaves diff=257 split chunks (needed=false): <257> split chunk #0 of len 257 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit 4d55129aea65ac23a34b9053f3f1ee4d92883032 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d143e299af2bfa341b0dce76be8cceee72df614c9bbde2bd7d4d9dfc2ffdf4bb all runs: crashed: KASAN: out-of-bounds Read in ext4_xattr_set_entry representative crash: KASAN: out-of-bounds Read in ext4_xattr_set_entry, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 4d55129aea65ac23a34b9053f3f1ee4d92883032 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cd72ec18abe0c908cec997789e7698342a7dd542be537da47ec84b9706d18a8b all runs: crashed: KASAN: out-of-bounds Read in ext4_xattr_set_entry representative crash: KASAN: out-of-bounds Read in ext4_xattr_set_entry, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 4d55129aea65ac23a34b9053f3f1ee4d92883032 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 22a4ac9fa11144ce42073d12ff75387b340c90b6ab2c16aac60ce5236a98ae67 all runs: crashed: KASAN: out-of-bounds Read in ext4_xattr_set_entry representative crash: KASAN: out-of-bounds Read in ext4_xattr_set_entry, 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 4d55129aea65ac23a34b9053f3f1ee4d92883032 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e5ceb468823510f97dcb2a8e9fed0a475d21ebac2f2239da58e5dcab4d4b3617 all runs: crashed: KASAN: out-of-bounds Read in ext4_xattr_set_entry representative crash: KASAN: out-of-bounds Read in ext4_xattr_set_entry, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 4d55129aea65ac23a34b9053f3f1ee4d92883032 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 4d55129aea65ac23a34b9053f3f1ee4d92883032: net/socket.c:1245: undefined reference to `wext_handle_ioctl' net/socket.c:3442: 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 49 configs; suspects: [HID_ZEROPLUS 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 V4L2_ASYNC V4L2_FWNODE VIDEO_CAMERA_SENSOR 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 [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing current HEAD 1fe91f863a7f6adfb5a0670df464283a7a0647f6 testing commit 1fe91f863a7f6adfb5a0670df464283a7a0647f6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a5df87bf755c8ca60205a141ec0fec869b6568891512407d18eefb57f2ce010a all runs: crashed: KASAN: out-of-bounds Read in ext4_xattr_set_entry representative crash: KASAN: out-of-bounds Read in ext4_xattr_set_entry, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h12m49.237052887s (build: 25m3.362321671s, test: 44m46.149249146s) crash still not fixed or there were kernel test errors commit msg: ANDROID: usb: Optimization the transfer rate of accessory mode in USB3.2 mode crash: KASAN: out-of-bounds Read in ext4_xattr_set_entry loop0: detected capacity change from 0 to 512 ================================================================== BUG: KASAN: out-of-bounds in ext4_xattr_set_entry+0x19b6/0x36c0 fs/ext4/xattr.c:1732 Read of size 18446744073709551584 at addr ffff88811d51bfc8 by task syz-executor.0/2214 CPU: 1 PID: 2214 Comm: syz-executor.0 Not tainted 6.1.99-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x105/0x148 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0x158/0x4e0 mm/kasan/report.c:427 kasan_report+0x13c/0x170 mm/kasan/report.c:531 kasan_check_range+0x294/0x2a0 mm/kasan/generic.c:189 memmove+0x2d/0x70 mm/kasan/shadow.c:54 ext4_xattr_set_entry+0x19b6/0x36c0 fs/ext4/xattr.c:1732 ext4_xattr_ibody_set+0xf6/0x320 fs/ext4/xattr.c:2237 ext4_xattr_move_to_block fs/ext4/xattr.c:2624 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2692 [inline] ext4_expand_extra_isize_ea+0x108c/0x1bf0 fs/ext4/xattr.c:2784 __ext4_expand_extra_isize+0x20f/0x390 fs/ext4/inode.c:5921 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5964 [inline] __ext4_mark_inode_dirty+0x3ab/0x630 fs/ext4/inode.c:6042 ext4_inline_data_truncate+0x41e/0xba0 fs/ext4/inline.c:2031 ext4_truncate+0x463/0xe50 fs/ext4/inode.c:4235 ext4_process_orphan+0x190/0x2c0 fs/ext4/orphan.c:339 ext4_orphan_cleanup+0x88a/0xed0 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5520 [inline] ext4_fill_super+0x689e/0x71b0 fs/ext4/super.c:5651 get_tree_bdev+0x3c1/0x5e0 fs/super.c:1357 ext4_get_tree+0x10/0x20 fs/ext4/super.c:5681 vfs_get_tree+0x7c/0x170 fs/super.c:1564 do_new_mount+0x21a/0x900 fs/namespace.c:3051 path_mount+0x612/0xbe0 fs/namespace.c:3381 do_mount fs/namespace.c:3394 [inline] __do_sys_mount fs/namespace.c:3602 [inline] __se_sys_mount+0x23e/0x2d0 fs/namespace.c:3579 __x64_sys_mount+0xba/0xd0 fs/namespace.c:3579 x64_sys_call+0x49d/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:166 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:0x7f2ed9e7f46a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f2edac8def8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f2edac8df80 RCX: 00007f2ed9e7f46a RDX: 0000000020000180 RSI: 00000000200000c0 RDI: 00007f2edac8df40 RBP: 0000000020000180 R08: 00007f2edac8df80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000200000c0 R13: 00007f2edac8df40 R14: 000000000000046a R15: 0000000020000300 The buggy address belongs to the physical page: page:ffffea00047546c0 refcount:3 mapcount:1 mapping:ffff88810054a3d0 index:0x1 pfn:0x11d51b memcg:ffff888100348000 aops:def_blk_aops ino:700000 flags: 0x560000000002205e(referenced|uptodate|dirty|lru|workingset|private|mappedtodisk|zone=1) raw: 560000000002205e ffffea0004757088 ffffea0004929dc8 ffff88810054a3d0 raw: 0000000000000001 ffff888125c5bdc8 0000000300000000 ffff888100348000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x152c40(GFP_NOFS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_HARDWALL), pid 368, tgid 368 (udevd), ts 51916769449, free_ts 51916631789 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook mm/page_alloc.c:2590 [inline] prep_new_page+0x512/0x5e0 mm/page_alloc.c:2597 get_page_from_freelist+0x288b/0x2910 mm/page_alloc.c:4425 __alloc_pages+0x39f/0x780 mm/page_alloc.c:5714 __folio_alloc+0x15/0x40 mm/page_alloc.c:5746 __folio_alloc_node include/linux/gfp.h:245 [inline] folio_alloc include/linux/gfp.h:274 [inline] filemap_alloc_folio include/linux/pagemap.h:513 [inline] page_cache_ra_unbounded+0x283/0x5f0 mm/readahead.c:259 do_page_cache_ra mm/readahead.c:311 [inline] force_page_cache_ra mm/readahead.c:342 [inline] page_cache_sync_ra+0x376/0x3f0 mm/readahead.c:722 page_cache_sync_readahead include/linux/pagemap.h:1257 [inline] filemap_get_pages mm/filemap.c:2660 [inline] filemap_read+0x74a/0x1e80 mm/filemap.c:2755 blkdev_read_iter+0x2fb/0x440 block/fops.c:613 call_read_iter include/linux/fs.h:2268 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x760/0x9b0 fs/read_write.c:470 ksys_read+0x15c/0x240 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __x64_sys_read+0x76/0x80 fs/read_write.c:621 x64_sys_call+0x28/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:1 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 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1498 [inline] free_pcp_prepare mm/page_alloc.c:1572 [inline] free_unref_page_prepare+0x794/0x7a0 mm/page_alloc.c:3498 free_unref_page_list+0xf1/0x790 mm/page_alloc.c:3646 release_pages+0xcfc/0xd50 mm/swap.c:1063 folios_put include/linux/mm.h:1466 [inline] folio_batch_move_lru+0x30c/0x3e0 mm/swap.c:253 lru_add_drain_cpu+0xbf/0x320 mm/swap.c:669 lru_add_drain+0x1f/0x50 mm/swap.c:773 unmap_region+0xa0/0x300 mm/mmap.c:2396 do_mas_align_munmap+0xb63/0x1150 mm/mmap.c:2670 do_mas_munmap+0x199/0x1e0 mm/mmap.c:2728 mmap_region+0x738/0x1f50 mm/mmap.c:2776 do_mmap+0x856/0xa20 mm/mmap.c:1475 vm_mmap_pgoff+0x289/0x380 mm/util.c:525 ksys_mmap_pgoff+0xbc/0x140 mm/mmap.c:1521 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline] __x64_sys_mmap+0x103/0x120 arch/x86/kernel/sys_x86_64.c:86 x64_sys_call+0x67/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:10 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 Memory state around the buggy address: ffff88811d51be80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88811d51bf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88811d51bf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff88811d51c000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88811d51c080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== EXT4-fs error (device loop0): ext4_xattr_ibody_find:2213: inode #12: comm syz-executor.0: corrupted in-inode xattr EXT4-fs warning (device loop0): ext4_xattr_set_entry:1745: inode #12: comm syz-executor.0: unable to update i_inline_off EXT4-fs warning (device loop0): ext4_expand_extra_isize_ea:2810: Unable to expand inode 12. Delete some EAs or run e2fsck. EXT4-fs (loop0): 1 truncate cleaned up EXT4-fs (loop0): mounted filesystem without journal. Quota mode: writeback.