ci2 starts bisection 2025-12-11 12:33:28.132134237 +0000 UTC m=+1292620.309257304 bisecting fixing commit since 1154f779f3f3d196ace7d5084498f5d7f418ba64 building syzkaller on 32a0e5edfeef60e894c453dc9e9ae45528626ef1 ensuring issue is reproducible on original commit 1154f779f3f3d196ace7d5084498f5d7f418ba64 testing commit 1154f779f3f3d196ace7d5084498f5d7f418ba64 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 799dae47d4ac293886c72fa373ba94a54ccac29f57843302f6c8c12695420a59 all runs: crashed: KASAN: use-after-free Read in f2fs_iget representative crash: KASAN: use-after-free Read in f2fs_iget, types: [KASAN-USE-AFTER-FREE-READ] check whether we can drop unnecessary instrumentation disabling configs for [locking atomic_sleep hang memleak ubsan bug_or_warning], they are not needed testing commit 1154f779f3f3d196ace7d5084498f5d7f418ba64 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 49f7daa5a6652f9e0e175379f5d3c2d4735e05a218050a1e8e09a4d0e5ab777e run #0: crashed: KASAN: use-after-free Read in f2fs_iget run #1: crashed: KASAN: use-after-free Read in f2fs_iget run #2: crashed: KASAN: use-after-free Read in f2fs_iget run #3: crashed: KASAN: use-after-free Read in f2fs_iget run #4: crashed: KASAN: use-after-free Read in f2fs_iget run #5: crashed: KASAN: use-after-free Read in f2fs_iget run #6: crashed: KASAN: use-after-free Read in f2fs_iget run #7: crashed: KASAN: use-after-free Read in f2fs_destroy_extent_node run #8: crashed: KASAN: use-after-free Read in f2fs_iget run #9: crashed: KASAN: use-after-free Read in f2fs_destroy_extent_node representative crash: KASAN: use-after-free Read in f2fs_iget, types: [KASAN-USE-AFTER-FREE-READ] the bug reproduces without the instrumentation disabling configs for [ubsan bug_or_warning locking atomic_sleep hang memleak], they are not needed kconfig minimization: base=4788 full=6025 leaves diff=247 split chunks (needed=false): <247> split chunk #0 of len 247 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 1154f779f3f3d196ace7d5084498f5d7f418ba64 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: da593e1aca1c11ef595009e808be41a1e520f4a9bda3d3a865ef05f242f602f5 run #0: crashed: KASAN: use-after-free Read in f2fs_iget run #1: crashed: KASAN: use-after-free Read in f2fs_iget run #2: crashed: KASAN: use-after-free Read in f2fs_iget run #3: crashed: KASAN: use-after-free Read in f2fs_iget run #4: crashed: KASAN: use-after-free Read in f2fs_iget run #5: crashed: KASAN: use-after-free Read in f2fs_iget run #6: crashed: KASAN: use-after-free Read in f2fs_iget run #7: crashed: KASAN: use-after-free Read in f2fs_iget run #8: crashed: KASAN: use-after-free Read in f2fs_iget run #9: crashed: KASAN: use-after-free Read in f2fs_destroy_extent_node representative crash: KASAN: use-after-free Read in f2fs_iget, types: [KASAN-USE-AFTER-FREE-READ] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [bug_or_warning locking atomic_sleep hang memleak ubsan], they are not needed testing commit 1154f779f3f3d196ace7d5084498f5d7f418ba64 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a03707d1660cad3b4b65138e5eb02faf7afd0a645e8ce6c1c05899a7b673038d all runs: crashed: KASAN: use-after-free Read in f2fs_iget representative crash: KASAN: use-after-free Read in f2fs_iget, types: [KASAN-USE-AFTER-FREE-READ] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [ubsan bug_or_warning locking atomic_sleep hang memleak], they are not needed testing commit 1154f779f3f3d196ace7d5084498f5d7f418ba64 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 021212a9c91af90177b09b82b9895c3561dcf407283fca71a7b7ddc3e53bf736 all runs: crashed: KASAN: use-after-free Read in f2fs_iget representative crash: KASAN: use-after-free Read in f2fs_iget, types: [KASAN-USE-AFTER-FREE-READ] 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 1154f779f3f3d196ace7d5084498f5d7f418ba64 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8f09505be3204d914e39b5d25b082c4c565e4c23a293d6030a31d8919757d2c4 all runs: crashed: KASAN: use-after-free Read in f2fs_iget representative crash: KASAN: use-after-free Read in f2fs_iget, types: [KASAN-USE-AFTER-FREE-READ] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [memleak ubsan bug_or_warning locking atomic_sleep hang], they are not needed testing commit 1154f779f3f3d196ace7d5084498f5d7f418ba64 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 failed building 1154f779f3f3d196ace7d5084498f5d7f418ba64: net/socket.c:1128: undefined reference to `wext_handle_ioctl' net/socket.c:3397: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:346: undefined reference to `wext_proc_exit' net/core/net-procfs.c:330: undefined reference to `wext_proc_init' minimized to 47 configs; suspects: [HID_ZEROPLUS 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 9286af17ed5fa9f8cfcf84d6f1c7076790bfe794 testing commit 9286af17ed5fa9f8cfcf84d6f1c7076790bfe794 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fe72eb97f295274c00f3f833dc1afb503fb1ae1c774e25c3eed803d492d4625b all runs: crashed: KASAN: use-after-free Read in f2fs_iget representative crash: KASAN: use-after-free Read in f2fs_iget, types: [KASAN-USE-AFTER-FREE-READ] crash still not fixed/happens on the oldest tested release revisions tested: 7, total time: 55m44.252881604s (build: 20m57.243993967s, test: 33m36.126935441s) crash still not fixed or there were kernel test errors commit msg: Merge android13-5.10 into android13-5.10-lts crash: KASAN: use-after-free Read in f2fs_iget R13: 00007f968f811128 R14: 00007f968f811090 R15: 00007ffca8eaddd8 ================================================================== BUG: KASAN: use-after-free in sanity_check_inode fs/f2fs/inode.c:282 [inline] BUG: KASAN: use-after-free in do_read_inode fs/f2fs/inode.c:422 [inline] BUG: KASAN: use-after-free in f2fs_iget+0x4321/0x4a00 fs/f2fs/inode.c:521 Read of size 4 at addr ffff88810dee41e4 by task syz.3.20/506 CPU: 1 PID: 506 Comm: syz.3.20 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 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_load4_noabort+0x14/0x20 mm/kasan/report_generic.c:308 sanity_check_inode fs/f2fs/inode.c:282 [inline] do_read_inode fs/f2fs/inode.c:422 [inline] f2fs_iget+0x4321/0x4a00 fs/f2fs/inode.c:521 f2fs_lookup+0x491/0xc20 fs/f2fs/namei.c:544 lookup_open fs/namei.c:3234 [inline] open_last_lookups fs/namei.c:3325 [inline] path_openat+0x1024/0x3950 fs/namei.c:3514 do_filp_open+0x193/0x3d0 fs/namei.c:3544 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x124/0x200 fs/open.c:1244 do_syscall_64+0x32/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f968f5e9be9 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:00007f968f439038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f968f811090 RCX: 00007f968f5e9be9 RDX: 0000000000101000 RSI: 0000200000000080 RDI: ffffffffffffff9c RBP: 00007f968f66ce19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f968f811128 R14: 00007f968f811090 R15: 00007ffca8eaddd8 Allocated by task 482: 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_slab_alloc+0x94/0xc0 mm/kasan/common.c:463 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook mm/slab.h:580 [inline] slab_alloc_node mm/slub.c:2952 [inline] slab_alloc mm/slub.c:2960 [inline] kmem_cache_alloc+0x15d/0x4f0 mm/slub.c:2965 f2fs_kmem_cache_alloc_nofail fs/f2fs/f2fs.h:2769 [inline] f2fs_kmem_cache_alloc fs/f2fs/f2fs.h:2779 [inline] __grab_extent_tree fs/f2fs/extent_cache.c:295 [inline] __f2fs_init_extent_tree fs/f2fs/extent_cache.c:381 [inline] f2fs_init_extent_tree+0x98f/0xdf0 fs/f2fs/extent_cache.c:404 do_read_inode fs/f2fs/inode.c:399 [inline] f2fs_iget+0xa75/0x4a00 fs/f2fs/inode.c:521 f2fs_lookup+0x491/0xc20 fs/f2fs/namei.c:544 __lookup_slow+0x19b/0x3d0 fs/namei.c:1648 lookup_slow fs/namei.c:1665 [inline] walk_component+0x3ad/0x710 fs/namei.c:1960 lookup_last fs/namei.c:2411 [inline] path_lookupat+0x112/0x6a0 fs/namei.c:2435 filename_lookup+0x17f/0x510 fs/namei.c:2468 user_path_at_empty+0xa2/0xf0 fs/namei.c:2748 user_path_at include/linux/namei.h:60 [inline] do_sys_truncate.part.0+0x85/0x100 fs/open.c:132 do_sys_truncate fs/open.c:128 [inline] __do_sys_truncate fs/open.c:146 [inline] __se_sys_truncate fs/open.c:144 [inline] __x64_sys_truncate+0x54/0x80 fs/open.c:144 do_syscall_64+0x32/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb Freed by task 482: kasan_save_stack+0x26/0x50 mm/kasan/common.c:38 kasan_set_track+0x25/0x30 mm/kasan/common.c:45 kasan_set_free_info+0x24/0x40 mm/kasan/generic.c:370 ____kasan_slab_free mm/kasan/common.c:362 [inline] ____kasan_slab_free mm/kasan/common.c:324 [inline] __kasan_slab_free+0x111/0x150 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1600 [inline] slab_free_freelist_hook+0x9b/0x1a0 mm/slub.c:1626 slab_free mm/slub.c:3208 [inline] kmem_cache_free+0x106/0x440 mm/slub.c:3224 f2fs_destroy_extent_tree+0x174/0x4b0 fs/f2fs/extent_cache.c:845 f2fs_evict_inode+0x335/0x1680 fs/f2fs/inode.c:778 evict+0x372/0x940 fs/inode.c:612 iput_final fs/inode.c:1736 [inline] iput.part.0+0x33b/0x640 fs/inode.c:1762 iput+0x3f/0x50 fs/inode.c:1752 iget_failed+0x1e/0x30 fs/bad_inode.c:242 f2fs_iget+0x22be/0x4a00 fs/f2fs/inode.c:574 f2fs_lookup+0x491/0xc20 fs/f2fs/namei.c:544 __lookup_slow+0x19b/0x3d0 fs/namei.c:1648 lookup_slow fs/namei.c:1665 [inline] walk_component+0x3ad/0x710 fs/namei.c:1960 lookup_last fs/namei.c:2411 [inline] path_lookupat+0x112/0x6a0 fs/namei.c:2435 filename_lookup+0x17f/0x510 fs/namei.c:2468 user_path_at_empty+0xa2/0xf0 fs/namei.c:2748 user_path_at include/linux/namei.h:60 [inline] do_sys_truncate.part.0+0x85/0x100 fs/open.c:132 do_sys_truncate fs/open.c:128 [inline] __do_sys_truncate fs/open.c:146 [inline] __se_sys_truncate fs/open.c:144 [inline] __x64_sys_truncate+0x54/0x80 fs/open.c:144 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 ffff88810dee41c0 which belongs to the cache f2fs_extent_tree of size 80 The buggy address is located 36 bytes inside of 80-byte region [ffff88810dee41c0, ffff88810dee4210) The buggy address belongs to the page: page:ffffea000437b900 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10dee4 flags: 0x4000000000000200(slab) raw: 4000000000000200 dead000000000100 dead000000000122 ffff888104580300 raw: 0000000000000000 0000000080240024 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Reclaimable, gfp_mask 0x112c50(GFP_NOFS|__GFP_NOWARN|__GFP_NORETRY|__GFP_HARDWALL|__GFP_RECLAIMABLE), pid 499, ts 56542183092, free_ts 55763625825 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/0x2530 mm/page_alloc.c:5370 __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] kmem_cache_alloc+0x491/0x4f0 mm/slub.c:2965 f2fs_kmem_cache_alloc_nofail fs/f2fs/f2fs.h:2769 [inline] f2fs_kmem_cache_alloc fs/f2fs/f2fs.h:2779 [inline] __grab_extent_tree fs/f2fs/extent_cache.c:295 [inline] __f2fs_init_extent_tree fs/f2fs/extent_cache.c:381 [inline] f2fs_init_extent_tree+0x98f/0xdf0 fs/f2fs/extent_cache.c:404 do_read_inode fs/f2fs/inode.c:399 [inline] f2fs_iget+0xa75/0x4a00 fs/f2fs/inode.c:521 f2fs_lookup+0x491/0xc20 fs/f2fs/namei.c:544 lookup_open fs/namei.c:3234 [inline] open_last_lookups fs/namei.c:3325 [inline] path_openat+0x1024/0x3950 fs/namei.c:3514 do_filp_open+0x193/0x3d0 fs/namei.c:3544 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x124/0x200 fs/open.c:1244 do_syscall_64+0x32/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb page last free stack trace: reset_page_owner include/linux/page_owner.h:28 [inline] free_pages_prepare mm/page_alloc.c:1349 [inline] free_pcp_prepare+0x1a7/0x230 mm/page_alloc.c:1421 free_unref_page_prepare mm/page_alloc.c:3336 [inline] free_unref_page+0x19/0x270 mm/page_alloc.c:3391 free_the_page mm/page_alloc.c:5429 [inline] __free_pages+0xba/0xf0 mm/page_alloc.c:5440 __free_slab+0xde/0x1d0 mm/slub.c:1899 free_slab mm/slub.c:1914 [inline] discard_slab+0x2b/0x40 mm/slub.c:1920 unfreeze_partials+0x1e1/0x240 mm/slub.c:2415 put_cpu_partial+0xce/0x120 mm/slub.c:2451 __slab_free+0x23f/0x560 mm/slub.c:3100 do_slab_free mm/slub.c:3196 [inline] ___cache_free+0x255/0x2b0 mm/slub.c:3215 qlink_free mm/kasan/quarantine.c:157 [inline] qlist_free_all+0x71/0x150 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x15f/0x1c0 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0xaa/0xc0 mm/kasan/common.c:440 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook mm/slab.h:580 [inline] slab_alloc_node mm/slub.c:2952 [inline] slab_alloc mm/slub.c:2960 [inline] kmem_cache_alloc+0x15d/0x4f0 mm/slub.c:2965 kmem_cache_alloc_node include/linux/slab.h:426 [inline] __alloc_skb+0x41/0x4d0 net/core/skbuff.c:200 alloc_skb include/linux/skbuff.h:1126 [inline] nlmsg_new include/net/netlink.h:953 [inline] rtmsg_ifinfo_build_skb+0x70/0x160 net/core/rtnetlink.c:3844 unregister_netdevice_many+0xe93/0x14c0 net/core/dev.c:10771 Memory state around the buggy address: ffff88810dee4080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88810dee4100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88810dee4180: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ^ ffff88810dee4200: fb fb fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88810dee4280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== F2FS-fs (loop3): sanity_check_inode: inode (ino=8) extent info [14338, 0, 2147549187] is incorrect, run fsck to fix ================================================================== BUG: KASAN: double-free or invalid-free in slab_free mm/slub.c:3208 [inline] BUG: KASAN: double-free or invalid-free in kmem_cache_free+0x106/0x440 mm/slub.c:3224 CPU: 1 PID: 506 Comm: syz.3.20 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 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_invalid_free+0x56/0x80 mm/kasan/report.c:374 ____kasan_slab_free mm/kasan/common.c:342 [inline] __kasan_slab_free+0x134/0x150 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1600 [inline] slab_free_freelist_hook+0x9b/0x1a0 mm/slub.c:1626 slab_free mm/slub.c:3208 [inline] kmem_cache_free+0x106/0x440 mm/slub.c:3224 f2fs_destroy_extent_tree+0x174/0x4b0 fs/f2fs/extent_cache.c:845 f2fs_evict_inode+0x335/0x1680 fs/f2fs/inode.c:778 evict+0x372/0x940 fs/inode.c:612 iput_final fs/inode.c:1736 [inline] iput.part.0+0x33b/0x640 fs/inode.c:1762 iput+0x3f/0x50 fs/inode.c:1752 iget_failed+0x1e/0x30 fs/bad_inode.c:242 f2fs_iget+0x22be/0x4a00 fs/f2fs/inode.c:574 f2fs_lookup+0x491/0xc20 fs/f2fs/namei.c:544 lookup_open fs/namei.c:3234 [inline] open_last_lookups fs/namei.c:3325 [inline] path_openat+0x1024/0x3950 fs/namei.c:3514 do_filp_open+0x193/0x3d0 fs/namei.c:3544 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x124/0x200 fs/open.c:1244 do_syscall_64+0x32/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f968f5e9be9 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:00007f968f439038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f968f811090 RCX: 00007f968f5e9be9 RDX: 0000000000101000 RSI: 0000200000000080 RDI: ffffffffffffff9c RBP: 00007f968f66ce19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f968f811128 R14: 00007f968f811090 R15: 00007ffca8eaddd8 Allocated by task 482: 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_slab_alloc+0x94/0xc0 mm/kasan/common.c:463 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook mm/slab.h:580 [inline] slab_alloc_node mm/slub.c:2952 [inline] slab_alloc mm/slub.c:2960 [inline] kmem_cache_alloc+0x15d/0x4f0 mm/slub.c:2965 f2fs_kmem_cache_alloc_nofail fs/f2fs/f2fs.h:2769 [inline] f2fs_kmem_cache_alloc fs/f2fs/f2fs.h:2779 [inline] __grab_extent_tree fs/f2fs/extent_cache.c:295 [inline] __f2fs_init_extent_tree fs/f2fs/extent_cache.c:381 [inline] f2fs_init_extent_tree+0x98f/0xdf0 fs/f2fs/extent_cache.c:404 do_read_inode fs/f2fs/inode.c:399 [inline] f2fs_iget+0xa75/0x4a00 fs/f2fs/inode.c:521 f2fs_lookup+0x491/0xc20 fs/f2fs/namei.c:544 __lookup_slow+0x19b/0x3d0 fs/namei.c:1648 lookup_slow fs/namei.c:1665 [inline] walk_component+0x3ad/0x710 fs/namei.c:1960 lookup_last fs/namei.c:2411 [inline] path_lookupat+0x112/0x6a0 fs/namei.c:2435 filename_lookup+0x17f/0x510 fs/namei.c:2468 user_path_at_empty+0xa2/0xf0 fs/namei.c:2748 user_path_at include/linux/namei.h:60 [inline] do_sys_truncate.part.0+0x85/0x100 fs/open.c:132 do_sys_truncate fs/open.c:128 [inline] __do_sys_truncate fs/open.c:146 [inline] __se_sys_truncate fs/open.c:144 [inline] __x64_sys_truncate+0x54/0x80 fs/open.c:144 do_syscall_64+0x32/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb Freed by task 482: kasan_save_stack+0x26/0x50 mm/kasan/common.c:38 kasan_set_track+0x25/0x30 mm/kasan/common.c:45 kasan_set_free_info+0x24/0x40 mm/kasan/generic.c:370 ____kasan_slab_free mm/kasan/common.c:362 [inline] ____kasan_slab_free mm/kasan/common.c:324 [inline] __kasan_slab_free+0x111/0x150 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1600 [inline] slab_free_freelist_hook+0x9b/0x1a0 mm/slub.c:1626 slab_free mm/slub.c:3208 [inline] kmem_cache_free+0x106/0x440 mm/slub.c:3224 f2fs_destroy_extent_tree+0x174/0x4b0 fs/f2fs/extent_cache.c:845 f2fs_evict_inode+0x335/0x1680 fs/f2fs/inode.c:778 evict+0x372/0x940 fs/inode.c:612 iput_final fs/inode.c:1736 [inline] iput.part.0+0x33b/0x640 fs/inode.c:1762 iput+0x3f/0x50 fs/inode.c:1752 iget_failed+0x1e/0x30 fs/bad_inode.c:242 f2fs_iget+0x22be/0x4a00 fs/f2fs/inode.c:574 f2fs_lookup+0x491/0xc20 fs/f2fs/namei.c:544 __lookup_slow+0x19b/0x3d0 fs/namei.c:1648 lookup_slow fs/namei.c:1665 [inline] walk_component+0x3ad/0x710 fs/namei.c:1960 lookup_last fs/namei.c:2411 [inline] path_lookupat+0x112/0x6a0 fs/namei.c:2435 filename_lookup+0x17f/0x510 fs/namei.c:2468 user_path_at_empty+0xa2/0xf0 fs/namei.c:2748 user_path_at include/linux/namei.h:60 [inline] do_sys_truncate.part.0+0x85/0x100 fs/open.c:132 do_sys_truncate fs/open.c:128 [inline] __do_sys_truncate fs/open.c:146 [inline] __se_sys_truncate fs/open.c:144 [inline] __x64_sys_truncate+0x54/0x80 fs/open.c:144 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 ffff88810dee41c0 which belongs to the cache f2fs_extent_tree of size 80 The buggy address is located 0 bytes inside of 80-byte region [ffff88810dee41c0, ffff88810dee4210) The buggy address belongs to the page: page:ffffea000437b900 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10dee4 flags: 0x4000000000000200(slab) raw: 4000000000000200 dead000000000100 dead000000000122 ffff888104580300 raw: 0000000000000000 0000000080240024 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Reclaimable, gfp_mask 0x112c50(GFP_NOFS|__GFP_NOWARN|__GFP_NORETRY|__GFP_HARDWALL|__GFP_RECLAIMABLE), pid 499, ts 56542183092, free_ts 55763625825 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/0x2530 mm/page_alloc.c:5370 __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] kmem_cache_alloc+0x491/0x4f0 mm/slub.c:2965 f2fs_kmem_cache_alloc_nofail fs/f2fs/f2fs.h:2769 [inline] f2fs_kmem_cache_alloc fs/f2fs/f2fs.h:2779 [inline] __grab_extent_tree fs/f2fs/extent_cache.c:295 [inline] __f2fs_init_extent_tree fs/f2fs/extent_cache.c:381 [inline] f2fs_init_extent_tree+0x98f/0xdf0 fs/f2fs/extent_cache.c:404 do_read_inode fs/f2fs/inode.c:399 [inline] f2fs_iget+0xa75/0x4a00 fs/f2fs/inode.c:521 f2fs_lookup+0x491/0xc20 fs/f2fs/namei.c:544 lookup_open fs/namei.c:3234 [inline] open_last_lookups fs/namei.c:3325 [inline] path_openat+0x1024/0x3950 fs/namei.c:3514 do_filp_open+0x193/0x3d0 fs/namei.c:3544 do_sys_openat2+0x135/0x810 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x124/0x200 fs/open.c:1244 do_syscall_64+0x32/0x50 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb page last free stack trace: reset_page_owner include/linux/page_owner.h:28 [inline] free_pages_prepare mm/page_alloc.c:1349 [inline] free_pcp_prepare+0x1a7/0x230 mm/page_alloc.c:1421 free_unref_page_prepare mm/page_alloc.c:3336 [inline] free_unref_page+0x19/0x270 mm/page_alloc.c:3391 free_the_page mm/page_alloc.c:5429 [inline] __free_pages+0xba/0xf0 mm/page_alloc.c:5440 __free_slab+0xde/0x1d0 mm/slub.c:1899 free_slab mm/slub.c:1914 [inline] discard_slab+0x2b/0x40 mm/slub.c:1920 unfreeze_partials+0x1e1/0x240 mm/slub.c:2415 put_cpu_partial+0xce/0x120 mm/slub.c:2451 __slab_free+0x23f/0x560 mm/slub.c:3100 do_slab_free mm/slub.c:3196 [inline] ___cache_free+0x255/0x2b0 mm/slub.c:3215 qlink_free mm/kasan/quarantine.c:157 [inline] qlist_free_all+0x71/0x150 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x15f/0x1c0 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0xaa/0xc0 mm/kasan/common.c:440 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook mm/slab.h:580 [inline] slab_alloc_node mm/slub.c:2952 [inline] slab_alloc mm/slub.c:2960 [inline] kmem_cache_alloc+0x15d/0x4f0 mm/slub.c:2965 kmem_cache_alloc_node include/linux/slab.h:426 [inline] __alloc_skb+0x41/0x4d0 net/core/skbuff.c:200 alloc_skb include/linux/skbuff.h:1126 [inline] nlmsg_new include/net/netlink.h:953 [inline] rtmsg_ifinfo_build_skb+0x70/0x160 net/core/rtnetlink.c:3844 unregister_netdevice_many+0xe93/0x14c0 net/core/dev.c:10771 Memory state around the buggy address: ffff88810dee4080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88810dee4100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88810dee4180: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ^ ffff88810dee4200: fb fb fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88810dee4280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================