ci2 starts bisection 2024-09-20 00:28:58.609656653 +0000 UTC m=+21929.544724723 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: e3fee4dff5f4ec070e94bd1a893c2a55a335a53a35615c29bbc6341483b0d357 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 [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: 24384a9746b871e0c29dec239aaa037ed54f6c8e87b72c7e6a4fdd48282c5a3a 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 [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], 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 [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 kernel signature: ecb5450e9d66189e30ee9dec09f231545da88ce79a67939465a6173f35b5e8c4 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 [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: afe55c906bdf4b00ff0c423020ff5dc322d5a1935efc107574f8f12db9019259 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 [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 kernel signature: d191c6d1a052dc3c64a863085562717ce65ed78c16f9e154c308e89e29870fe2 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 [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: b8c11b8bc668dce4b915e710c419127c5e4e3cf1b17b0cb494b9718f60b5288e 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 [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 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 8a268cb981a66ab0e7d4c1512cdf7e47af8a0dc4 testing commit 8a268cb981a66ab0e7d4c1512cdf7e47af8a0dc4 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ac708861f8b38f56e6e61885f6c3861354e98fa013627fd3f6b04b644452ca7c 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: 2h2m44.974195845s (build: 1h27m6.822582293s, test: 33m3.17450474s) crash still not fixed or there were kernel test errors commit msg: ANDROID: GKI: Update symbol list for honor crash: KASAN: out-of-bounds Read in ext4_xattr_set_entry ================================================================== BUG: KASAN: out-of-bounds in ext4_xattr_set_entry+0x19b6/0x36c0 fs/ext4/xattr.c:1732 Read of size 18446744073709551584 at addr ffff888121376fc8 by task syz-executor.0/668 CPU: 1 PID: 668 Comm: syz-executor.0 Not tainted 6.1.93-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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:0x7f19e127f46a 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:00007f19e1f35ef8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f19e1f35f80 RCX: 00007f19e127f46a RDX: 0000000020000180 RSI: 00000000200000c0 RDI: 00007f19e1f35f40 RBP: 0000000020000180 R08: 00007f19e1f35f80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000200000c0 R13: 00007f19e1f35f40 R14: 000000000000046a R15: 0000000020000300 The buggy address belongs to the physical page: page:ffffea000484dd80 refcount:4 mapcount:1 mapping:ffff88810ae6a3d0 index:0x1 pfn:0x121376 memcg:ffff8881225ce000 aops:def_blk_aops ino:700000 flags: 0x460000000002204e(referenced|uptodate|dirty|workingset|private|mappedtodisk|zone=1) raw: 460000000002204e 0000000000000000 dead000000000122 ffff88810ae6a3d0 raw: 0000000000000001 ffff88811c789d20 0000000400000000 ffff8881225ce000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Movable, gfp_mask 0x148c48(GFP_NOFS|__GFP_NOFAIL|__GFP_COMP|__GFP_HARDWALL|__GFP_MOVABLE), pid 668, tgid 667 (syz-executor.0), ts 53648512704, free_ts 52717176109 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] __filemap_get_folio+0x53b/0x6a0 mm/filemap.c:1989 pagecache_get_page+0x15/0xb0 mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:654 [inline] grow_dev_page fs/buffer.c:989 [inline] grow_buffers fs/buffer.c:1054 [inline] __getblk_slow fs/buffer.c:1081 [inline] __getblk_gfp+0x1ac/0x590 fs/buffer.c:1376 sb_getblk include/linux/buffer_head.h:356 [inline] __ext4_get_inode_loc+0x40f/0xc00 fs/ext4/inode.c:4502 __ext4_get_inode_loc_noinmem fs/ext4/inode.c:4615 [inline] __ext4_iget+0x440/0x3d30 fs/ext4/inode.c:4837 __ext4_fill_super fs/ext4/super.c:5386 [inline] ext4_fill_super+0x566e/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 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 __pagevec_release+0x66/0xe0 mm/swap.c:1083 pagevec_release include/linux/pagevec.h:71 [inline] folio_batch_release include/linux/pagevec.h:135 [inline] shmem_undo_range+0x4a7/0x1150 mm/shmem.c:951 shmem_truncate_range mm/shmem.c:1067 [inline] shmem_evict_inode+0x34e/0x840 mm/shmem.c:1176 evict+0x262/0x620 fs/inode.c:666 iput_final fs/inode.c:1791 [inline] iput+0x4b6/0x4e0 fs/inode.c:1817 dentry_unlink_inode+0x2d8/0x3c0 fs/dcache.c:401 __dentry_kill+0x37e/0x5e0 fs/dcache.c:607 dentry_kill+0xc4/0x1f0 dput+0x10a/0x250 fs/dcache.c:914 __fput+0x475/0x6a0 fs/file_table.c:328 ____fput+0x9/0x10 fs/file_table.c:348 task_work_run+0x208/0x260 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x94/0xa0 kernel/entry/common.c:177 Memory state around the buggy address: ffff888121376e80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888121376f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888121376f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff888121377000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888121377080: 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.