ci2 starts bisection 2025-09-22 14:02:35.12165689 +0000 UTC m=+15272.575585257 bisecting fixing commit since f32b52534f1d4df1fc1a6afe6cf4639adebf8a63 building syzkaller on 7368264b463a401571d2eb381f50ea2a758e9d05 ensuring issue is reproducible on original commit f32b52534f1d4df1fc1a6afe6cf4639adebf8a63 testing commit f32b52534f1d4df1fc1a6afe6cf4639adebf8a63 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cc7b54faa0a10870e22a96e68a939c14f3442be281385be3d500eb0d07695c59 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-READ] check whether we can drop unnecessary instrumentation disabling configs for [atomic_sleep hang memleak ubsan bug_or_warning locking], they are not needed testing commit f32b52534f1d4df1fc1a6afe6cf4639adebf8a63 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 75594d895e2ebebe419251be0e7a236fade557ccd80a6b4586e64af09b367be9 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-READ] the bug reproduces without the instrumentation disabling configs for [hang memleak ubsan bug_or_warning locking atomic_sleep], they are not needed kconfig minimization: base=4921 full=6219 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 [hang memleak ubsan bug_or_warning locking atomic_sleep], they are not needed testing commit f32b52534f1d4df1fc1a6afe6cf4639adebf8a63 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 632be3a1c45a545049d4b82d2f2779ed4fb6bbd57ef996d5014a6a62bbf8156c 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-READ] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [atomic_sleep hang memleak ubsan bug_or_warning locking], they are not needed testing commit f32b52534f1d4df1fc1a6afe6cf4639adebf8a63 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8c8869be8c3f72a317300921421152c10897a741e306bd2822ca916efe8c369e 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-READ] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning], they are not needed testing commit f32b52534f1d4df1fc1a6afe6cf4639adebf8a63 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 475a8b48df50826f08744e89b6be9a88c1a75601811bacc779ff5eeb1717a9f5 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-READ] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [hang memleak ubsan bug_or_warning locking atomic_sleep], they are not needed testing commit f32b52534f1d4df1fc1a6afe6cf4639adebf8a63 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9ab669ecbc173910c4e482da35b582c1456520f07aaf8e4ed3623a480f9c2f0b 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-READ] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ubsan bug_or_warning locking atomic_sleep hang memleak], they are not needed testing commit f32b52534f1d4df1fc1a6afe6cf4639adebf8a63 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building f32b52534f1d4df1fc1a6afe6cf4639adebf8a63: 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_LINK_LAYER_TEST 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 ZEROPLUS_FF] disabling configs for [atomic_sleep hang memleak ubsan bug_or_warning locking], they are not needed testing current HEAD 8d934e0056f7a129143e3553ecd5e99dfac57ac8 testing commit 8d934e0056f7a129143e3553ecd5e99dfac57ac8 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9f61c1dac92008b4751622fdc2c78f0326624c3db8029eb7c526cd0ad6dc4033 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-READ] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h48m33.552880159s (build: 33m42.893766119s, test: 1h12m33.268904597s) crash still not fixed or there were kernel test errors commit msg: Merge 5.15.193 into android13-5.15-lts crash: KASAN: out-of-bounds Read in ext4_xattr_set_entry ================================================================== BUG: KASAN: out-of-bounds in ext4_xattr_set_entry+0xc8e/0x3e30 fs/ext4/xattr.c:1747 Read of size 18446744073709551540 at addr ffff888113571870 by task syz.2.17/453 CPU: 0 PID: 453 Comm: syz.2.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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 memmove+0x24/0x60 mm/kasan/shadow.c:54 ext4_xattr_set_entry+0xc8e/0x3e30 fs/ext4/xattr.c:1747 ext4_xattr_block_set+0xc9e/0x2f60 fs/ext4/xattr.c:2004 ext4_xattr_set_handle+0xd68/0x1270 fs/ext4/xattr.c:2412 ext4_xattr_set+0x14d/0x300 fs/ext4/xattr.c:2522 ext4_xattr_trusted_set+0x1f/0x30 fs/ext4/xattr_trusted.c:38 __vfs_setxattr+0xe9/0x140 fs/xattr.c:182 __vfs_setxattr_noperm+0xf1/0x580 fs/xattr.c:216 __vfs_setxattr_locked+0x163/0x200 fs/xattr.c:277 vfs_setxattr+0x141/0x320 fs/xattr.c:303 do_setxattr+0x198/0x260 fs/xattr.c:588 setxattr+0x11d/0x140 fs/xattr.c:611 path_setxattr+0x15d/0x190 fs/xattr.c:630 __do_sys_lsetxattr fs/xattr.c:653 [inline] __se_sys_lsetxattr fs/xattr.c:649 [inline] __x64_sys_lsetxattr+0xbc/0x150 fs/xattr.c:649 x64_sys_call+0x4a4/0x990 arch/x86/include/generated/asm/syscalls_64.h:190 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f1eb6714b69 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1eb6185038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007f1eb693bfa0 RCX: 00007f1eb6714b69 RDX: 0000200000000040 RSI: 00002000000000c0 RDI: 0000200000000100 RBP: 00007f1eb6797df1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fe37 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1eb693bfa0 R15: 00007fffbb660188 Allocated by task 453: kasan_save_stack+0x26/0x50 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:433 [inline] ____kasan_kmalloc mm/kasan/common.c:512 [inline] ____kasan_kmalloc mm/kasan/common.c:471 [inline] __kasan_kmalloc+0xae/0xe0 mm/kasan/common.c:521 kasan_kmalloc include/linux/kasan.h:227 [inline] __kmalloc_track_caller+0x2d9/0x540 mm/slub.c:4959 kmemdup+0x1c/0x40 mm/util.c:132 ext4_xattr_block_set+0x8c5/0x2f60 fs/ext4/xattr.c:1952 ext4_xattr_set_handle+0xd68/0x1270 fs/ext4/xattr.c:2412 ext4_xattr_set+0x14d/0x300 fs/ext4/xattr.c:2522 ext4_xattr_trusted_set+0x1f/0x30 fs/ext4/xattr_trusted.c:38 __vfs_setxattr+0xe9/0x140 fs/xattr.c:182 __vfs_setxattr_noperm+0xf1/0x580 fs/xattr.c:216 __vfs_setxattr_locked+0x163/0x200 fs/xattr.c:277 vfs_setxattr+0x141/0x320 fs/xattr.c:303 do_setxattr+0x198/0x260 fs/xattr.c:588 setxattr+0x11d/0x140 fs/xattr.c:611 path_setxattr+0x15d/0x190 fs/xattr.c:630 __do_sys_lsetxattr fs/xattr.c:653 [inline] __se_sys_lsetxattr fs/xattr.c:649 [inline] __x64_sys_lsetxattr+0xbc/0x150 fs/xattr.c:649 x64_sys_call+0x4a4/0x990 arch/x86/include/generated/asm/syscalls_64.h:190 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x33/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 The buggy address belongs to the object at ffff888113571800 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 112 bytes inside of 1024-byte region [ffff888113571800, ffff888113571c00) The buggy address belongs to the page: page:ffffea00044d5c00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x113570 head:ffffea00044d5c00 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head|zone=1) raw: 4000000000010200 0000000000000000 0000000100000001 ffff888100043080 raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 106, ts 4867727398, free_ts 0 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+0x300/0x2d50 mm/page_alloc.c:5808 __alloc_pages_node include/linux/gfp.h:595 [inline] alloc_pages_node include/linux/gfp.h:609 [inline] alloc_pages include/linux/gfp.h:622 [inline] alloc_slab_page mm/slub.c:1798 [inline] allocate_slab+0x39d/0x530 mm/slub.c:1937 new_slab mm/slub.c:2000 [inline] ___slab_alloc.constprop.0+0x3ca/0x890 mm/slub.c:3033 __slab_alloc.constprop.0+0x42/0x80 mm/slub.c:3120 slab_alloc_node mm/slub.c:3211 [inline] slab_alloc mm/slub.c:3255 [inline] __kmalloc_track_caller+0x501/0x540 mm/slub.c:4954 kmalloc_reserve net/core/skbuff.c:357 [inline] __alloc_skb+0x8b/0x250 net/core/skbuff.c:428 alloc_skb include/linux/skbuff.h:1183 [inline] alloc_uevent_skb+0x81/0x220 lib/kobject_uevent.c:290 uevent_net_broadcast_untagged lib/kobject_uevent.c:326 [inline] kobject_uevent_net_broadcast lib/kobject_uevent.c:409 [inline] kobject_uevent_env+0x708/0xf20 lib/kobject_uevent.c:608 kobject_synth_uevent+0x49a/0x700 lib/kobject_uevent.c:208 uevent_store+0x1c/0x30 drivers/base/core.c:2438 dev_attr_store+0x37/0x70 drivers/base/core.c:2136 sysfs_kf_write+0x119/0x1b0 fs/sysfs/file.c:139 kernfs_fop_write_iter+0x2a4/0x460 fs/kernfs/file.c:296 call_write_iter include/linux/fs.h:2212 [inline] new_sync_write+0x358/0x6d0 fs/read_write.c:507 page_owner free stack trace missing Memory state around the buggy address: ffff888113571700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888113571780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888113571800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff888113571880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888113571900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================