usbvision_i2c_register: can't write reg videodev: could not get a free device node number usb 6-1: USBVision[599]: video_register_device() failed ------------[ cut here ]------------ WARNING: CPU: 1 PID: 3050 at fs/sysfs/file.c:327 sysfs_create_file_ns+0x13c/0x1c0 fs/sysfs/file.c:327 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 3050 Comm: kworker/1:3 Not tainted 5.8.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xf6/0x16e lib/dump_stack.c:118 panic+0x2aa/0x6e1 kernel/panic.c:231 __warn.cold+0x20/0x50 kernel/panic.c:600 report_bug+0x1bd/0x210 lib/bug.c:198 handle_bug+0x41/0x80 arch/x86/kernel/traps.c:234 exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:254 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536 RIP: 0010:sysfs_create_file_ns+0x13c/0x1c0 fs/sysfs/file.c:327 Code: 85 82 00 00 00 41 55 48 8b 7b 30 31 d2 48 89 ee 44 8b 4c 24 50 44 8b 44 24 40 e8 8f f9 ff ff 41 89 c5 58 eb 0d e8 04 05 ae ff <0f> 0b 41 bd ea ff ff ff e8 f7 04 ae ff 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffff8881aa18f098 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8881a3da43a8 RCX: ffffc9000dca1000 RDX: 0000000000040000 RSI: ffffffff8191fbdc RDI: ffff8881a3da43a8 RBP: ffffffff87db2a80 R08: 0000000000000000 R09: ffff8881a3da4907 R10: 0000000000000000 R11: 0000000000000001 R12: 1ffff11035431e14 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8881a3da43d8 sysfs_create_file include/linux/sysfs.h:584 [inline] device_create_file+0xea/0x1d0 drivers/base/core.c:2304 usbvision_create_sysfs drivers/staging/media/usbvision/usbvision-video.c:252 [inline] usbvision_probe.cold+0x1c3b/0x1f2a drivers/staging/media/usbvision/usbvision-video.c:1535 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:374 really_probe+0x291/0xde0 drivers/base/dd.c:553 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:738 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:844 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:912 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xb51/0x1c70 drivers/base/core.c:2930 usb_set_configuration+0xf05/0x18a0 drivers/usb/core/message.c:2032 usb_generic_driver_probe+0xba/0xf2 drivers/usb/core/generic.c:239 usb_probe_device+0xd9/0x250 drivers/usb/core/driver.c:272 really_probe+0x291/0xde0 drivers/base/dd.c:553 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:738 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:844 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431 __device_attach+0x228/0x4a0 drivers/base/dd.c:912 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491 device_add+0xb51/0x1c70 drivers/base/core.c:2930 usb_new_device.cold+0x71d/0xfd4 drivers/usb/core/hub.c:2554 hub_port_connect drivers/usb/core/hub.c:5208 [inline] hub_port_connect_change drivers/usb/core/hub.c:5348 [inline] port_event drivers/usb/core/hub.c:5494 [inline] hub_event+0x2361/0x4390 drivers/usb/core/hub.c:5576 process_one_work+0x94c/0x15f0 kernel/workqueue.c:2269 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415 kthread+0x392/0x470 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Kernel Offset: disabled Rebooting in 86400 seconds..