team0 (unregistering): Port device team_slave_0 removed ================================================================== BUG: KASAN: slab-out-of-bounds in __hlist_del include/linux/list.h:980 [inline] BUG: KASAN: slab-out-of-bounds in hlist_del_rcu include/linux/rculist.h:560 [inline] BUG: KASAN: slab-out-of-bounds in __xfrm_state_delete+0x666/0xca0 net/xfrm/xfrm_state.c:830 Write of size 8 at addr ffff8880688c3768 by task kworker/u8:13/6498 CPU: 0 UID: 0 PID: 6498 Comm: kworker/u8:13 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Workqueue: netns cleanup_net Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xca/0x240 mm/kasan/report.c:482 kasan_report+0x118/0x150 mm/kasan/report.c:595 __hlist_del include/linux/list.h:980 [inline] hlist_del_rcu include/linux/rculist.h:560 [inline] __xfrm_state_delete+0x666/0xca0 net/xfrm/xfrm_state.c:830 xfrm_state_delete net/xfrm/xfrm_state.c:856 [inline] xfrm_state_flush+0x45f/0x770 net/xfrm/xfrm_state.c:939 xfrm6_tunnel_net_exit+0x3c/0x100 net/ipv6/xfrm6_tunnel.c:337 ops_exit_list net/core/net_namespace.c:198 [inline] ops_undo_list+0x49a/0x990 net/core/net_namespace.c:251 cleanup_net+0x4c5/0x800 net/core/net_namespace.c:682 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3319 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400 kthread+0x70e/0x8a0 kernel/kthread.c:463 ret_from_fork+0x439/0x7d0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 13024: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:388 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:405 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4376 [inline] __kmalloc_noprof+0x27a/0x4f0 mm/slub.c:4388 kmalloc_noprof include/linux/slab.h:909 [inline] kzalloc_noprof include/linux/slab.h:1039 [inline] hash_ip4_add+0x18ba/0x1ec0 net/netfilter/ipset/ip_set_hash_gen.h:950 hash_ip4_uadt+0x63d/0x850 net/netfilter/ipset/ip_set_hash_ip.c:160 call_ad+0x383/0xb00 net/netfilter/ipset/ip_set_core.c:1751 ip_set_ad+0x791/0x930 net/netfilter/ipset/ip_set_core.c:1841 nfnetlink_rcv_msg+0xb4a/0x1130 net/netfilter/nfnetlink.c:302 netlink_rcv_skb+0x208/0x470 net/netlink/af_netlink.c:2552 nfnetlink_rcv+0x26a/0x2520 net/netfilter/nfnetlink.c:667 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x82f/0x9e0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:729 ____sys_sendmsg+0x505/0x830 net/socket.c:2614 ___sys_sendmsg+0x21f/0x2a0 net/socket.c:2668 __sys_sendmsg net/socket.c:2700 [inline] __do_sys_sendmsg net/socket.c:2705 [inline] __se_sys_sendmsg net/socket.c:2703 [inline] __x64_sys_sendmsg+0x19b/0x260 net/socket.c:2703 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff8880688c3400 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 552 bytes to the right of allocated 320-byte region [ffff8880688c3400, ffff8880688c3540) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x688c0 head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88801a441c80 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88801a441c80 dead000000000122 0000000000000000 head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000002 ffffea0001a23001 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0x52820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 13024, tgid 13015 (syz.6.2188), ts 276051031845, free_ts 275611701018 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5148 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2416 alloc_slab_page mm/slub.c:2492 [inline] allocate_slab+0x8a/0x370 mm/slub.c:2660 new_slab mm/slub.c:2714 [inline] ___slab_alloc+0xbeb/0x1420 mm/slub.c:3901 __slab_alloc mm/slub.c:3992 [inline] __slab_alloc_node mm/slub.c:4067 [inline] slab_alloc_node mm/slub.c:4228 [inline] __do_kmalloc_node mm/slub.c:4375 [inline] __kmalloc_noprof+0x305/0x4f0 mm/slub.c:4388 kmalloc_noprof include/linux/slab.h:909 [inline] kzalloc_noprof include/linux/slab.h:1039 [inline] hash_ip4_add+0x18ba/0x1ec0 net/netfilter/ipset/ip_set_hash_gen.h:950 hash_ip4_uadt+0x63d/0x850 net/netfilter/ipset/ip_set_hash_ip.c:160 call_ad+0x383/0xb00 net/netfilter/ipset/ip_set_core.c:1751 ip_set_ad+0x791/0x930 net/netfilter/ipset/ip_set_core.c:1841 nfnetlink_rcv_msg+0xb4a/0x1130 net/netfilter/nfnetlink.c:302 netlink_rcv_skb+0x208/0x470 net/netlink/af_netlink.c:2552 nfnetlink_rcv+0x26a/0x2520 net/netfilter/nfnetlink.c:667 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x82f/0x9e0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1896 page last free pid 5868 tgid 5868 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2895 __slab_free+0x303/0x3c0 mm/slub.c:4606 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x97/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:340 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4191 [inline] slab_alloc_node mm/slub.c:4240 [inline] __do_kmalloc_node mm/slub.c:4375 [inline] __kmalloc_noprof+0x224/0x4f0 mm/slub.c:4388 kmalloc_noprof include/linux/slab.h:909 [inline] tomoyo_realpath_from_path+0xe3/0x5d0 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x213/0x4b0 security/tomoyo/file.c:822 tomoyo_path_unlink+0xa2/0xe0 security/tomoyo/tomoyo.c:162 security_path_unlink+0x167/0x360 security/security.c:1965 do_unlinkat+0x2c1/0x560 fs/namei.c:4647 __do_sys_unlink fs/namei.c:4696 [inline] __se_sys_unlink fs/namei.c:4694 [inline] __x64_sys_unlink+0x47/0x50 fs/namei.c:4694 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff8880688c3600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880688c3680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880688c3700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880688c3780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880688c3800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================