[v5.15] KASAN: slab-out-of-bounds Read in dummy_free_request

0 views
Skip to first unread message

syzbot

unread,
Jul 24, 2026, 5:58:41 PM (2 days ago) Jul 24
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 674f684f7c61 Linux 5.15.212
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1257588e580000
kernel config: https://syzkaller.appspot.com/x/.config?x=f161cbc9aef65db0
dashboard link: https://syzkaller.appspot.com/bug?extid=b64626956b36064cb03c
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/f55be2937b89/disk-674f684f.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/a19fb0ffc049/vmlinux-674f684f.xz
kernel image: https://storage.googleapis.com/syzbot-assets/365d4529a007/bzImage-674f684f.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+b64626...@syzkaller.appspotmail.com

configfs-gadget gadget: uvc: uvc_function_bind()
configfs-gadget gadget: uvc: Unable to allocate streaming EP
==================================================================
BUG: KASAN: slab-out-of-bounds in list_empty include/linux/list.h:290 [inline]
BUG: KASAN: slab-out-of-bounds in dummy_free_request+0x3b/0x70 drivers/usb/gadget/udc/dummy_hcd.c:687
Read of size 8 at addr ffff888075bc43f0 by task syz.0.218/5032

CPU: 1 PID: 5032 Comm: syz.0.218 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
Call Trace:
<TASK>
dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
print_address_description+0x60/0x2d0 mm/kasan/report.c:248
__kasan_report mm/kasan/report.c:434 [inline]
kasan_report+0xdf/0x130 mm/kasan/report.c:451
list_empty include/linux/list.h:290 [inline]
dummy_free_request+0x3b/0x70 drivers/usb/gadget/udc/dummy_hcd.c:687
uvc_function_bind+0xe24/0x12d0 drivers/usb/gadget/function/f_uvc.c:785
usb_add_function+0x2d9/0x980 drivers/usb/gadget/composite.c:324
configfs_composite_bind+0xa02/0xf60 drivers/usb/gadget/configfs.c:1417
udc_bind_to_driver+0x203/0x5f0 drivers/usb/gadget/udc/core.c:1574
usb_gadget_probe_driver+0x1fb/0x380 drivers/usb/gadget/udc/core.c:1637
gadget_dev_desc_UDC_store+0x1ba/0x2e0 drivers/usb/gadget/configfs.c:289
flush_write_buffer fs/configfs/file.c:207 [inline]
configfs_write_iter+0x30b/0x400 fs/configfs/file.c:229
call_write_iter include/linux/fs.h:2173 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0x748/0xd70 fs/read_write.c:594
ksys_write+0x153/0x260 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7effb120ae99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007effaf463028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007effb1492fa0 RCX: 00007effb120ae99
RDX: 000000000000000b RSI: 0000200000000880 RDI: 0000000000000003
RBP: 00007effb12a0eaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007effb1493038 R14: 00007effb1492fa0 R15: 00007ffcc2f35ca8
</TASK>

Allocated by task 7:
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+0xaf/0xe0 mm/kasan/common.c:522
kmalloc include/linux/slab.h:607 [inline]
__hw_addr_create net/core/dev_addr_lists.c:29 [inline]
__hw_addr_add_ex+0x1ed/0x780 net/core/dev_addr_lists.c:93
__dev_mc_add net/core/dev_addr_lists.c:832 [inline]
dev_mc_add+0x91/0x110 net/core/dev_addr_lists.c:850
igmp6_group_added+0x228/0x7c0 net/ipv6/mcast.c:684
__ipv6_dev_mc_inc+0x959/0xb20 net/ipv6/mcast.c:955
addrconf_join_solict net/ipv6/addrconf.c:2211 [inline]
addrconf_dad_begin net/ipv6/addrconf.c:4026 [inline]
addrconf_dad_work+0x3bd/0x1530 net/ipv6/addrconf.c:4153
process_one_work+0x867/0xff0 kernel/workqueue.c:2310
worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287

The buggy address belongs to the object at ffff888075bc4300
which belongs to the cache kmalloc-128 of size 128
The buggy address is located 112 bytes to the right of
128-byte region [ffff888075bc4300, ffff888075bc4380)
The buggy address belongs to the page:
page:ffffea0001d6f100 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888075bc4c00 pfn:0x75bc4
flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000200 ffffea0001eafec0 0000000c0000000c ffff888016c418c0
raw: ffff888075bc4c00 000000008010000d 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x112cc0(GFP_USER|__GFP_NOWARN|__GFP_NORETRY), pid 3559, ts 95911999419, free_ts 95608100925
prep_new_page mm/page_alloc.c:2426 [inline]
get_page_from_freelist+0x24f6/0x2670 mm/page_alloc.c:4192
__alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501
alloc_slab_page mm/slub.c:1780 [inline]
allocate_slab mm/slub.c:1917 [inline]
new_slab+0xc0/0x4b0 mm/slub.c:1980
___slab_alloc+0x807/0xdd0 mm/slub.c:3013
__slab_alloc mm/slub.c:3100 [inline]
slab_alloc_node mm/slub.c:3191 [inline]
slab_alloc mm/slub.c:3233 [inline]
kmem_cache_alloc_trace+0xf9/0x290 mm/slub.c:3250
kmalloc include/linux/slab.h:607 [inline]
kernfs_get_open_node fs/kernfs/file.c:552 [inline]
kernfs_fop_open+0x887/0xba0 fs/kernfs/file.c:698
do_dentry_open+0x7f7/0xf90 fs/open.c:826
do_open fs/namei.c:3616 [inline]
path_openat+0x2718/0x2fb0 fs/namei.c:3750
do_filp_open+0x1df/0x400 fs/namei.c:3777
do_sys_openat2+0x14b/0x500 fs/open.c:1255
do_sys_open fs/open.c:1271 [inline]
__do_sys_openat fs/open.c:1287 [inline]
__se_sys_openat fs/open.c:1282 [inline]
__x64_sys_openat+0x135/0x160 fs/open.c:1282
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
page last free stack trace:
reset_page_owner include/linux/page_owner.h:24 [inline]
free_pages_prepare mm/page_alloc.c:1340 [inline]
free_pcp_prepare mm/page_alloc.c:1391 [inline]
free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317
free_unref_page_list+0x119/0x830 mm/page_alloc.c:3433
release_pages+0x185f/0x1bd0 mm/swap.c:963
tlb_batch_pages_flush mm/mmu_gather.c:50 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:241 [inline]
tlb_flush_mmu mm/mmu_gather.c:248 [inline]
tlb_finish_mmu+0x1b4/0x370 mm/mmu_gather.c:371
exit_mmap+0x3d0/0x640 mm/mmap.c:3218
__mmput+0x115/0x390 kernel/fork.c:1128
exit_mm+0x632/0x7b0 kernel/exit.c:551
do_exit+0x5b8/0x2110 kernel/exit.c:871
do_group_exit+0x12c/0x2f0 kernel/exit.c:998
get_signal+0x7eb/0x12e0 kernel/signal.c:2901
arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0

Memory state around the buggy address:
ffff888075bc4280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff888075bc4300: 00 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc
>ffff888075bc4380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff888075bc4400: 00 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc
ffff888075bc4480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Jul 24, 2026, 6:09:27 PM (2 days ago) Jul 24
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: dc5c83b7f5f8 Linux 6.1.178
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1540dca9580000
kernel config: https://syzkaller.appspot.com/x/.config?x=872c04466179833f
dashboard link: https://syzkaller.appspot.com/bug?extid=e024d7c98824bafa72eb
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
userspace arch: arm64

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/96393e4697a3/disk-dc5c83b7.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/0d4afce44fab/vmlinux-dc5c83b7.xz
kernel image: https://storage.googleapis.com/syzbot-assets/4787e310d875/Image-dc5c83b7.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+e024d7...@syzkaller.appspotmail.com

configfs-gadget.g1 gadget.0: uvc: uvc_function_bind()
configfs-gadget.g1 gadget.0: uvc: Unable to allocate streaming EP
==================================================================
BUG: KASAN: slab-out-of-bounds in list_empty include/linux/list.h:292 [inline]
BUG: KASAN: slab-out-of-bounds in dummy_free_request+0x44/0x84 drivers/usb/gadget/udc/dummy_hcd.c:690
Read of size 8 at addr ffff0000f4007cf0 by task syz.0.648/6098

CPU: 1 PID: 6098 Comm: syz.0.648 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026
Call trace:
dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158
show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165
__dump_stack+0x30/0x40 lib/dump_stack.c:88
dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106
print_address_description+0x88/0x218 mm/kasan/report.c:316
print_report+0x50/0x68 mm/kasan/report.c:420
kasan_report+0xa8/0xfc mm/kasan/report.c:524
__asan_report_load8_noabort+0x2c/0x38 mm/kasan/report_generic.c:351
list_empty include/linux/list.h:292 [inline]
dummy_free_request+0x44/0x84 drivers/usb/gadget/udc/dummy_hcd.c:690
usb_ep_free_request+0x138/0x34c drivers/usb/gadget/udc/core.c:221
uvc_function_bind+0x8b0/0xfe8 drivers/usb/gadget/function/f_uvc.c:789
usb_add_function+0x234/0x7a8 drivers/usb/gadget/composite.c:337
configfs_composite_bind+0x7e0/0xce4 drivers/usb/gadget/configfs.c:1409
gadget_bind_driver+0x26c/0x684 drivers/usb/gadget/udc/core.c:1651
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x3a0/0xac4 drivers/base/dd.c:638
__driver_probe_device+0x1c8/0x368 drivers/base/dd.c:804
driver_probe_device+0x78/0x324 drivers/base/dd.c:834
__driver_attach+0x3bc/0x614 drivers/base/dd.c:1220
bus_for_each_dev+0x148/0x1d0 drivers/base/bus.c:303
driver_attach+0x50/0x60 drivers/base/dd.c:1237
bus_add_driver+0x2c0/0x518 drivers/base/bus.c:620
driver_register+0x200/0x37c drivers/base/driver.c:246
usb_gadget_register_driver_owner+0xf0/0x25c drivers/usb/gadget/udc/core.c:1730
gadget_dev_desc_UDC_store+0x168/0x268 drivers/usb/gadget/configfs.c:290
flush_write_buffer fs/configfs/file.c:207 [inline]
configfs_write_iter+0x260/0x338 fs/configfs/file.c:229
call_write_iter include/linux/fs.h:2265 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x3c8/0x7c8 fs/read_write.c:584
ksys_write+0x12c/0x228 fs/read_write.c:637
__do_sys_write fs/read_write.c:649 [inline]
__se_sys_write fs/read_write.c:646 [inline]
__arm64_sys_write+0x7c/0x90 fs/read_write.c:646
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140
do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204
el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585

Allocated by task 4328:
kasan_save_stack mm/kasan/common.c:46 [inline]
kasan_set_track+0x4c/0x80 mm/kasan/common.c:53
kasan_save_alloc_info+0x24/0x30 mm/kasan/generic.c:505
____kasan_kmalloc mm/kasan/common.c:375 [inline]
__kasan_kmalloc+0xa0/0xb8 mm/kasan/common.c:384
kasan_kmalloc include/linux/kasan.h:211 [inline]
kmalloc_trace+0x7c/0x94 mm/slab_common.c:1031
kmalloc include/linux/slab.h:563 [inline]
kzalloc include/linux/slab.h:699 [inline]
sctp_inet6addr_event+0x2f8/0x610 net/sctp/ipv6.c:86
notifier_call_chain kernel/notifier.c:87 [inline]
atomic_notifier_call_chain+0x178/0x2a4 kernel/notifier.c:225
inet6addr_notifier_call_chain+0x30/0x40 net/ipv6/addrconf_core.c:109
ipv6_add_addr+0xa90/0xd74 net/ipv6/addrconf.c:1181
addrconf_add_linklocal+0x23c/0x60c net/ipv6/addrconf.c:3264
addrconf_addr_gen+0x3ec/0x500 net/ipv6/addrconf.c:3395
addrconf_init_auto_addrs+0x5a8/0x91c net/ipv6/addrconf.c:-1
addrconf_notify+0x8cc/0xc98 net/ipv6/addrconf.c:3692
notifier_call_chain kernel/notifier.c:87 [inline]
raw_notifier_call_chain+0xd8/0x168 kernel/notifier.c:455
call_netdevice_notifiers_info net/core/dev.c:2014 [inline]
call_netdevice_notifiers_extack net/core/dev.c:2052 [inline]
call_netdevice_notifiers net/core/dev.c:2066 [inline]
__dev_notify_flags+0x260/0x490 net/core/dev.c:8715
dev_change_flags+0xd0/0x15c net/core/dev.c:8753
do_setlink+0x9d0/0x2158 net/core/rtnetlink.c:2845
__rtnl_newlink net/core/rtnetlink.c:3622 [inline]
rtnl_newlink+0x142c/0x1af0 net/core/rtnetlink.c:3669
rtnetlink_rcv_msg+0x694/0xcc4 net/core/rtnetlink.c:6166
netlink_rcv_skb+0x220/0x3ec net/netlink/af_netlink.c:2516
rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6184
netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
netlink_unicast+0x5fc/0x80c net/netlink/af_netlink.c:1344
netlink_sendmsg+0x6f0/0x9d8 net/netlink/af_netlink.c:1877
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
__sys_sendto+0x324/0x440 net/socket.c:2153
__do_sys_sendto net/socket.c:2165 [inline]
__se_sys_sendto net/socket.c:2161 [inline]
__arm64_sys_sendto+0xe4/0x104 net/socket.c:2161
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140
do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204
el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585

The buggy address belongs to the object at ffff0000f4007c00
which belongs to the cache kmalloc-128 of size 128
The buggy address is located 112 bytes to the right of
128-byte region [ffff0000f4007c00, ffff0000f4007c80)

The buggy address belongs to the physical page:
page:00000000e7d56655 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x134007
flags: 0x5ffc00000000200(slab|node=0|zone=2|lastcpupid=0x7ff)
raw: 05ffc00000000200 dead000000000100 dead000000000122 ffff0000c0002300
raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
ffff0000f4007b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff0000f4007c00: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
>ffff0000f4007c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
^
ffff0000f4007d00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff0000f4007d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6098 at drivers/usb/gadget/udc/dummy_hcd.c:690 dummy_free_request+0x7c/0x84 drivers/usb/gadget/udc/dummy_hcd.c:690
Modules linked in:
CPU: 0 PID: 6098 Comm: syz.0.648 Tainted: G B syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/02/2026
pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : dummy_free_request+0x7c/0x84 drivers/usb/gadget/udc/dummy_hcd.c:690
lr : dummy_free_request+0x7c/0x84 drivers/usb/gadget/udc/dummy_hcd.c:690
sp : ffff8000219374d0
x29: ffff8000219374d0 x28: ffff0000f5f424a0 x27: 1fffe0001ebe8494
x26: ffff0000f5f57150 x25: dfff800000000000 x24: 0000000000000003
x23: dfff800000000000 x22: ffff80001537d160 x21: ffff800013110c00
x20: ffff0000cff0c068 x19: ffff0000f4007cf0 x18: 1fffe00033e7277e
x17: ffff80001537d000 x16: ffff800011b90540 x15: 0000000040000000
x14: 0000000000000001 x13: 1ffff00002ff016c x12: 0000000000080000
x11: 000000000002da07 x10: ffff80002239b000 x9 : ffff80000dcedfc0
x8 : 000000000002da08 x7 : ffff800011cec160 x6 : ffff80000825ab4c
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff800008195a38
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000001
Call trace:
dummy_free_request+0x7c/0x84 drivers/usb/gadget/udc/dummy_hcd.c:690
usb_ep_free_request+0x138/0x34c drivers/usb/gadget/udc/core.c:221
uvc_function_bind+0x8b0/0xfe8 drivers/usb/gadget/function/f_uvc.c:789
usb_add_function+0x234/0x7a8 drivers/usb/gadget/composite.c:337
configfs_composite_bind+0x7e0/0xce4 drivers/usb/gadget/configfs.c:1409
gadget_bind_driver+0x26c/0x684 drivers/usb/gadget/udc/core.c:1651
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x3a0/0xac4 drivers/base/dd.c:638
__driver_probe_device+0x1c8/0x368 drivers/base/dd.c:804
driver_probe_device+0x78/0x324 drivers/base/dd.c:834
__driver_attach+0x3bc/0x614 drivers/base/dd.c:1220
bus_for_each_dev+0x148/0x1d0 drivers/base/bus.c:303
driver_attach+0x50/0x60 drivers/base/dd.c:1237
bus_add_driver+0x2c0/0x518 drivers/base/bus.c:620
driver_register+0x200/0x37c drivers/base/driver.c:246
usb_gadget_register_driver_owner+0xf0/0x25c drivers/usb/gadget/udc/core.c:1730
gadget_dev_desc_UDC_store+0x168/0x268 drivers/usb/gadget/configfs.c:290
flush_write_buffer fs/configfs/file.c:207 [inline]
configfs_write_iter+0x260/0x338 fs/configfs/file.c:229
call_write_iter include/linux/fs.h:2265 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x3c8/0x7c8 fs/read_write.c:584
ksys_write+0x12c/0x228 fs/read_write.c:637
__do_sys_write fs/read_write.c:649 [inline]
__se_sys_write fs/read_write.c:646 [inline]
__arm64_sys_write+0x7c/0x90 fs/read_write.c:646
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x290 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x13c/0x258 arch/arm64/kernel/syscall.c:140
do_el0_svc+0x5c/0x134 arch/arm64/kernel/syscall.c:204
el0_svc+0x58/0x128 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 1033
hardirqs last enabled at (1033): [<ffff80000825abe0>] raw_spin_rq_unlock_irq kernel/sched/sched.h:1374 [inline]
hardirqs last enabled at (1033): [<ffff80000825abe0>] finish_lock_switch+0xb0/0x1c8 kernel/sched/core.c:5005
hardirqs last disabled at (1032): [<ffff800011c635b8>] __schedule+0x294/0x1a6c kernel/sched/core.c:6461
softirqs last enabled at (716): [<ffff800008031254>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (714): [<ffff800008031220>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---
udc dummy_udc.0: failed to start g1: -22
configfs-gadget.g1: probe of gadget.0 failed with error -22
UDC core: g1: couldn't find an available UDC or it's busy
Reply all
Reply to author
Forward
0 new messages