================================================================== BUG: KASAN: slab-out-of-bounds in instrument_atomic_read_write include/linux/instrumented.h:96 [inline] BUG: KASAN: slab-out-of-bounds in atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:400 [inline] BUG: KASAN: slab-out-of-bounds in __refcount_sub_and_test include/linux/refcount.h:389 [inline] BUG: KASAN: slab-out-of-bounds in __refcount_dec_and_test include/linux/refcount.h:432 [inline] BUG: KASAN: slab-out-of-bounds in refcount_dec_and_test include/linux/refcount.h:450 [inline] BUG: KASAN: slab-out-of-bounds in ax25_cb_put include/net/ax25.h:281 [inline] BUG: KASAN: slab-out-of-bounds in rose_link_up net/rose/rose_link.c:131 [inline] BUG: KASAN: slab-out-of-bounds in rose_transmit_link+0x1ab/0x740 net/rose/rose_link.c:271 Write of size 4 at addr ffff888028b963e0 by task syz.5.4634/20688 CPU: 1 UID: 0 PID: 20688 Comm: syz.5.4634 Not tainted 6.16.0-rc4-syzkaller-00049-gb4911fb0b060 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0xd2/0x2b0 mm/kasan/report.c:521 kasan_report+0x118/0x150 mm/kasan/report.c:634 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x2b0/0x2c0 mm/kasan/generic.c:189 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:400 [inline] __refcount_sub_and_test include/linux/refcount.h:389 [inline] __refcount_dec_and_test include/linux/refcount.h:432 [inline] refcount_dec_and_test include/linux/refcount.h:450 [inline] ax25_cb_put include/net/ax25.h:281 [inline] rose_link_up net/rose/rose_link.c:131 [inline] rose_transmit_link+0x1ab/0x740 net/rose/rose_link.c:271 rose_write_internal+0x11dc/0x1ac0 net/rose/rose_subr.c:198 rose_connect+0x8ee/0x10a0 net/rose/af_rose.c:879 __sys_connect_file net/socket.c:2038 [inline] __sys_connect+0x316/0x440 net/socket.c:2057 __do_sys_connect net/socket.c:2063 [inline] __se_sys_connect net/socket.c:2060 [inline] __x64_sys_connect+0x7a/0x90 net/socket.c:2060 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 RIP: 0033:0x7f7b83d8e929 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:00007f7b81bf6038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f7b83fb5fa0 RCX: 00007f7b83d8e929 RDX: 0000000000000040 RSI: 0000200000000100 RDI: 0000000000000004 RBP: 00007f7b83e10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7b83fb5fa0 R15: 00007ffd2716d7f8 Allocated by task 141: 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:377 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4328 [inline] __kmalloc_noprof+0x27a/0x4f0 mm/slub.c:4340 kmalloc_noprof include/linux/slab.h:909 [inline] kzalloc_noprof include/linux/slab.h:1039 [inline] fib6_info_alloc+0x30/0xf0 net/ipv6/ip6_fib.c:155 ip6_route_info_create+0x142/0x860 net/ipv6/route.c:3811 addrconf_f6i_alloc+0x1d2/0x450 net/ipv6/route.c:4679 ipv6_add_addr+0x56e/0x1090 net/ipv6/addrconf.c:1121 addrconf_add_linklocal+0x28c/0x6c0 net/ipv6/addrconf.c:3310 addrconf_addr_gen+0x490/0x580 net/ipv6/addrconf.c:3441 addrconf_init_auto_addrs+0x711/0xb50 net/ipv6/addrconf.c:-1 addrconf_notify+0xacc/0x1010 net/ipv6/addrconf.c:3744 notifier_call_chain+0x1b6/0x3e0 kernel/notifier.c:85 netif_state_change+0x284/0x3a0 net/core/dev.c:1584 linkwatch_do_dev+0x117/0x170 net/core/link_watch.c:186 __linkwatch_run_queue+0x56d/0x7e0 net/core/link_watch.c:244 linkwatch_event+0x4c/0x60 net/core/link_watch.c:304 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the object at ffff888028b96000 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 688 bytes to the right of allocated 304-byte region [ffff888028b96000, ffff888028b96130) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x28b94 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 ffffea0001538900 dead000000000002 raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88801a441c80 ffffea0001538900 dead000000000002 head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000002 ffffea0000a2e501 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 0xd2000(__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 21209582761, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1704 prep_new_page mm/page_alloc.c:1712 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3669 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:4959 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2419 alloc_slab_page mm/slub.c:2451 [inline] allocate_slab+0x8a/0x3b0 mm/slub.c:2619 new_slab mm/slub.c:2673 [inline] ___slab_alloc+0xbfc/0x1480 mm/slub.c:3859 __slab_alloc mm/slub.c:3949 [inline] __slab_alloc_node mm/slub.c:4024 [inline] slab_alloc_node mm/slub.c:4185 [inline] __kmalloc_cache_noprof+0x296/0x3d0 mm/slub.c:4354 kmalloc_noprof include/linux/slab.h:905 [inline] usb_cache_string+0x66/0x130 drivers/usb/core/message.c:1028 usb_enumerate_device drivers/usb/core/hub.c:2505 [inline] usb_new_device+0x29a/0x16c0 drivers/usb/core/hub.c:2633 register_root_hub+0x275/0x590 drivers/usb/core/hcd.c:994 usb_add_hcd+0xba1/0x1050 drivers/usb/core/hcd.c:2976 vhci_hcd_probe+0x1c1/0x380 drivers/usb/usbip/vhci_hcd.c:1377 platform_probe+0x148/0x1d0 drivers/base/platform.c:1404 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x26d/0x9a0 drivers/base/dd.c:657 __driver_probe_device+0x18c/0x2f0 drivers/base/dd.c:799 driver_probe_device+0x4f/0x430 drivers/base/dd.c:829 page_owner free stack trace missing Memory state around the buggy address: ffff888028b96280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888028b96300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888028b96380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888028b96400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888028b96480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================