ci2 starts bisection 2026-05-14 16:24:04.04368766 +0000 UTC m=+69545.702507306 bisecting fixing commit since e253c52bbdfce1f214777784549a350a8f9ba3b8 building syzkaller on 06648d9ccf5ec6f9453ef09b0fdbdebf020ee0f8 ensuring issue is reproducible on original commit e253c52bbdfce1f214777784549a350a8f9ba3b8 testing commit e253c52bbdfce1f214777784549a350a8f9ba3b8 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 9001cf99ead0f533fe1fc9aec46f24ce756b5f01c8a8a4961441966a2cef22c9 all runs: crashed: KASAN: slab-out-of-bounds Write in reset_curseg representative crash: KASAN: slab-out-of-bounds Write in reset_curseg, types: [KASAN-WRITE] check whether we can drop unnecessary instrumentation disabling configs for [ubsan bug_or_warning locking atomic_sleep hang memleak], they are not needed testing commit e253c52bbdfce1f214777784549a350a8f9ba3b8 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: fb193fbea9ceccfaf5988402a259f885657b449b8b54071d5c8e50d629dad60f all runs: crashed: KASAN: slab-out-of-bounds Write in reset_curseg representative crash: KASAN: slab-out-of-bounds Write in reset_curseg, types: [KASAN-WRITE] the bug reproduces without the instrumentation disabling configs for [bug_or_warning locking atomic_sleep hang memleak ubsan], they are not needed kconfig minimization: base=4788 full=6026 leaves diff=248 split chunks (needed=false): <248> split chunk #0 of len 248 into 5 parts testing without sub-chunk 1/5 disabling configs for [memleak ubsan bug_or_warning locking atomic_sleep hang], they are not needed testing commit e253c52bbdfce1f214777784549a350a8f9ba3b8 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 1af1ab3a335ea30c7110b1e14c305c3da1bdc54ef7a649791f918e8a57e36831 all runs: crashed: KASAN: slab-out-of-bounds Write in reset_curseg representative crash: KASAN: slab-out-of-bounds Write in reset_curseg, types: [KASAN-WRITE] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning], they are not needed testing commit e253c52bbdfce1f214777784549a350a8f9ba3b8 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 9118e0e2f4c5e829012b99896fef739f274bd944b4b56a0ebb9af57eadc70d5a all runs: crashed: KASAN: slab-out-of-bounds Write in reset_curseg representative crash: KASAN: slab-out-of-bounds Write in reset_curseg, types: [KASAN-WRITE] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [atomic_sleep hang memleak ubsan bug_or_warning locking], they are not needed testing commit e253c52bbdfce1f214777784549a350a8f9ba3b8 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: cbbb110ce9985346bebdfc4174c0de1a2131fb95113513033bacd80b14df1c73 all runs: crashed: KASAN: slab-out-of-bounds Write in reset_curseg representative crash: KASAN: slab-out-of-bounds Write in reset_curseg, types: [KASAN-WRITE] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning], they are not needed testing commit e253c52bbdfce1f214777784549a350a8f9ba3b8 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: 79b5555cf2dd640ac0c3cb0eba6497b2c5cacfc9e20bbd8d39f2e46c3e3572d3 all runs: crashed: KASAN: slab-out-of-bounds Write in reset_curseg representative crash: KASAN: slab-out-of-bounds Write in reset_curseg, types: [KASAN-WRITE] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [atomic_sleep hang memleak ubsan bug_or_warning locking], they are not needed testing commit e253c52bbdfce1f214777784549a350a8f9ba3b8 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 failed building e253c52bbdfce1f214777784549a350a8f9ba3b8: net/socket.c:1128:(.text+0x1307): undefined reference to `wext_handle_ioctl' net/socket.c:3397:(.text+0x17c7): undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:346:(.text+0x33b): undefined reference to `wext_proc_exit' net/core/net-procfs.c:330:(.text+0x4e2): undefined reference to `wext_proc_init' minimized to 48 configs; suspects: [HID_ZEROPLUS 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 [hang memleak ubsan bug_or_warning locking atomic_sleep], they are not needed testing current HEAD 1b32327554da96311b5979fd4eaa5eff94dd1531 testing commit 1b32327554da96311b5979fd4eaa5eff94dd1531 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.44 kernel signature: acc10509e130ea1980d11b28dbb6168b50f5bae38f6c34143094ef08cfba568e all runs: crashed: KASAN: slab-out-of-bounds Write in reset_curseg representative crash: KASAN: slab-out-of-bounds Write in reset_curseg, types: [KASAN-WRITE] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 1h50m41.355886552s (build: 39m16.127589857s, test: 54m27.024047851s) crash still not fixed or there were kernel test errors commit msg: Merge 5.10.255 into android13-5.10-lts crash: KASAN: slab-out-of-bounds Write in reset_curseg F2FS-fs (loop2): invalid crc value F2FS-fs (loop2): Found nat_bits in checkpoint F2FS-fs (loop2): Start checkpoint disabled! F2FS-fs (loop2): Mounted with checkpoint version = 48b305e6 ================================================================== BUG: KASAN: slab-out-of-bounds in __set_sit_entry_type fs/f2fs/segment.c:2257 [inline] BUG: KASAN: slab-out-of-bounds in reset_curseg+0x466/0x540 fs/f2fs/segment.c:2663 Write of size 4 at addr ffff888110c4f3c0 by task syz.2.18/475 CPU: 0 PID: 475 Comm: syz.2.18 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x81/0xac lib/dump_stack.c:118 print_address_description.constprop.0+0x24/0x160 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report.cold+0x82/0xdb mm/kasan/report.c:452 __asan_report_store4_noabort+0x17/0x20 mm/kasan/report_generic.c:313 __set_sit_entry_type fs/f2fs/segment.c:2257 [inline] reset_curseg+0x466/0x540 fs/f2fs/segment.c:2663 new_curseg+0x9d9/0x1750 fs/f2fs/segment.c:2723 __allocate_new_segment+0xf1/0x5e0 fs/f2fs/segment.c:3039 __allocate_new_section fs/f2fs/segment.c:3047 [inline] f2fs_allocate_new_section+0x125/0x280 fs/f2fs/segment.c:3054 expand_inode_data fs/f2fs/file.c:1761 [inline] f2fs_fallocate+0x795/0x31a0 fs/f2fs/file.c:1866 vfs_fallocate+0x2b1/0xb10 fs/open.c:310 ioctl_preallocate+0x149/0x1c0 fs/ioctl.c:494 file_ioctl fs/ioctl.c:534 [inline] do_vfs_ioctl+0xad4/0xd10 fs/ioctl.c:732 __do_sys_ioctl fs/ioctl.c:751 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0xce/0x1a0 fs/ioctl.c:739 do_syscall_64+0x32/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fbdc5ba0cb9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbdc5a05028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fbdc5e1bfa0 RCX: 00007fbdc5ba0cb9 RDX: 00002000000000c0 RSI: 0000000040305828 RDI: 0000000000000005 RBP: 00007fbdc5c0ebf7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fbdc5e1c038 R14: 00007fbdc5e1bfa0 R15: 00007ffec30ff088 Allocated by task 475: 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:430 [inline] ____kasan_kmalloc mm/kasan/common.c:509 [inline] ____kasan_kmalloc mm/kasan/common.c:468 [inline] __kasan_kmalloc+0xae/0xe0 mm/kasan/common.c:518 kasan_kmalloc include/linux/kasan.h:254 [inline] __kmalloc+0x1cd/0x360 mm/slub.c:4038 __kmalloc_node include/linux/slab.h:421 [inline] kmalloc_node include/linux/slab.h:578 [inline] kvmalloc_node+0x25/0x90 mm/util.c:612 kvmalloc include/linux/mm.h:833 [inline] f2fs_kvmalloc fs/f2fs/f2fs.h:3372 [inline] f2fs_kvzalloc fs/f2fs/f2fs.h:3378 [inline] build_sit_info fs/f2fs/segment.c:4395 [inline] f2fs_build_segment_manager+0xaca/0x8ce0 fs/f2fs/segment.c:5258 f2fs_fill_super+0x3c0b/0x6300 fs/f2fs/super.c:4317 mount_bdev+0x2b7/0x390 fs/super.c:1442 f2fs_mount+0x10/0x20 fs/f2fs/super.c:4598 legacy_get_tree+0xf5/0x1d0 fs/fs_context.c:593 vfs_get_tree+0x81/0x1b0 fs/super.c:1572 do_new_mount fs/namespace.c:3006 [inline] path_mount+0x47b/0x1c60 fs/namespace.c:3336 do_mount fs/namespace.c:3349 [inline] __do_sys_mount fs/namespace.c:3557 [inline] __se_sys_mount fs/namespace.c:3534 [inline] __x64_sys_mount+0x20e/0x280 fs/namespace.c:3534 do_syscall_64+0x32/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb The buggy address belongs to the object at ffff888110c4f000 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 960 bytes inside of 1024-byte region [ffff888110c4f000, ffff888110c4f400) The buggy address belongs to the page: page:ffffea0004431200 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x110c48 head:ffffea0004431200 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head) raw: 4000000000010200 ffffea0004524600 0000000500000005 ffff888100042f00 raw: 0000000000000000 0000000000100010 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 105, ts 3941997870, free_ts 0 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page mm/page_alloc.c:2462 [inline] get_page_from_freelist+0x1fee/0x2ad0 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x2ae/0x2540 mm/page_alloc.c:5384 __alloc_pages include/linux/gfp.h:544 [inline] __alloc_pages_node include/linux/gfp.h:557 [inline] alloc_pages_node include/linux/gfp.h:571 [inline] alloc_pages include/linux/gfp.h:590 [inline] alloc_slab_page mm/slub.c:1670 [inline] allocate_slab+0x30f/0x460 mm/slub.c:1813 new_slab mm/slub.c:1874 [inline] new_slab_objects mm/slub.c:2632 [inline] ___slab_alloc.constprop.0+0x32b/0x730 mm/slub.c:2796 __slab_alloc mm/slub.c:2836 [inline] slab_alloc_node mm/slub.c:2918 [inline] slab_alloc mm/slub.c:2960 [inline] __kmalloc_track_caller+0x325/0x360 mm/slub.c:4541 __kmalloc_reserve net/core/skbuff.c:144 [inline] __alloc_skb+0x74/0x4d0 net/core/skbuff.c:212 alloc_skb include/linux/skbuff.h:1126 [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:2320 dev_attr_store+0x37/0x70 drivers/base/core.c:2018 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:2066 [inline] new_sync_write+0x358/0x6d0 fs/read_write.c:518 vfs_write+0x4e4/0x750 fs/read_write.c:605 ksys_write+0x111/0x210 fs/read_write.c:658 page_owner free stack trace missing Memory state around the buggy address: ffff888110c4f280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888110c4f300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888110c4f380: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ^ ffff888110c4f400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888110c4f480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 475 Comm: syz.2.18 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2912 [inline] RIP: 0010:update_sit_entry+0x31d/0x1110 fs/f2fs/segment.c:2320 Code: 08 41 89 c8 f7 d1 b8 01 00 00 00 41 c1 e8 03 83 e1 07 d3 e0 89 c1 48 b8 00 00 00 00 00 fc ff df 4d 01 c7 4c 89 fa 48 c1 ea 03 <0f> b6 04 02 4c 89 fa 83 e2 07 41 83 fd 01 0f 85 15 05 00 00 38 d0 RSP: 0018:ffffc90000937550 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888114e06000 RCX: 0000000000000080 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888110c4f3c8 RBP: ffffc900009375b0 R08: 0000000000000000 R09: 0000000000004000 R10: ffff888114e06078 R11: 0000000000000007 R12: ffff888110c4f3c0 R13: 0000000000000001 R14: 0000000000000018 R15: 0000000000000000 FS: 00007fbdc5a056c0(0000) GS:ffff8881f7500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbdc5bee400 CR3: 0000000113387000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_allocate_data_block+0x1760/0x38b0 fs/f2fs/segment.c:3481 __allocate_data_block+0x3d1/0xd00 fs/f2fs/data.c:1413 f2fs_map_blocks+0x141d/0x3730 fs/f2fs/data.c:1581 expand_inode_data fs/f2fs/file.c:1765 [inline] f2fs_fallocate+0x7c2/0x31a0 fs/f2fs/file.c:1866 vfs_fallocate+0x2b1/0xb10 fs/open.c:310 ioctl_preallocate+0x149/0x1c0 fs/ioctl.c:494 file_ioctl fs/ioctl.c:534 [inline] do_vfs_ioctl+0xad4/0xd10 fs/ioctl.c:732 __do_sys_ioctl fs/ioctl.c:751 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0xce/0x1a0 fs/ioctl.c:739 do_syscall_64+0x32/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fbdc5ba0cb9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbdc5a05028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fbdc5e1bfa0 RCX: 00007fbdc5ba0cb9 RDX: 00002000000000c0 RSI: 0000000040305828 RDI: 0000000000000005 RBP: 00007fbdc5c0ebf7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fbdc5e1c038 R14: 00007fbdc5e1bfa0 R15: 00007ffec30ff088 Modules linked in: ---[ end trace d5a16e4fa781cdd3 ]--- RIP: 0010:f2fs_test_and_set_bit fs/f2fs/f2fs.h:2912 [inline] RIP: 0010:update_sit_entry+0x31d/0x1110 fs/f2fs/segment.c:2320 Code: 08 41 89 c8 f7 d1 b8 01 00 00 00 41 c1 e8 03 83 e1 07 d3 e0 89 c1 48 b8 00 00 00 00 00 fc ff df 4d 01 c7 4c 89 fa 48 c1 ea 03 <0f> b6 04 02 4c 89 fa 83 e2 07 41 83 fd 01 0f 85 15 05 00 00 38 d0 RSP: 0018:ffffc90000937550 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888114e06000 RCX: 0000000000000080 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888110c4f3c8 RBP: ffffc900009375b0 R08: 0000000000000000 R09: 0000000000004000 R10: ffff888114e06078 R11: 0000000000000007 R12: ffff888110c4f3c0 R13: 0000000000000001 R14: 0000000000000018 R15: 0000000000000000 FS: 00007fbdc5a056c0(0000) GS:ffff8881f7400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3302bc3000 CR3: 0000000113387000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 08 41 89 or %al,-0x77(%rcx) 3: c8 f7 d1 b8 enter $0xd1f7,$0xb8 7: 01 00 add %eax,(%rax) 9: 00 00 add %al,(%rax) b: 41 c1 e8 03 shr $0x3,%r8d f: 83 e1 07 and $0x7,%ecx 12: d3 e0 shl %cl,%eax 14: 89 c1 mov %eax,%ecx 16: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1d: fc ff df 20: 4d 01 c7 add %r8,%r15 23: 4c 89 fa mov %r15,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 4c 89 fa mov %r15,%rdx 31: 83 e2 07 and $0x7,%edx 34: 41 83 fd 01 cmp $0x1,%r13d 38: 0f 85 15 05 00 00 jne 0x553 3e: 38 d0 cmp %dl,%al