syzbot


KASAN: slab-out-of-bounds Read in stack_trace_print

Status: closed as dup on 2025/06/03 12:10
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+f1f111e824eb94bb98dc@syzkaller.appspotmail.com
First crash: 51d, last: 51d
Duplicate of
Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported
KASAN: global-out-of-bounds Read in in_dev_finish_destroy net 17 11 56d 71d
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in hid_connect kernel 7 C 176 994d 1344d 0/29 closed as invalid on 2022/11/03 08:52
upstream KMSAN: kernel-infoleak in _copy_to_iter (7) net 23 C 138977 880d 1232d 22/29 fixed on 2023/02/24 13:50
upstream KMSAN: uninit-value in stack_trace_print kernel 7 1 876d 876d 0/29 auto-obsoleted due to no activity on 2023/05/29 04:23

Sample crash report:
 0x200000
 __key.14+0x0/0x40
 0x0
 0x0
 icmpv6_protocol+0x700/0xcc0
 0x0
 0x0
 0x0
 0x100000008
 0x1
 0x10003393c
 0x10003393c
 0x0
 0x0
==================================================================
BUG: KASAN: slab-out-of-bounds in stack_trace_print kernel/stacktrace.c:33 [inline]
BUG: KASAN: slab-out-of-bounds in stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
Read of size 8 at addr ffff888054668120 by task kworker/u8:11/6189

CPU: 0 UID: 0 PID: 6189 Comm: kworker/u8:11 Not tainted 6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:408 [inline]
 print_report+0xcd/0x680 mm/kasan/report.c:521
 kasan_report+0xe0/0x110 mm/kasan/report.c:634
 stack_trace_print kernel/stacktrace.c:33 [inline]
 stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
 ref_tracker_free+0x6e8/0x830 lib/ref_tracker.c:252
 netdev_tracker_free include/linux/netdevice.h:4361 [inline]
 netdev_put include/linux/netdevice.h:4378 [inline]
 netdev_put include/linux/netdevice.h:4374 [inline]
 in_dev_finish_destroy+0xae/0x1d0 net/ipv4/devinet.c:258
 in_dev_put include/linux/inetdevice.h:290 [inline]
 inetdev_destroy net/ipv4/devinet.c:338 [inline]
 inetdev_event+0xf8b/0x18a0 net/ipv4/devinet.c:1656
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 unregister_netdevice_many_notify+0xf9a/0x26f0 net/core/dev.c:12076
 unregister_netdevice_many net/core/dev.c:12139 [inline]
 default_device_exit_batch+0x853/0xaf0 net/core/dev.c:12643
 ops_exit_list net/core/net_namespace.c:206 [inline]
 ops_undo_list+0x363/0xab0 net/core/net_namespace.c:253
 cleanup_net+0x408/0x890 net/core/net_namespace.c:686
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
 kthread+0x3c5/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 25155:
 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
 kasan_save_track+0x14/0x30 mm/kasan/common.c:68
 poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
 kmalloc_noprof include/linux/slab.h:905 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 mca_alloc net/ipv6/mcast.c:884 [inline]
 __ipv6_dev_mc_inc+0x2b9/0xc10 net/ipv6/mcast.c:975
 ipv6_add_dev+0xbbf/0x15f0 net/ipv6/addrconf.c:470
 addrconf_notify+0x53e/0x19e0 net/ipv6/addrconf.c:3654
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 register_netdevice+0x182e/0x2270 net/core/dev.c:11142
 rtnl_newlink_create net/core/rtnetlink.c:3825 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3940 [inline]
 rtnl_newlink+0x1af0/0x2000 net/core/rtnetlink.c:4055
 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6944
 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2534
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x53d/0x7f0 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg net/socket.c:727 [inline]
 __sys_sendto+0x4a3/0x520 net/socket.c:2180
 __do_sys_sendto net/socket.c:2187 [inline]
 __se_sys_sendto net/socket.c:2183 [inline]
 __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2183
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888054668000
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 0 bytes to the right of
 allocated 288-byte region [ffff888054668000, ffff888054668120)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805466bc00 pfn:0x54668
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
raw: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
head: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0001519a01 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 5833, tgid 5833 (syz-executor), ts 117153442030, free_ts 37804193309
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704
 prep_new_page mm/page_alloc.c:1712 [inline]
 get_page_from_freelist+0x1321/0x3890 mm/page_alloc.c:3669
 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:4959
 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2419
 alloc_slab_page mm/slub.c:2450 [inline]
 allocate_slab mm/slub.c:2618 [inline]
 new_slab+0x23b/0x330 mm/slub.c:2672
 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3858
 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3948
 __slab_alloc_node mm/slub.c:4023 [inline]
 slab_alloc_node mm/slub.c:4184 [inline]
 __do_kmalloc_node mm/slub.c:4326 [inline]
 __kmalloc_noprof+0x2f2/0x510 mm/slub.c:4339
 kmalloc_noprof include/linux/slab.h:909 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 fib6_info_alloc+0x40/0x160 net/ipv6/ip6_fib.c:155
 ip6_route_info_create+0x14c/0x870 net/ipv6/route.c:3764
 ip6_route_add+0x26/0x1d0 net/ipv6/route.c:3889
 addrconf_prefix_route+0x2fd/0x510 net/ipv6/addrconf.c:2487
 addrconf_add_linklocal+0x329/0x500 net/ipv6/addrconf.c:3312
 addrconf_addr_gen+0x36d/0x3c0 net/ipv6/addrconf.c:3441
 addrconf_dev_config net/ipv6/addrconf.c:3487 [inline]
 addrconf_init_auto_addrs+0x4b9/0x8f0 net/ipv6/addrconf.c:3571
 addrconf_notify+0xe93/0x19e0 net/ipv6/addrconf.c:3744
page last free pid 1 tgid 1 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1248 [inline]
 __free_frozen_pages+0x7fe/0x1180 mm/page_alloc.c:2706
 __free_pages mm/page_alloc.c:5071 [inline]
 free_contig_range+0x183/0x4b0 mm/page_alloc.c:6927
 destroy_args+0x7f6/0xa60 mm/debug_vm_pgtable.c:1009
 debug_vm_pgtable+0x13b8/0x2d00 mm/debug_vm_pgtable.c:1389
 do_one_initcall+0x123/0x6e0 init/main.c:1273
 do_initcall_level init/main.c:1335 [inline]
 do_initcalls init/main.c:1351 [inline]
 do_basic_setup init/main.c:1370 [inline]
 kernel_init_freeable+0x5c2/0x900 init/main.c:1583
 kernel_init+0x1c/0x2b0 init/main.c:1473
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Memory state around the buggy address:
 ffff888054668000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888054668080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888054668100: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc
                               ^
 ffff888054668180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888054668200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
 0x0
==================================================================
BUG: KASAN: slab-out-of-bounds in stack_trace_print kernel/stacktrace.c:33 [inline]
BUG: KASAN: slab-out-of-bounds in stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
Read of size 8 at addr ffff888054668128 by task kworker/u8:11/6189

CPU: 0 UID: 0 PID: 6189 Comm: kworker/u8:11 Tainted: G    B               6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT(full) 
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:408 [inline]
 print_report+0xcd/0x680 mm/kasan/report.c:521
 kasan_report+0xe0/0x110 mm/kasan/report.c:634
 stack_trace_print kernel/stacktrace.c:33 [inline]
 stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
 ref_tracker_free+0x6e8/0x830 lib/ref_tracker.c:252
 netdev_tracker_free include/linux/netdevice.h:4361 [inline]
 netdev_put include/linux/netdevice.h:4378 [inline]
 netdev_put include/linux/netdevice.h:4374 [inline]
 in_dev_finish_destroy+0xae/0x1d0 net/ipv4/devinet.c:258
 in_dev_put include/linux/inetdevice.h:290 [inline]
 inetdev_destroy net/ipv4/devinet.c:338 [inline]
 inetdev_event+0xf8b/0x18a0 net/ipv4/devinet.c:1656
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 unregister_netdevice_many_notify+0xf9a/0x26f0 net/core/dev.c:12076
 unregister_netdevice_many net/core/dev.c:12139 [inline]
 default_device_exit_batch+0x853/0xaf0 net/core/dev.c:12643
 ops_exit_list net/core/net_namespace.c:206 [inline]
 ops_undo_list+0x363/0xab0 net/core/net_namespace.c:253
 cleanup_net+0x408/0x890 net/core/net_namespace.c:686
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
 kthread+0x3c5/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 25155:
 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
 kasan_save_track+0x14/0x30 mm/kasan/common.c:68
 poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
 kmalloc_noprof include/linux/slab.h:905 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 mca_alloc net/ipv6/mcast.c:884 [inline]
 __ipv6_dev_mc_inc+0x2b9/0xc10 net/ipv6/mcast.c:975
 ipv6_add_dev+0xbbf/0x15f0 net/ipv6/addrconf.c:470
 addrconf_notify+0x53e/0x19e0 net/ipv6/addrconf.c:3654
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 register_netdevice+0x182e/0x2270 net/core/dev.c:11142
 rtnl_newlink_create net/core/rtnetlink.c:3825 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3940 [inline]
 rtnl_newlink+0x1af0/0x2000 net/core/rtnetlink.c:4055
 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6944
 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2534
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x53d/0x7f0 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg net/socket.c:727 [inline]
 __sys_sendto+0x4a3/0x520 net/socket.c:2180
 __do_sys_sendto net/socket.c:2187 [inline]
 __se_sys_sendto net/socket.c:2183 [inline]
 __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2183
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888054668000
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 8 bytes to the right of
 allocated 288-byte region [ffff888054668000, ffff888054668120)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805466bc00 pfn:0x54668
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
raw: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
head: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0001519a01 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 5833, tgid 5833 (syz-executor), ts 117153442030, free_ts 37804193309
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704
 prep_new_page mm/page_alloc.c:1712 [inline]
 get_page_from_freelist+0x1321/0x3890 mm/page_alloc.c:3669
 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:4959
 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2419
 alloc_slab_page mm/slub.c:2450 [inline]
 allocate_slab mm/slub.c:2618 [inline]
 new_slab+0x23b/0x330 mm/slub.c:2672
 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3858
 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3948
 __slab_alloc_node mm/slub.c:4023 [inline]
 slab_alloc_node mm/slub.c:4184 [inline]
 __do_kmalloc_node mm/slub.c:4326 [inline]
 __kmalloc_noprof+0x2f2/0x510 mm/slub.c:4339
 kmalloc_noprof include/linux/slab.h:909 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 fib6_info_alloc+0x40/0x160 net/ipv6/ip6_fib.c:155
 ip6_route_info_create+0x14c/0x870 net/ipv6/route.c:3764
 ip6_route_add+0x26/0x1d0 net/ipv6/route.c:3889
 addrconf_prefix_route+0x2fd/0x510 net/ipv6/addrconf.c:2487
 addrconf_add_linklocal+0x329/0x500 net/ipv6/addrconf.c:3312
 addrconf_addr_gen+0x36d/0x3c0 net/ipv6/addrconf.c:3441
 addrconf_dev_config net/ipv6/addrconf.c:3487 [inline]
 addrconf_init_auto_addrs+0x4b9/0x8f0 net/ipv6/addrconf.c:3571
 addrconf_notify+0xe93/0x19e0 net/ipv6/addrconf.c:3744
page last free pid 1 tgid 1 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1248 [inline]
 __free_frozen_pages+0x7fe/0x1180 mm/page_alloc.c:2706
 __free_pages mm/page_alloc.c:5071 [inline]
 free_contig_range+0x183/0x4b0 mm/page_alloc.c:6927
 destroy_args+0x7f6/0xa60 mm/debug_vm_pgtable.c:1009
 debug_vm_pgtable+0x13b8/0x2d00 mm/debug_vm_pgtable.c:1389
 do_one_initcall+0x123/0x6e0 init/main.c:1273
 do_initcall_level init/main.c:1335 [inline]
 do_initcalls init/main.c:1351 [inline]
 do_basic_setup init/main.c:1370 [inline]
 kernel_init_freeable+0x5c2/0x900 init/main.c:1583
 kernel_init+0x1c/0x2b0 init/main.c:1473
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Memory state around the buggy address:
 ffff888054668000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888054668080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888054668100: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc
                                  ^
 ffff888054668180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888054668200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
 0x0
==================================================================
BUG: KASAN: slab-out-of-bounds in stack_trace_print kernel/stacktrace.c:33 [inline]
BUG: KASAN: slab-out-of-bounds in stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
Read of size 8 at addr ffff888054668130 by task kworker/u8:11/6189

CPU: 0 UID: 0 PID: 6189 Comm: kworker/u8:11 Tainted: G    B               6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT(full) 
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:408 [inline]
 print_report+0xcd/0x680 mm/kasan/report.c:521
 kasan_report+0xe0/0x110 mm/kasan/report.c:634
 stack_trace_print kernel/stacktrace.c:33 [inline]
 stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
 ref_tracker_free+0x6e8/0x830 lib/ref_tracker.c:252
 netdev_tracker_free include/linux/netdevice.h:4361 [inline]
 netdev_put include/linux/netdevice.h:4378 [inline]
 netdev_put include/linux/netdevice.h:4374 [inline]
 in_dev_finish_destroy+0xae/0x1d0 net/ipv4/devinet.c:258
 in_dev_put include/linux/inetdevice.h:290 [inline]
 inetdev_destroy net/ipv4/devinet.c:338 [inline]
 inetdev_event+0xf8b/0x18a0 net/ipv4/devinet.c:1656
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 unregister_netdevice_many_notify+0xf9a/0x26f0 net/core/dev.c:12076
 unregister_netdevice_many net/core/dev.c:12139 [inline]
 default_device_exit_batch+0x853/0xaf0 net/core/dev.c:12643
 ops_exit_list net/core/net_namespace.c:206 [inline]
 ops_undo_list+0x363/0xab0 net/core/net_namespace.c:253
 cleanup_net+0x408/0x890 net/core/net_namespace.c:686
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
 kthread+0x3c5/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 25155:
 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
 kasan_save_track+0x14/0x30 mm/kasan/common.c:68
 poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
 kmalloc_noprof include/linux/slab.h:905 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 mca_alloc net/ipv6/mcast.c:884 [inline]
 __ipv6_dev_mc_inc+0x2b9/0xc10 net/ipv6/mcast.c:975
 ipv6_add_dev+0xbbf/0x15f0 net/ipv6/addrconf.c:470
 addrconf_notify+0x53e/0x19e0 net/ipv6/addrconf.c:3654
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 register_netdevice+0x182e/0x2270 net/core/dev.c:11142
 rtnl_newlink_create net/core/rtnetlink.c:3825 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3940 [inline]
 rtnl_newlink+0x1af0/0x2000 net/core/rtnetlink.c:4055
 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6944
 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2534
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x53d/0x7f0 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg net/socket.c:727 [inline]
 __sys_sendto+0x4a3/0x520 net/socket.c:2180
 __do_sys_sendto net/socket.c:2187 [inline]
 __se_sys_sendto net/socket.c:2183 [inline]
 __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2183
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888054668000
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 16 bytes to the right of
 allocated 288-byte region [ffff888054668000, ffff888054668120)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805466bc00 pfn:0x54668
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
raw: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
head: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0001519a01 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 5833, tgid 5833 (syz-executor), ts 117153442030, free_ts 37804193309
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704
 prep_new_page mm/page_alloc.c:1712 [inline]
 get_page_from_freelist+0x1321/0x3890 mm/page_alloc.c:3669
 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:4959
 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2419
 alloc_slab_page mm/slub.c:2450 [inline]
 allocate_slab mm/slub.c:2618 [inline]
 new_slab+0x23b/0x330 mm/slub.c:2672
 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3858
 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3948
 __slab_alloc_node mm/slub.c:4023 [inline]
 slab_alloc_node mm/slub.c:4184 [inline]
 __do_kmalloc_node mm/slub.c:4326 [inline]
 __kmalloc_noprof+0x2f2/0x510 mm/slub.c:4339
 kmalloc_noprof include/linux/slab.h:909 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 fib6_info_alloc+0x40/0x160 net/ipv6/ip6_fib.c:155
 ip6_route_info_create+0x14c/0x870 net/ipv6/route.c:3764
 ip6_route_add+0x26/0x1d0 net/ipv6/route.c:3889
 addrconf_prefix_route+0x2fd/0x510 net/ipv6/addrconf.c:2487
 addrconf_add_linklocal+0x329/0x500 net/ipv6/addrconf.c:3312
 addrconf_addr_gen+0x36d/0x3c0 net/ipv6/addrconf.c:3441
 addrconf_dev_config net/ipv6/addrconf.c:3487 [inline]
 addrconf_init_auto_addrs+0x4b9/0x8f0 net/ipv6/addrconf.c:3571
 addrconf_notify+0xe93/0x19e0 net/ipv6/addrconf.c:3744
page last free pid 1 tgid 1 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1248 [inline]
 __free_frozen_pages+0x7fe/0x1180 mm/page_alloc.c:2706
 __free_pages mm/page_alloc.c:5071 [inline]
 free_contig_range+0x183/0x4b0 mm/page_alloc.c:6927
 destroy_args+0x7f6/0xa60 mm/debug_vm_pgtable.c:1009
 debug_vm_pgtable+0x13b8/0x2d00 mm/debug_vm_pgtable.c:1389
 do_one_initcall+0x123/0x6e0 init/main.c:1273
 do_initcall_level init/main.c:1335 [inline]
 do_initcalls init/main.c:1351 [inline]
 do_basic_setup init/main.c:1370 [inline]
 kernel_init_freeable+0x5c2/0x900 init/main.c:1583
 kernel_init+0x1c/0x2b0 init/main.c:1473
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Memory state around the buggy address:
 ffff888054668000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888054668080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888054668100: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc
                                     ^
 ffff888054668180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888054668200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
 0x0
==================================================================
BUG: KASAN: slab-out-of-bounds in stack_trace_print kernel/stacktrace.c:33 [inline]
BUG: KASAN: slab-out-of-bounds in stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
Read of size 8 at addr ffff888054668138 by task kworker/u8:11/6189

CPU: 0 UID: 0 PID: 6189 Comm: kworker/u8:11 Tainted: G    B               6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT(full) 
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:408 [inline]
 print_report+0xcd/0x680 mm/kasan/report.c:521
 kasan_report+0xe0/0x110 mm/kasan/report.c:634
 stack_trace_print kernel/stacktrace.c:33 [inline]
 stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
 ref_tracker_free+0x6e8/0x830 lib/ref_tracker.c:252
 netdev_tracker_free include/linux/netdevice.h:4361 [inline]
 netdev_put include/linux/netdevice.h:4378 [inline]
 netdev_put include/linux/netdevice.h:4374 [inline]
 in_dev_finish_destroy+0xae/0x1d0 net/ipv4/devinet.c:258
 in_dev_put include/linux/inetdevice.h:290 [inline]
 inetdev_destroy net/ipv4/devinet.c:338 [inline]
 inetdev_event+0xf8b/0x18a0 net/ipv4/devinet.c:1656
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 unregister_netdevice_many_notify+0xf9a/0x26f0 net/core/dev.c:12076
 unregister_netdevice_many net/core/dev.c:12139 [inline]
 default_device_exit_batch+0x853/0xaf0 net/core/dev.c:12643
 ops_exit_list net/core/net_namespace.c:206 [inline]
 ops_undo_list+0x363/0xab0 net/core/net_namespace.c:253
 cleanup_net+0x408/0x890 net/core/net_namespace.c:686
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
 kthread+0x3c5/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 25155:
 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
 kasan_save_track+0x14/0x30 mm/kasan/common.c:68
 poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
 kmalloc_noprof include/linux/slab.h:905 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 mca_alloc net/ipv6/mcast.c:884 [inline]
 __ipv6_dev_mc_inc+0x2b9/0xc10 net/ipv6/mcast.c:975
 ipv6_add_dev+0xbbf/0x15f0 net/ipv6/addrconf.c:470
 addrconf_notify+0x53e/0x19e0 net/ipv6/addrconf.c:3654
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 register_netdevice+0x182e/0x2270 net/core/dev.c:11142
 rtnl_newlink_create net/core/rtnetlink.c:3825 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3940 [inline]
 rtnl_newlink+0x1af0/0x2000 net/core/rtnetlink.c:4055
 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6944
 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2534
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x53d/0x7f0 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg net/socket.c:727 [inline]
 __sys_sendto+0x4a3/0x520 net/socket.c:2180
 __do_sys_sendto net/socket.c:2187 [inline]
 __se_sys_sendto net/socket.c:2183 [inline]
 __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2183
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888054668000
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 24 bytes to the right of
 allocated 288-byte region [ffff888054668000, ffff888054668120)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805466bc00 pfn:0x54668
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
raw: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
head: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0001519a01 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 5833, tgid 5833 (syz-executor), ts 117153442030, free_ts 37804193309
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704
 prep_new_page mm/page_alloc.c:1712 [inline]
 get_page_from_freelist+0x1321/0x3890 mm/page_alloc.c:3669
 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:4959
 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2419
 alloc_slab_page mm/slub.c:2450 [inline]
 allocate_slab mm/slub.c:2618 [inline]
 new_slab+0x23b/0x330 mm/slub.c:2672
 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3858
 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3948
 __slab_alloc_node mm/slub.c:4023 [inline]
 slab_alloc_node mm/slub.c:4184 [inline]
 __do_kmalloc_node mm/slub.c:4326 [inline]
 __kmalloc_noprof+0x2f2/0x510 mm/slub.c:4339
 kmalloc_noprof include/linux/slab.h:909 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 fib6_info_alloc+0x40/0x160 net/ipv6/ip6_fib.c:155
 ip6_route_info_create+0x14c/0x870 net/ipv6/route.c:3764
 ip6_route_add+0x26/0x1d0 net/ipv6/route.c:3889
 addrconf_prefix_route+0x2fd/0x510 net/ipv6/addrconf.c:2487
 addrconf_add_linklocal+0x329/0x500 net/ipv6/addrconf.c:3312
 addrconf_addr_gen+0x36d/0x3c0 net/ipv6/addrconf.c:3441
 addrconf_dev_config net/ipv6/addrconf.c:3487 [inline]
 addrconf_init_auto_addrs+0x4b9/0x8f0 net/ipv6/addrconf.c:3571
 addrconf_notify+0xe93/0x19e0 net/ipv6/addrconf.c:3744
page last free pid 1 tgid 1 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1248 [inline]
 __free_frozen_pages+0x7fe/0x1180 mm/page_alloc.c:2706
 __free_pages mm/page_alloc.c:5071 [inline]
 free_contig_range+0x183/0x4b0 mm/page_alloc.c:6927
 destroy_args+0x7f6/0xa60 mm/debug_vm_pgtable.c:1009
 debug_vm_pgtable+0x13b8/0x2d00 mm/debug_vm_pgtable.c:1389
 do_one_initcall+0x123/0x6e0 init/main.c:1273
 do_initcall_level init/main.c:1335 [inline]
 do_initcalls init/main.c:1351 [inline]
 do_basic_setup init/main.c:1370 [inline]
 kernel_init_freeable+0x5c2/0x900 init/main.c:1583
 kernel_init+0x1c/0x2b0 init/main.c:1473
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Memory state around the buggy address:
 ffff888054668000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888054668080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888054668100: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc
                                        ^
 ffff888054668180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888054668200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
 0x0
==================================================================
BUG: KASAN: slab-out-of-bounds in stack_trace_print kernel/stacktrace.c:33 [inline]
BUG: KASAN: slab-out-of-bounds in stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
Read of size 8 at addr ffff888054668140 by task kworker/u8:11/6189

CPU: 0 UID: 0 PID: 6189 Comm: kworker/u8:11 Tainted: G    B               6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT(full) 
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:408 [inline]
 print_report+0xcd/0x680 mm/kasan/report.c:521
 kasan_report+0xe0/0x110 mm/kasan/report.c:634
 stack_trace_print kernel/stacktrace.c:33 [inline]
 stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
 ref_tracker_free+0x6e8/0x830 lib/ref_tracker.c:252
 netdev_tracker_free include/linux/netdevice.h:4361 [inline]
 netdev_put include/linux/netdevice.h:4378 [inline]
 netdev_put include/linux/netdevice.h:4374 [inline]
 in_dev_finish_destroy+0xae/0x1d0 net/ipv4/devinet.c:258
 in_dev_put include/linux/inetdevice.h:290 [inline]
 inetdev_destroy net/ipv4/devinet.c:338 [inline]
 inetdev_event+0xf8b/0x18a0 net/ipv4/devinet.c:1656
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 unregister_netdevice_many_notify+0xf9a/0x26f0 net/core/dev.c:12076
 unregister_netdevice_many net/core/dev.c:12139 [inline]
 default_device_exit_batch+0x853/0xaf0 net/core/dev.c:12643
 ops_exit_list net/core/net_namespace.c:206 [inline]
 ops_undo_list+0x363/0xab0 net/core/net_namespace.c:253
 cleanup_net+0x408/0x890 net/core/net_namespace.c:686
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
 kthread+0x3c5/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 25155:
 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
 kasan_save_track+0x14/0x30 mm/kasan/common.c:68
 poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
 kmalloc_noprof include/linux/slab.h:905 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 mca_alloc net/ipv6/mcast.c:884 [inline]
 __ipv6_dev_mc_inc+0x2b9/0xc10 net/ipv6/mcast.c:975
 ipv6_add_dev+0xbbf/0x15f0 net/ipv6/addrconf.c:470
 addrconf_notify+0x53e/0x19e0 net/ipv6/addrconf.c:3654
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 register_netdevice+0x182e/0x2270 net/core/dev.c:11142
 rtnl_newlink_create net/core/rtnetlink.c:3825 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3940 [inline]
 rtnl_newlink+0x1af0/0x2000 net/core/rtnetlink.c:4055
 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6944
 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2534
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x53d/0x7f0 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg net/socket.c:727 [inline]
 __sys_sendto+0x4a3/0x520 net/socket.c:2180
 __do_sys_sendto net/socket.c:2187 [inline]
 __se_sys_sendto net/socket.c:2183 [inline]
 __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2183
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888054668000
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 32 bytes to the right of
 allocated 288-byte region [ffff888054668000, ffff888054668120)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805466bc00 pfn:0x54668
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
raw: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
head: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0001519a01 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 5833, tgid 5833 (syz-executor), ts 117153442030, free_ts 37804193309
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704
 prep_new_page mm/page_alloc.c:1712 [inline]
 get_page_from_freelist+0x1321/0x3890 mm/page_alloc.c:3669
 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:4959
 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2419
 alloc_slab_page mm/slub.c:2450 [inline]
 allocate_slab mm/slub.c:2618 [inline]
 new_slab+0x23b/0x330 mm/slub.c:2672
 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3858
 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3948
 __slab_alloc_node mm/slub.c:4023 [inline]
 slab_alloc_node mm/slub.c:4184 [inline]
 __do_kmalloc_node mm/slub.c:4326 [inline]
 __kmalloc_noprof+0x2f2/0x510 mm/slub.c:4339
 kmalloc_noprof include/linux/slab.h:909 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 fib6_info_alloc+0x40/0x160 net/ipv6/ip6_fib.c:155
 ip6_route_info_create+0x14c/0x870 net/ipv6/route.c:3764
 ip6_route_add+0x26/0x1d0 net/ipv6/route.c:3889
 addrconf_prefix_route+0x2fd/0x510 net/ipv6/addrconf.c:2487
 addrconf_add_linklocal+0x329/0x500 net/ipv6/addrconf.c:3312
 addrconf_addr_gen+0x36d/0x3c0 net/ipv6/addrconf.c:3441
 addrconf_dev_config net/ipv6/addrconf.c:3487 [inline]
 addrconf_init_auto_addrs+0x4b9/0x8f0 net/ipv6/addrconf.c:3571
 addrconf_notify+0xe93/0x19e0 net/ipv6/addrconf.c:3744
page last free pid 1 tgid 1 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1248 [inline]
 __free_frozen_pages+0x7fe/0x1180 mm/page_alloc.c:2706
 __free_pages mm/page_alloc.c:5071 [inline]
 free_contig_range+0x183/0x4b0 mm/page_alloc.c:6927
 destroy_args+0x7f6/0xa60 mm/debug_vm_pgtable.c:1009
 debug_vm_pgtable+0x13b8/0x2d00 mm/debug_vm_pgtable.c:1389
 do_one_initcall+0x123/0x6e0 init/main.c:1273
 do_initcall_level init/main.c:1335 [inline]
 do_initcalls init/main.c:1351 [inline]
 do_basic_setup init/main.c:1370 [inline]
 kernel_init_freeable+0x5c2/0x900 init/main.c:1583
 kernel_init+0x1c/0x2b0 init/main.c:1473
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Memory state around the buggy address:
 ffff888054668000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888054668080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888054668100: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc
                                           ^
 ffff888054668180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888054668200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
 0x0
==================================================================
BUG: KASAN: slab-out-of-bounds in stack_trace_print kernel/stacktrace.c:33 [inline]
BUG: KASAN: slab-out-of-bounds in stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
Read of size 8 at addr ffff888054668148 by task kworker/u8:11/6189

CPU: 0 UID: 0 PID: 6189 Comm: kworker/u8:11 Tainted: G    B               6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT(full) 
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:408 [inline]
 print_report+0xcd/0x680 mm/kasan/report.c:521
 kasan_report+0xe0/0x110 mm/kasan/report.c:634
 stack_trace_print kernel/stacktrace.c:33 [inline]
 stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
 ref_tracker_free+0x6e8/0x830 lib/ref_tracker.c:252
 netdev_tracker_free include/linux/netdevice.h:4361 [inline]
 netdev_put include/linux/netdevice.h:4378 [inline]
 netdev_put include/linux/netdevice.h:4374 [inline]
 in_dev_finish_destroy+0xae/0x1d0 net/ipv4/devinet.c:258
 in_dev_put include/linux/inetdevice.h:290 [inline]
 inetdev_destroy net/ipv4/devinet.c:338 [inline]
 inetdev_event+0xf8b/0x18a0 net/ipv4/devinet.c:1656
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 unregister_netdevice_many_notify+0xf9a/0x26f0 net/core/dev.c:12076
 unregister_netdevice_many net/core/dev.c:12139 [inline]
 default_device_exit_batch+0x853/0xaf0 net/core/dev.c:12643
 ops_exit_list net/core/net_namespace.c:206 [inline]
 ops_undo_list+0x363/0xab0 net/core/net_namespace.c:253
 cleanup_net+0x408/0x890 net/core/net_namespace.c:686
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
 kthread+0x3c5/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 25155:
 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
 kasan_save_track+0x14/0x30 mm/kasan/common.c:68
 poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
 kmalloc_noprof include/linux/slab.h:905 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 mca_alloc net/ipv6/mcast.c:884 [inline]
 __ipv6_dev_mc_inc+0x2b9/0xc10 net/ipv6/mcast.c:975
 ipv6_add_dev+0xbbf/0x15f0 net/ipv6/addrconf.c:470
 addrconf_notify+0x53e/0x19e0 net/ipv6/addrconf.c:3654
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 register_netdevice+0x182e/0x2270 net/core/dev.c:11142
 rtnl_newlink_create net/core/rtnetlink.c:3825 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3940 [inline]
 rtnl_newlink+0x1af0/0x2000 net/core/rtnetlink.c:4055
 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6944
 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2534
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x53d/0x7f0 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg net/socket.c:727 [inline]
 __sys_sendto+0x4a3/0x520 net/socket.c:2180
 __do_sys_sendto net/socket.c:2187 [inline]
 __se_sys_sendto net/socket.c:2183 [inline]
 __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2183
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888054668000
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 40 bytes to the right of
 allocated 288-byte region [ffff888054668000, ffff888054668120)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805466bc00 pfn:0x54668
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
raw: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
head: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0001519a01 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 5833, tgid 5833 (syz-executor), ts 117153442030, free_ts 37804193309
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704
 prep_new_page mm/page_alloc.c:1712 [inline]
 get_page_from_freelist+0x1321/0x3890 mm/page_alloc.c:3669
 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:4959
 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2419
 alloc_slab_page mm/slub.c:2450 [inline]
 allocate_slab mm/slub.c:2618 [inline]
 new_slab+0x23b/0x330 mm/slub.c:2672
 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3858
 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3948
 __slab_alloc_node mm/slub.c:4023 [inline]
 slab_alloc_node mm/slub.c:4184 [inline]
 __do_kmalloc_node mm/slub.c:4326 [inline]
 __kmalloc_noprof+0x2f2/0x510 mm/slub.c:4339
 kmalloc_noprof include/linux/slab.h:909 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 fib6_info_alloc+0x40/0x160 net/ipv6/ip6_fib.c:155
 ip6_route_info_create+0x14c/0x870 net/ipv6/route.c:3764
 ip6_route_add+0x26/0x1d0 net/ipv6/route.c:3889
 addrconf_prefix_route+0x2fd/0x510 net/ipv6/addrconf.c:2487
 addrconf_add_linklocal+0x329/0x500 net/ipv6/addrconf.c:3312
 addrconf_addr_gen+0x36d/0x3c0 net/ipv6/addrconf.c:3441
 addrconf_dev_config net/ipv6/addrconf.c:3487 [inline]
 addrconf_init_auto_addrs+0x4b9/0x8f0 net/ipv6/addrconf.c:3571
 addrconf_notify+0xe93/0x19e0 net/ipv6/addrconf.c:3744
page last free pid 1 tgid 1 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1248 [inline]
 __free_frozen_pages+0x7fe/0x1180 mm/page_alloc.c:2706
 __free_pages mm/page_alloc.c:5071 [inline]
 free_contig_range+0x183/0x4b0 mm/page_alloc.c:6927
 destroy_args+0x7f6/0xa60 mm/debug_vm_pgtable.c:1009
 debug_vm_pgtable+0x13b8/0x2d00 mm/debug_vm_pgtable.c:1389
 do_one_initcall+0x123/0x6e0 init/main.c:1273
 do_initcall_level init/main.c:1335 [inline]
 do_initcalls init/main.c:1351 [inline]
 do_basic_setup init/main.c:1370 [inline]
 kernel_init_freeable+0x5c2/0x900 init/main.c:1583
 kernel_init+0x1c/0x2b0 init/main.c:1473
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Memory state around the buggy address:
 ffff888054668000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888054668080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888054668100: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc
                                              ^
 ffff888054668180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888054668200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
 0x0
==================================================================
BUG: KASAN: slab-out-of-bounds in stack_trace_print kernel/stacktrace.c:33 [inline]
BUG: KASAN: slab-out-of-bounds in stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
Read of size 8 at addr ffff888054668150 by task kworker/u8:11/6189

CPU: 0 UID: 0 PID: 6189 Comm: kworker/u8:11 Tainted: G    B               6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT(full) 
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:408 [inline]
 print_report+0xcd/0x680 mm/kasan/report.c:521
 kasan_report+0xe0/0x110 mm/kasan/report.c:634
 stack_trace_print kernel/stacktrace.c:33 [inline]
 stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
 ref_tracker_free+0x6e8/0x830 lib/ref_tracker.c:252
 netdev_tracker_free include/linux/netdevice.h:4361 [inline]
 netdev_put include/linux/netdevice.h:4378 [inline]
 netdev_put include/linux/netdevice.h:4374 [inline]
 in_dev_finish_destroy+0xae/0x1d0 net/ipv4/devinet.c:258
 in_dev_put include/linux/inetdevice.h:290 [inline]
 inetdev_destroy net/ipv4/devinet.c:338 [inline]
 inetdev_event+0xf8b/0x18a0 net/ipv4/devinet.c:1656
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 unregister_netdevice_many_notify+0xf9a/0x26f0 net/core/dev.c:12076
 unregister_netdevice_many net/core/dev.c:12139 [inline]
 default_device_exit_batch+0x853/0xaf0 net/core/dev.c:12643
 ops_exit_list net/core/net_namespace.c:206 [inline]
 ops_undo_list+0x363/0xab0 net/core/net_namespace.c:253
 cleanup_net+0x408/0x890 net/core/net_namespace.c:686
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
 kthread+0x3c5/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 25155:
 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
 kasan_save_track+0x14/0x30 mm/kasan/common.c:68
 poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
 kmalloc_noprof include/linux/slab.h:905 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 mca_alloc net/ipv6/mcast.c:884 [inline]
 __ipv6_dev_mc_inc+0x2b9/0xc10 net/ipv6/mcast.c:975
 ipv6_add_dev+0xbbf/0x15f0 net/ipv6/addrconf.c:470
 addrconf_notify+0x53e/0x19e0 net/ipv6/addrconf.c:3654
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 register_netdevice+0x182e/0x2270 net/core/dev.c:11142
 rtnl_newlink_create net/core/rtnetlink.c:3825 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3940 [inline]
 rtnl_newlink+0x1af0/0x2000 net/core/rtnetlink.c:4055
 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6944
 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2534
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x53d/0x7f0 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg net/socket.c:727 [inline]
 __sys_sendto+0x4a3/0x520 net/socket.c:2180
 __do_sys_sendto net/socket.c:2187 [inline]
 __se_sys_sendto net/socket.c:2183 [inline]
 __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2183
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888054668000
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 48 bytes to the right of
 allocated 288-byte region [ffff888054668000, ffff888054668120)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805466bc00 pfn:0x54668
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
raw: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
head: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0001519a01 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 5833, tgid 5833 (syz-executor), ts 117153442030, free_ts 37804193309
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704
 prep_new_page mm/page_alloc.c:1712 [inline]
 get_page_from_freelist+0x1321/0x3890 mm/page_alloc.c:3669
 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:4959
 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2419
 alloc_slab_page mm/slub.c:2450 [inline]
 allocate_slab mm/slub.c:2618 [inline]
 new_slab+0x23b/0x330 mm/slub.c:2672
 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3858
 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3948
 __slab_alloc_node mm/slub.c:4023 [inline]
 slab_alloc_node mm/slub.c:4184 [inline]
 __do_kmalloc_node mm/slub.c:4326 [inline]
 __kmalloc_noprof+0x2f2/0x510 mm/slub.c:4339
 kmalloc_noprof include/linux/slab.h:909 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 fib6_info_alloc+0x40/0x160 net/ipv6/ip6_fib.c:155
 ip6_route_info_create+0x14c/0x870 net/ipv6/route.c:3764
 ip6_route_add+0x26/0x1d0 net/ipv6/route.c:3889
 addrconf_prefix_route+0x2fd/0x510 net/ipv6/addrconf.c:2487
 addrconf_add_linklocal+0x329/0x500 net/ipv6/addrconf.c:3312
 addrconf_addr_gen+0x36d/0x3c0 net/ipv6/addrconf.c:3441
 addrconf_dev_config net/ipv6/addrconf.c:3487 [inline]
 addrconf_init_auto_addrs+0x4b9/0x8f0 net/ipv6/addrconf.c:3571
 addrconf_notify+0xe93/0x19e0 net/ipv6/addrconf.c:3744
page last free pid 1 tgid 1 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1248 [inline]
 __free_frozen_pages+0x7fe/0x1180 mm/page_alloc.c:2706
 __free_pages mm/page_alloc.c:5071 [inline]
 free_contig_range+0x183/0x4b0 mm/page_alloc.c:6927
 destroy_args+0x7f6/0xa60 mm/debug_vm_pgtable.c:1009
 debug_vm_pgtable+0x13b8/0x2d00 mm/debug_vm_pgtable.c:1389
 do_one_initcall+0x123/0x6e0 init/main.c:1273
 do_initcall_level init/main.c:1335 [inline]
 do_initcalls init/main.c:1351 [inline]
 do_basic_setup init/main.c:1370 [inline]
 kernel_init_freeable+0x5c2/0x900 init/main.c:1583
 kernel_init+0x1c/0x2b0 init/main.c:1473
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Memory state around the buggy address:
 ffff888054668000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888054668080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888054668100: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc
                                                 ^
 ffff888054668180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888054668200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
 0x0
==================================================================
BUG: KASAN: slab-out-of-bounds in stack_trace_print kernel/stacktrace.c:33 [inline]
BUG: KASAN: slab-out-of-bounds in stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
Read of size 8 at addr ffff888054668158 by task kworker/u8:11/6189

CPU: 0 UID: 0 PID: 6189 Comm: kworker/u8:11 Tainted: G    B               6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT(full) 
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:408 [inline]
 print_report+0xcd/0x680 mm/kasan/report.c:521
 kasan_report+0xe0/0x110 mm/kasan/report.c:634
 stack_trace_print kernel/stacktrace.c:33 [inline]
 stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
 ref_tracker_free+0x6e8/0x830 lib/ref_tracker.c:252
 netdev_tracker_free include/linux/netdevice.h:4361 [inline]
 netdev_put include/linux/netdevice.h:4378 [inline]
 netdev_put include/linux/netdevice.h:4374 [inline]
 in_dev_finish_destroy+0xae/0x1d0 net/ipv4/devinet.c:258
 in_dev_put include/linux/inetdevice.h:290 [inline]
 inetdev_destroy net/ipv4/devinet.c:338 [inline]
 inetdev_event+0xf8b/0x18a0 net/ipv4/devinet.c:1656
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 unregister_netdevice_many_notify+0xf9a/0x26f0 net/core/dev.c:12076
 unregister_netdevice_many net/core/dev.c:12139 [inline]
 default_device_exit_batch+0x853/0xaf0 net/core/dev.c:12643
 ops_exit_list net/core/net_namespace.c:206 [inline]
 ops_undo_list+0x363/0xab0 net/core/net_namespace.c:253
 cleanup_net+0x408/0x890 net/core/net_namespace.c:686
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
 kthread+0x3c5/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 25155:
 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
 kasan_save_track+0x14/0x30 mm/kasan/common.c:68
 poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
 kmalloc_noprof include/linux/slab.h:905 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 mca_alloc net/ipv6/mcast.c:884 [inline]
 __ipv6_dev_mc_inc+0x2b9/0xc10 net/ipv6/mcast.c:975
 ipv6_add_dev+0xbbf/0x15f0 net/ipv6/addrconf.c:470
 addrconf_notify+0x53e/0x19e0 net/ipv6/addrconf.c:3654
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 register_netdevice+0x182e/0x2270 net/core/dev.c:11142
 rtnl_newlink_create net/core/rtnetlink.c:3825 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3940 [inline]
 rtnl_newlink+0x1af0/0x2000 net/core/rtnetlink.c:4055
 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6944
 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2534
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x53d/0x7f0 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg net/socket.c:727 [inline]
 __sys_sendto+0x4a3/0x520 net/socket.c:2180
 __do_sys_sendto net/socket.c:2187 [inline]
 __se_sys_sendto net/socket.c:2183 [inline]
 __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2183
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888054668000
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 56 bytes to the right of
 allocated 288-byte region [ffff888054668000, ffff888054668120)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805466bc00 pfn:0x54668
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
raw: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
head: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0001519a01 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 5833, tgid 5833 (syz-executor), ts 117153442030, free_ts 37804193309
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704
 prep_new_page mm/page_alloc.c:1712 [inline]
 get_page_from_freelist+0x1321/0x3890 mm/page_alloc.c:3669
 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:4959
 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2419
 alloc_slab_page mm/slub.c:2450 [inline]
 allocate_slab mm/slub.c:2618 [inline]
 new_slab+0x23b/0x330 mm/slub.c:2672
 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3858
 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3948
 __slab_alloc_node mm/slub.c:4023 [inline]
 slab_alloc_node mm/slub.c:4184 [inline]
 __do_kmalloc_node mm/slub.c:4326 [inline]
 __kmalloc_noprof+0x2f2/0x510 mm/slub.c:4339
 kmalloc_noprof include/linux/slab.h:909 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 fib6_info_alloc+0x40/0x160 net/ipv6/ip6_fib.c:155
 ip6_route_info_create+0x14c/0x870 net/ipv6/route.c:3764
 ip6_route_add+0x26/0x1d0 net/ipv6/route.c:3889
 addrconf_prefix_route+0x2fd/0x510 net/ipv6/addrconf.c:2487
 addrconf_add_linklocal+0x329/0x500 net/ipv6/addrconf.c:3312
 addrconf_addr_gen+0x36d/0x3c0 net/ipv6/addrconf.c:3441
 addrconf_dev_config net/ipv6/addrconf.c:3487 [inline]
 addrconf_init_auto_addrs+0x4b9/0x8f0 net/ipv6/addrconf.c:3571
 addrconf_notify+0xe93/0x19e0 net/ipv6/addrconf.c:3744
page last free pid 1 tgid 1 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1248 [inline]
 __free_frozen_pages+0x7fe/0x1180 mm/page_alloc.c:2706
 __free_pages mm/page_alloc.c:5071 [inline]
 free_contig_range+0x183/0x4b0 mm/page_alloc.c:6927
 destroy_args+0x7f6/0xa60 mm/debug_vm_pgtable.c:1009
 debug_vm_pgtable+0x13b8/0x2d00 mm/debug_vm_pgtable.c:1389
 do_one_initcall+0x123/0x6e0 init/main.c:1273
 do_initcall_level init/main.c:1335 [inline]
 do_initcalls init/main.c:1351 [inline]
 do_basic_setup init/main.c:1370 [inline]
 kernel_init_freeable+0x5c2/0x900 init/main.c:1583
 kernel_init+0x1c/0x2b0 init/main.c:1473
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Memory state around the buggy address:
 ffff888054668000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888054668080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888054668100: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc
                                                    ^
 ffff888054668180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888054668200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
 0x0
==================================================================
BUG: KASAN: slab-out-of-bounds in stack_trace_print kernel/stacktrace.c:33 [inline]
BUG: KASAN: slab-out-of-bounds in stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
Read of size 8 at addr ffff888054668160 by task kworker/u8:11/6189

CPU: 0 UID: 0 PID: 6189 Comm: kworker/u8:11 Tainted: G    B               6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT(full) 
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:408 [inline]
 print_report+0xcd/0x680 mm/kasan/report.c:521
 kasan_report+0xe0/0x110 mm/kasan/report.c:634
 stack_trace_print kernel/stacktrace.c:33 [inline]
 stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
 ref_tracker_free+0x6e8/0x830 lib/ref_tracker.c:252
 netdev_tracker_free include/linux/netdevice.h:4361 [inline]
 netdev_put include/linux/netdevice.h:4378 [inline]
 netdev_put include/linux/netdevice.h:4374 [inline]
 in_dev_finish_destroy+0xae/0x1d0 net/ipv4/devinet.c:258
 in_dev_put include/linux/inetdevice.h:290 [inline]
 inetdev_destroy net/ipv4/devinet.c:338 [inline]
 inetdev_event+0xf8b/0x18a0 net/ipv4/devinet.c:1656
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 unregister_netdevice_many_notify+0xf9a/0x26f0 net/core/dev.c:12076
 unregister_netdevice_many net/core/dev.c:12139 [inline]
 default_device_exit_batch+0x853/0xaf0 net/core/dev.c:12643
 ops_exit_list net/core/net_namespace.c:206 [inline]
 ops_undo_list+0x363/0xab0 net/core/net_namespace.c:253
 cleanup_net+0x408/0x890 net/core/net_namespace.c:686
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
 kthread+0x3c5/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 25155:
 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
 kasan_save_track+0x14/0x30 mm/kasan/common.c:68
 poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
 kmalloc_noprof include/linux/slab.h:905 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 mca_alloc net/ipv6/mcast.c:884 [inline]
 __ipv6_dev_mc_inc+0x2b9/0xc10 net/ipv6/mcast.c:975
 ipv6_add_dev+0xbbf/0x15f0 net/ipv6/addrconf.c:470
 addrconf_notify+0x53e/0x19e0 net/ipv6/addrconf.c:3654
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 register_netdevice+0x182e/0x2270 net/core/dev.c:11142
 rtnl_newlink_create net/core/rtnetlink.c:3825 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3940 [inline]
 rtnl_newlink+0x1af0/0x2000 net/core/rtnetlink.c:4055
 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6944
 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2534
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x53d/0x7f0 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg net/socket.c:727 [inline]
 __sys_sendto+0x4a3/0x520 net/socket.c:2180
 __do_sys_sendto net/socket.c:2187 [inline]
 __se_sys_sendto net/socket.c:2183 [inline]
 __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2183
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888054668000
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 64 bytes to the right of
 allocated 288-byte region [ffff888054668000, ffff888054668120)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805466bc00 pfn:0x54668
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
raw: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
head: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0001519a01 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 5833, tgid 5833 (syz-executor), ts 117153442030, free_ts 37804193309
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704
 prep_new_page mm/page_alloc.c:1712 [inline]
 get_page_from_freelist+0x1321/0x3890 mm/page_alloc.c:3669
 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:4959
 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2419
 alloc_slab_page mm/slub.c:2450 [inline]
 allocate_slab mm/slub.c:2618 [inline]
 new_slab+0x23b/0x330 mm/slub.c:2672
 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3858
 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3948
 __slab_alloc_node mm/slub.c:4023 [inline]
 slab_alloc_node mm/slub.c:4184 [inline]
 __do_kmalloc_node mm/slub.c:4326 [inline]
 __kmalloc_noprof+0x2f2/0x510 mm/slub.c:4339
 kmalloc_noprof include/linux/slab.h:909 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 fib6_info_alloc+0x40/0x160 net/ipv6/ip6_fib.c:155
 ip6_route_info_create+0x14c/0x870 net/ipv6/route.c:3764
 ip6_route_add+0x26/0x1d0 net/ipv6/route.c:3889
 addrconf_prefix_route+0x2fd/0x510 net/ipv6/addrconf.c:2487
 addrconf_add_linklocal+0x329/0x500 net/ipv6/addrconf.c:3312
 addrconf_addr_gen+0x36d/0x3c0 net/ipv6/addrconf.c:3441
 addrconf_dev_config net/ipv6/addrconf.c:3487 [inline]
 addrconf_init_auto_addrs+0x4b9/0x8f0 net/ipv6/addrconf.c:3571
 addrconf_notify+0xe93/0x19e0 net/ipv6/addrconf.c:3744
page last free pid 1 tgid 1 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1248 [inline]
 __free_frozen_pages+0x7fe/0x1180 mm/page_alloc.c:2706
 __free_pages mm/page_alloc.c:5071 [inline]
 free_contig_range+0x183/0x4b0 mm/page_alloc.c:6927
 destroy_args+0x7f6/0xa60 mm/debug_vm_pgtable.c:1009
 debug_vm_pgtable+0x13b8/0x2d00 mm/debug_vm_pgtable.c:1389
 do_one_initcall+0x123/0x6e0 init/main.c:1273
 do_initcall_level init/main.c:1335 [inline]
 do_initcalls init/main.c:1351 [inline]
 do_basic_setup init/main.c:1370 [inline]
 kernel_init_freeable+0x5c2/0x900 init/main.c:1583
 kernel_init+0x1c/0x2b0 init/main.c:1473
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Memory state around the buggy address:
 ffff888054668000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888054668080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888054668100: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc
                                                       ^
 ffff888054668180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888054668200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
 0x0
==================================================================
BUG: KASAN: slab-out-of-bounds in stack_trace_print kernel/stacktrace.c:33 [inline]
BUG: KASAN: slab-out-of-bounds in stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
Read of size 8 at addr ffff888054668168 by task kworker/u8:11/6189

CPU: 0 UID: 0 PID: 6189 Comm: kworker/u8:11 Tainted: G    B               6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT(full) 
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:408 [inline]
 print_report+0xcd/0x680 mm/kasan/report.c:521
 kasan_report+0xe0/0x110 mm/kasan/report.c:634
 stack_trace_print kernel/stacktrace.c:33 [inline]
 stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
 ref_tracker_free+0x6e8/0x830 lib/ref_tracker.c:252
 netdev_tracker_free include/linux/netdevice.h:4361 [inline]
 netdev_put include/linux/netdevice.h:4378 [inline]
 netdev_put include/linux/netdevice.h:4374 [inline]
 in_dev_finish_destroy+0xae/0x1d0 net/ipv4/devinet.c:258
 in_dev_put include/linux/inetdevice.h:290 [inline]
 inetdev_destroy net/ipv4/devinet.c:338 [inline]
 inetdev_event+0xf8b/0x18a0 net/ipv4/devinet.c:1656
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 unregister_netdevice_many_notify+0xf9a/0x26f0 net/core/dev.c:12076
 unregister_netdevice_many net/core/dev.c:12139 [inline]
 default_device_exit_batch+0x853/0xaf0 net/core/dev.c:12643
 ops_exit_list net/core/net_namespace.c:206 [inline]
 ops_undo_list+0x363/0xab0 net/core/net_namespace.c:253
 cleanup_net+0x408/0x890 net/core/net_namespace.c:686
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
 kthread+0x3c5/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Allocated by task 25155:
 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
 kasan_save_track+0x14/0x30 mm/kasan/common.c:68
 poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
 __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
 kmalloc_noprof include/linux/slab.h:905 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 mca_alloc net/ipv6/mcast.c:884 [inline]
 __ipv6_dev_mc_inc+0x2b9/0xc10 net/ipv6/mcast.c:975
 ipv6_add_dev+0xbbf/0x15f0 net/ipv6/addrconf.c:470
 addrconf_notify+0x53e/0x19e0 net/ipv6/addrconf.c:3654
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 register_netdevice+0x182e/0x2270 net/core/dev.c:11142
 rtnl_newlink_create net/core/rtnetlink.c:3825 [inline]
 __rtnl_newlink net/core/rtnetlink.c:3940 [inline]
 rtnl_newlink+0x1af0/0x2000 net/core/rtnetlink.c:4055
 rtnetlink_rcv_msg+0x95e/0xe90 net/core/rtnetlink.c:6944
 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2534
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x53d/0x7f0 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg net/socket.c:727 [inline]
 __sys_sendto+0x4a3/0x520 net/socket.c:2180
 __do_sys_sendto net/socket.c:2187 [inline]
 __se_sys_sendto net/socket.c:2183 [inline]
 __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2183
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888054668000
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 72 bytes to the right of
 allocated 288-byte region [ffff888054668000, ffff888054668120)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88805466bc00 pfn:0x54668
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
raw: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000240 ffff88801b441c80 ffffea00014fce10 ffffea000174b810
head: ffff88805466bc00 000000000010000d 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0001519a01 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 5833, tgid 5833 (syz-executor), ts 117153442030, free_ts 37804193309
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1704
 prep_new_page mm/page_alloc.c:1712 [inline]
 get_page_from_freelist+0x1321/0x3890 mm/page_alloc.c:3669
 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:4959
 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2419
 alloc_slab_page mm/slub.c:2450 [inline]
 allocate_slab mm/slub.c:2618 [inline]
 new_slab+0x23b/0x330 mm/slub.c:2672
 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3858
 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3948
 __slab_alloc_node mm/slub.c:4023 [inline]
 slab_alloc_node mm/slub.c:4184 [inline]
 __do_kmalloc_node mm/slub.c:4326 [inline]
 __kmalloc_noprof+0x2f2/0x510 mm/slub.c:4339
 kmalloc_noprof include/linux/slab.h:909 [inline]
 kzalloc_noprof include/linux/slab.h:1039 [inline]
 fib6_info_alloc+0x40/0x160 net/ipv6/ip6_fib.c:155
 ip6_route_info_create+0x14c/0x870 net/ipv6/route.c:3764
 ip6_route_add+0x26/0x1d0 net/ipv6/route.c:3889
 addrconf_prefix_route+0x2fd/0x510 net/ipv6/addrconf.c:2487
 addrconf_add_linklocal+0x329/0x500 net/ipv6/addrconf.c:3312
 addrconf_addr_gen+0x36d/0x3c0 net/ipv6/addrconf.c:3441
 addrconf_dev_config net/ipv6/addrconf.c:3487 [inline]
 addrconf_init_auto_addrs+0x4b9/0x8f0 net/ipv6/addrconf.c:3571
 addrconf_notify+0xe93/0x19e0 net/ipv6/addrconf.c:3744
page last free pid 1 tgid 1 stack trace:
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1248 [inline]
 __free_frozen_pages+0x7fe/0x1180 mm/page_alloc.c:2706
 __free_pages mm/page_alloc.c:5071 [inline]
 free_contig_range+0x183/0x4b0 mm/page_alloc.c:6927
 destroy_args+0x7f6/0xa60 mm/debug_vm_pgtable.c:1009
 debug_vm_pgtable+0x13b8/0x2d00 mm/debug_vm_pgtable.c:1389
 do_one_initcall+0x123/0x6e0 init/main.c:1273
 do_initcall_level init/main.c:1335 [inline]
 do_initcalls init/main.c:1351 [inline]
 do_basic_setup init/main.c:1370 [inline]
 kernel_init_freeable+0x5c2/0x900 init/main.c:1583
 kernel_init+0x1c/0x2b0 init/main.c:1473
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Memory state around the buggy address:
 ffff888054668000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888054668080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888054668100: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc
                                                          ^
 ffff888054668180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888054668200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
 0x0
==================================================================
BUG: KASAN: slab-out-of-bounds in stack_trace_print kernel/stacktrace.c:33 [inline]
BUG: KASAN: slab-out-of-bounds in stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
Read of size 8 at addr ffff888054668170 by task kworker/u8:11/6189

CPU: 0 UID: 0 PID: 6189 Comm: kworker/u8:11 Tainted: G    B               6.15.0-syzkaller-10769-g7d4e49a77d99 #0 PREEMPT(full) 
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
 print_address_description mm/kasan/report.c:408 [inline]
 print_report+0xcd/0x680 mm/kasan/report.c:521
 kasan_report+0xe0/0x110 mm/kasan/report.c:634
 stack_trace_print kernel/stacktrace.c:33 [inline]
 stack_trace_print+0x77/0x80 kernel/stacktrace.c:24
 ref_tracker_free+0x6e8/0x830 lib/ref_tracker.c:252
 netdev_tracker_free include/linux/netdevice.h:4361 [inline]
 netdev_put include/linux/netdevice.h:4378 [inline]
 netdev_put include/linux/netdevice.h:4374 [inline]
 in_dev_finish_destroy+0xae/0x1d0 net/ipv4/devinet.c:258
 in_dev_put include/linux/inetdevice.h:290 [inline]
 inetdev_destroy net/ipv4/devinet.c:338 [inline]
 inetdev_event+0xf8b/0x18a0 net/ipv4/devinet.c:1656
 notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
 call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
 call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
 call_netdevice_notifiers net/core/dev.c:2282 [inline]
 unregister_netdevice_many_notify+0xf9a/0x26f0 net/core/dev.c:12076
 unregister_netdevice_many net/core/dev.c:12139 [inline]
 default_device_exit_batch+0x853/0xaf0 net/core/dev.c:12643
 ops_exit_list net/core/net_namespace.c:206 [inline]
 ops_undo_list+0x363/0xab0 net/core/net_namespace.c:253
 cleanup_net+0x408/0x890 net/core/net_namespace.c:686
 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
 kthread+0x3c5/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/02 02:35 upstream 7d4e49a77d99 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root KASAN: slab-out-of-bounds Read in stack_trace_print
* Struck through repros no longer work on HEAD.