================================================================== BUG: KASAN: use-after-free in rose_timer_expiry+0x40c/0x470 net/rose/rose_timer.c:183 Read of size 2 at addr ffff0000eba0f82a by task ksoftirqd/0/14 CPU: 0 PID: 14 Comm: ksoftirqd/0 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call trace: dump_backtrace+0x0/0x43c arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 print_address_description+0x78/0x30c mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xec/0x15c mm/kasan/report.c:451 __asan_report_load2_noabort+0x44/0x50 mm/kasan/report_generic.c:307 rose_timer_expiry+0x40c/0x470 net/rose/rose_timer.c:183 call_timer_fn+0x19c/0x858 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x46c/0x6c4 kernel/time/timer.c:1767 run_timer_softirq+0x7c/0x114 kernel/time/timer.c:1780 handle_softirqs+0x344/0xbf0 kernel/softirq.c:576 run_ksoftirqd+0x7c/0x2a0 kernel/softirq.c:943 smpboot_thread_fn+0x4b0/0x920 kernel/smpboot.c:164 kthread+0x374/0x454 kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:855 Allocated by task 4163: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] __kasan_kmalloc+0xb0/0xf0 mm/kasan/common.c:522 kasan_kmalloc include/linux/kasan.h:264 [inline] kmem_cache_alloc_trace+0x274/0x3fc mm/slub.c:3247 kmalloc include/linux/slab.h:604 [inline] kzalloc include/linux/slab.h:735 [inline] mld_add_delrec net/ipv6/mcast.c:742 [inline] igmp6_leave_group net/ipv6/mcast.c:2633 [inline] igmp6_group_dropped+0x25c/0xa90 net/ipv6/mcast.c:722 __ipv6_dev_mc_dec+0x294/0x320 net/ipv6/mcast.c:978 addrconf_leave_solict net/ipv6/addrconf.c:2214 [inline] __ipv6_ifa_notify+0x5e8/0xbf4 net/ipv6/addrconf.c:6202 addrconf_ifdown+0xc6c/0x1688 net/ipv6/addrconf.c:3900 addrconf_notify+0x2f4/0xc6c net/ipv6/addrconf.c:-1 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd4/0x164 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2049 [inline] call_netdevice_notifiers_extack net/core/dev.c:2061 [inline] call_netdevice_notifiers net/core/dev.c:2075 [inline] dev_close_many+0x2cc/0x440 net/core/dev.c:1650 unregister_netdevice_many+0x3d4/0x17d0 net/core/dev.c:11110 default_device_exit_batch+0x444/0x4a4 net/core/dev.c:11667 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x644/0xa98 net/core/net_namespace.c:635 process_one_work+0x79c/0x1140 kernel/workqueue.c:2310 worker_thread+0x8f4/0x101c kernel/workqueue.c:2457 kthread+0x374/0x454 kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:855 Last potentially related work creation: kasan_save_stack+0x38/0x68 mm/kasan/common.c:38 kasan_record_aux_stack+0xcc/0x114 mm/kasan/generic.c:348 kvfree_call_rcu+0xb8/0x66c kernel/rcu/tree.c:3600 mld_clear_delrec+0x1a0/0x60c net/ipv6/mcast.c:824 ipv6_mc_destroy_dev+0x50/0x508 net/ipv6/mcast.c:2799 addrconf_ifdown+0x1210/0x1688 net/ipv6/addrconf.c:3919 addrconf_notify+0x2f4/0xc6c net/ipv6/addrconf.c:-1 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xd4/0x164 kernel/notifier.c:391 call_netdevice_notifiers_info net/core/dev.c:2049 [inline] call_netdevice_notifiers_extack net/core/dev.c:2061 [inline] call_netdevice_notifiers net/core/dev.c:2075 [inline] unregister_netdevice_many+0xe10/0x17d0 net/core/dev.c:11134 default_device_exit_batch+0x444/0x4a4 net/core/dev.c:11667 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x644/0xa98 net/core/net_namespace.c:635 process_one_work+0x79c/0x1140 kernel/workqueue.c:2310 worker_thread+0x8f4/0x101c kernel/workqueue.c:2457 kthread+0x374/0x454 kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:855 The buggy address belongs to the object at ffff0000eba0f800 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 42 bytes inside of 512-byte region [ffff0000eba0f800, ffff0000eba0fa00) The buggy address belongs to the page: page:0000000031d35205 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff0000eba0fc00 pfn:0x12ba0c head:0000000031d35205 order:2 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 fffffc0003a6df08 fffffc0003239208 ffff0000c0002600 raw: ffff0000eba0fc00 0000000000100001 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000eba0f700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000eba0f780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000eba0f800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000eba0f880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000eba0f900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================