[drm:udl_init] *ERROR* Selecting channel failed [drm] Initialized udl 0.0.1 20120220 for 3-1:0.0 on minor 2 [drm] Initialized udl on minor 2 [drm:udl_get_edid_block] *ERROR* Read EDID byte 0 failed err ffffffb9 udl 3-1:0.0: [drm] Cannot find any crtc or sizes usb 3-1: USB disconnect, device number 2 ================================================================== BUG: KFENCE: use-after-free read in __list_add_valid+0x3a/0xb0 lib/list_debug.c:27 Use-after-free read at 0xffff88823bd22fe8 (in kfence-#144): __list_add_valid+0x3a/0xb0 lib/list_debug.c:27 __list_add include/linux/list.h:69 [inline] list_add include/linux/list.h:88 [inline] list_move include/linux/list.h:218 [inline] udl_get_urb_timeout+0x20e/0x550 drivers/gpu/drm/udl/udl_main.c:250 udl_free_urb_list+0x15f/0x250 drivers/gpu/drm/udl/udl_main.c:156 udl_drop_usb+0xd0/0x160 drivers/gpu/drm/udl/udl_main.c:358 udl_usb_disconnect+0x3f/0x50 drivers/gpu/drm/udl/udl_drv.c:114 usb_unbind_interface+0x1d8/0x8e0 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:550 [inline] device_remove+0x11f/0x170 drivers/base/dd.c:542 __device_release_driver drivers/base/dd.c:1239 [inline] device_release_driver_internal+0x4a1/0x700 drivers/base/dd.c:1265 bus_remove_device+0x2e3/0x590 drivers/base/bus.c:529 device_del+0x4f3/0xc80 drivers/base/core.c:3704 usb_disable_device+0x356/0x7a0 drivers/usb/core/message.c:1419 usb_disconnect.cold+0x259/0x6ed drivers/usb/core/hub.c:2235 hub_port_connect drivers/usb/core/hub.c:5197 [inline] hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] port_event drivers/usb/core/hub.c:5653 [inline] hub_event+0x1f86/0x4610 drivers/usb/core/hub.c:5735 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 process_scheduled_works kernel/workqueue.c:2352 [inline] worker_thread+0x854/0x1080 kernel/workqueue.c:2438 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 kfence-#144: 0xffff88823bd22fe0-0xffff88823bd22fff, size=32, cache=kmalloc-32 allocated by task 142 on cpu 1 at 223.403790s: kfence_alloc include/linux/kfence.h:128 [inline] slab_alloc_node mm/slub.c:3241 [inline] __kmem_cache_alloc_node+0x256/0x3d0 mm/slub.c:3356 kmalloc_trace+0x22/0x60 mm/slab_common.c:1010 kmalloc include/linux/slab.h:559 [inline] kzalloc include/linux/slab.h:695 [inline] udl_alloc_urb_list drivers/gpu/drm/udl/udl_main.c:190 [inline] udl_init+0x736/0xc80 drivers/gpu/drm/udl/udl_main.c:331 udl_driver_create drivers/gpu/drm/udl/udl_drv.c:79 [inline] udl_usb_probe+0x4f/0x100 drivers/gpu/drm/udl/udl_drv.c:94 usb_probe_interface+0x30b/0x7f0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:560 [inline] really_probe+0x249/0xb90 drivers/base/dd.c:639 __driver_probe_device+0x1df/0x4d0 drivers/base/dd.c:778 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:808 __device_attach_driver+0x206/0x2e0 drivers/base/dd.c:931 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427 __device_attach+0x1e4/0x530 drivers/base/dd.c:1003 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487 device_add+0xbd5/0x1e90 drivers/base/core.c:3517 usb_set_configuration+0x1019/0x1900 drivers/usb/core/message.c:2170 usb_generic_driver_probe+0xba/0x100 drivers/usb/core/generic.c:238 usb_probe_device+0xd4/0x2c0 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:560 [inline] really_probe+0x249/0xb90 drivers/base/dd.c:639 __driver_probe_device+0x1df/0x4d0 drivers/base/dd.c:778 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:808 __device_attach_driver+0x206/0x2e0 drivers/base/dd.c:931 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427 __device_attach+0x1e4/0x530 drivers/base/dd.c:1003 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487 device_add+0xbd5/0x1e90 drivers/base/core.c:3517 usb_new_device.cold+0x685/0x10ad drivers/usb/core/hub.c:2573 hub_port_connect drivers/usb/core/hub.c:5353 [inline] hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] port_event drivers/usb/core/hub.c:5653 [inline] hub_event+0x26c7/0x4610 drivers/usb/core/hub.c:5735 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 freed by task 142 on cpu 1 at 223.475865s: do_slab_free mm/slub.c:3534 [inline] slab_free mm/slub.c:3581 [inline] __kmem_cache_free+0x380/0x3b0 mm/slub.c:3593 udl_free_urb_list+0x136/0x250 drivers/gpu/drm/udl/udl_main.c:164 udl_drop_usb+0xd0/0x160 drivers/gpu/drm/udl/udl_main.c:358 udl_usb_disconnect+0x3f/0x50 drivers/gpu/drm/udl/udl_drv.c:114 usb_unbind_interface+0x1d8/0x8e0 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:550 [inline] device_remove+0x11f/0x170 drivers/base/dd.c:542 __device_release_driver drivers/base/dd.c:1239 [inline] device_release_driver_internal+0x4a1/0x700 drivers/base/dd.c:1265 bus_remove_device+0x2e3/0x590 drivers/base/bus.c:529 device_del+0x4f3/0xc80 drivers/base/core.c:3704 usb_disable_device+0x356/0x7a0 drivers/usb/core/message.c:1419 usb_disconnect.cold+0x259/0x6ed drivers/usb/core/hub.c:2235 hub_port_connect drivers/usb/core/hub.c:5197 [inline] hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] port_event drivers/usb/core/hub.c:5653 [inline] hub_event+0x1f86/0x4610 drivers/usb/core/hub.c:5735 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 process_scheduled_works kernel/workqueue.c:2352 [inline] worker_thread+0x854/0x1080 kernel/workqueue.c:2438 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 CPU: 1 PID: 142 Comm: kworker/1:2 Not tainted 6.0.0-rc3-next-20220901-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Workqueue: usb_hub_wq hub_event RIP: 0010:__list_add_valid+0x3a/0xb0 lib/list_debug.c:27 Code: 48 85 d2 49 89 d4 0f 84 86 a4 4a 05 48 b8 00 00 00 00 00 fc ff df 48 89 fd 48 8d 7a 08 48 89 fa 48 c1 ea 03 80 3c 02 00 75 50 <49> 8b 54 24 08 48 39 f2 0f 85 49 a4 4a 05 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90002ddf620 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: ffff8880762e0000 RCX: ffffc90014cf8000 RDX: 1ffff110477a45fd RSI: ffff8880762e16b0 RDI: ffff88823bd22fe8 RBP: ffff888023a22340 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88823bd22fe0 R13: ffff8880762e16a0 R14: ffff8880762e16c0 R15: ffff8880762e16b0 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff88823bd22fe8 CR3: 00000000792a6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add include/linux/list.h:69 [inline] list_add include/linux/list.h:88 [inline] list_move include/linux/list.h:218 [inline] udl_get_urb_timeout+0x20e/0x550 drivers/gpu/drm/udl/udl_main.c:250 udl_free_urb_list+0x15f/0x250 drivers/gpu/drm/udl/udl_main.c:156 udl_drop_usb+0xd0/0x160 drivers/gpu/drm/udl/udl_main.c:358 udl_usb_disconnect+0x3f/0x50 drivers/gpu/drm/udl/udl_drv.c:114 usb_unbind_interface+0x1d8/0x8e0 drivers/usb/core/driver.c:458 device_remove drivers/base/dd.c:550 [inline] device_remove+0x11f/0x170 drivers/base/dd.c:542 __device_release_driver drivers/base/dd.c:1239 [inline] device_release_driver_internal+0x4a1/0x700 drivers/base/dd.c:1265 bus_remove_device+0x2e3/0x590 drivers/base/bus.c:529 device_del+0x4f3/0xc80 drivers/base/core.c:3704 usb_disable_device+0x356/0x7a0 drivers/usb/core/message.c:1419 usb_disconnect.cold+0x259/0x6ed drivers/usb/core/hub.c:2235 hub_port_connect drivers/usb/core/hub.c:5197 [inline] hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] port_event drivers/usb/core/hub.c:5653 [inline] hub_event+0x1f86/0x4610 drivers/usb/core/hub.c:5735 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 process_scheduled_works kernel/workqueue.c:2352 [inline] worker_thread+0x854/0x1080 kernel/workqueue.c:2438 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 ================================================================== ---------------- Code disassembly (best guess): 0: 48 85 d2 test %rdx,%rdx 3: 49 89 d4 mov %rdx,%r12 6: 0f 84 86 a4 4a 05 je 0x54aa492 c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 13: fc ff df 16: 48 89 fd mov %rdi,%rbp 19: 48 8d 7a 08 lea 0x8(%rdx),%rdi 1d: 48 89 fa mov %rdi,%rdx 20: 48 c1 ea 03 shr $0x3,%rdx 24: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 28: 75 50 jne 0x7a * 2a: 49 8b 54 24 08 mov 0x8(%r12),%rdx <-- trapping instruction 2f: 48 39 f2 cmp %rsi,%rdx 32: 0f 85 49 a4 4a 05 jne 0x54aa481 38: 48 rex.W 39: b8 00 00 00 00 mov $0x0,%eax 3e: 00 fc add %bh,%ah