================================================================== BUG: KASAN: slab-use-after-free in __intf_to_usbdev include/linux/usb.h:752 [inline] BUG: KASAN: slab-use-after-free in uea_upload_pre_firmware+0x8d/0x640 drivers/usb/atm/ueagle-atm.c:598 Read of size 8 at addr ffff88807acf40b8 by task kworker/1:0/24 CPU: 1 UID: 0 PID: 24 Comm: kworker/1:0 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026 Workqueue: events request_firmware_work_func Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 __intf_to_usbdev include/linux/usb.h:752 [inline] uea_upload_pre_firmware+0x8d/0x640 drivers/usb/atm/ueagle-atm.c:598 request_firmware_work_func+0xf7/0x2d0 drivers/base/firmware_loader/main.c:1164 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0xa8e/0x14e0 kernel/workqueue.c:3405 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3486 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 5720: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5362 [inline] __kmalloc_node_track_caller_noprof+0x4c3/0x730 mm/slub.c:5497 kmalloc_reserve net/core/skbuff.c:637 [inline] __alloc_skb+0x2bd/0x7a0 net/core/skbuff.c:715 alloc_skb include/linux/skbuff.h:1384 [inline] mld_newpack+0x165/0xcb0 net/ipv6/mcast.c:1789 add_grhead net/ipv6/mcast.c:1900 [inline] add_grec+0x119f/0x19d0 net/ipv6/mcast.c:2039 mld_send_cr net/ipv6/mcast.c:2164 [inline] mld_ifc_work+0x6f1/0xd60 net/ipv6/mcast.c:2710 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0xa8e/0x14e0 kernel/workqueue.c:3405 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3486 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Freed by task 5720: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:253 [inline] __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:285 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2705 [inline] slab_free mm/slub.c:6405 [inline] kfree+0x1c5/0x640 mm/slub.c:6720 skb_kfree_head net/core/skbuff.c:1077 [inline] skb_free_head net/core/skbuff.c:1089 [inline] skb_release_data+0x85e/0xab0 net/core/skbuff.c:1116 skb_release_all net/core/skbuff.c:1191 [inline] __kfree_skb+0x5d/0x210 net/core/skbuff.c:1205 batadv_interface_tx+0xe64/0x1540 net/batman-adv/mesh-interface.c:349 __netdev_start_xmit include/linux/netdevice.h:5400 [inline] netdev_start_xmit include/linux/netdevice.h:5409 [inline] xmit_one net/core/dev.c:3889 [inline] dev_hard_start_xmit+0x2cd/0x830 net/core/dev.c:3905 __dev_queue_xmit+0x1435/0x37f0 net/core/dev.c:4872 NF_HOOK_COND include/linux/netfilter.h:307 [inline] ip6_output+0x337/0x540 net/ipv6/ip6_output.c:246 dst_output include/net/dst.h:471 [inline] NF_HOOK+0x177/0x4f0 include/linux/netfilter.h:318 mld_sendpack+0x890/0xe10 net/ipv6/mcast.c:1869 mld_send_cr net/ipv6/mcast.c:2170 [inline] mld_ifc_work+0x842/0xd60 net/ipv6/mcast.c:2710 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0xa8e/0x14e0 kernel/workqueue.c:3405 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3486 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the object at ffff88807acf4000 which belongs to the cache kmalloc-2k of size 2048 The buggy address is located 184 bytes inside of freed 2048-byte region [ffff88807acf4000, ffff88807acf4800) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88807acf4000 pfn:0x7acf0 head: order:3 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 ffff88801b004000 ffffea0000d9b610 ffffea00009f0e10 raw: ffff88807acf4000 0000000800080005 00000000f5000000 0000000000000000 head: 00fff00000000240 ffff88801b004000 ffffea0000d9b610 ffffea00009f0e10 head: ffff88807acf4000 0000000800080005 00000000f5000000 0000000000000000 head: 00fff00000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5644, tgid 5644 (syz-executor), ts 86067690762, free_ts 86054431877 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1859 prep_new_page mm/page_alloc.c:1867 [inline] get_page_from_freelist+0x21fa/0x2270 mm/page_alloc.c:3946 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5304 alloc_slab_page mm/slub.c:3294 [inline] allocate_slab+0x79/0x5e0 mm/slub.c:3408 new_slab mm/slub.c:3454 [inline] refill_objects+0x2d5/0x350 mm/slub.c:7338 refill_sheaf mm/slub.c:2832 [inline] __pcs_replace_empty_main+0x2bf/0x6b0 mm/slub.c:4703 alloc_from_pcs mm/slub.c:4801 [inline] slab_alloc_node mm/slub.c:4933 [inline] __do_kmalloc_node mm/slub.c:5361 [inline] __kmalloc_node_noprof+0x55c/0x740 mm/slub.c:5374 _kmalloc_node_noprof include/linux/slab.h:1178 [inline] qdisc_alloc+0x92/0x9d0 net/sched/sch_generic.c:998 qdisc_create_dflt+0x8e/0x4e0 net/sched/sch_generic.c:1053 mq_init_common+0x267/0x440 net/sched/sch_mq.c:91 mq_init+0x83/0x260 net/sched/sch_mq.c:112 qdisc_create_dflt+0x13b/0x4e0 net/sched/sch_generic.c:1060 attach_default_qdiscs net/sched/sch_generic.c:1242 [inline] dev_activate+0x1ce/0x1150 net/sched/sch_generic.c:1296 __dev_open+0x699/0x850 net/core/dev.c:1711 __dev_change_flags+0x329/0x820 net/core/dev.c:9754 netif_change_flags+0x7c/0x1b0 net/core/dev.c:9817 page last free pid 5646 tgid 5646 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] __free_pages_prepare mm/page_alloc.c:1406 [inline] __free_frozen_pages+0xc1e/0xd10 mm/page_alloc.c:2950 __slab_free+0x274/0x2c0 mm/slub.c:5767 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:350 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4612 [inline] slab_alloc_node mm/slub.c:4945 [inline] kmem_cache_alloc_noprof+0x2a0/0x5f0 mm/slub.c:4959 sk_prot_alloc+0x57/0x210 net/core/sock.c:2246 sk_alloc+0x3a/0x390 net/core/sock.c:2308 unix_create1+0xb0/0x7c0 net/unix/af_unix.c:-1 unix_create+0x14c/0x1d0 net/unix/af_unix.c:1167 __sock_create+0x4b3/0x9d0 net/socket.c:1651 sock_create net/socket.c:1709 [inline] __sys_socket_create net/socket.c:1746 [inline] __sys_socket+0xd6/0x1b0 net/socket.c:1793 __do_sys_socket net/socket.c:1807 [inline] __se_sys_socket net/socket.c:1805 [inline] __x64_sys_socket+0x7a/0x90 net/socket.c:1805 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88807acf3f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807acf4000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88807acf4080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88807acf4100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88807acf4180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================