------------[ cut here ]------------ strnlen: detected buffer overflow: 129 byte read of buffer size 128 WARNING: CPU: 0 PID: 5834 at lib/string_helpers.c:1033 __fortify_report+0x9d/0xb0 lib/string_helpers.c:1032 Modules linked in: CPU: 0 UID: 0 PID: 5834 Comm: kworker/0:3 Not tainted 6.14.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: usb_hub_wq hub_event RIP: 0010:__fortify_report+0x9d/0xb0 lib/string_helpers.c:1032 Code: 84 ed 48 8b 33 48 c7 c0 60 b0 80 8c 48 c7 c1 80 b0 80 8c 48 0f 44 c8 48 c7 c7 e0 ad 80 8c 4c 89 fa 4d 89 f0 e8 44 d3 8b fc 90 <0f> 0b 90 90 5b 41 5e 41 5f 5d e9 9f 98 1a fc 0f 1f 40 00 90 90 90 RSP: 0018:ffffc9000406eb50 EFLAGS: 00010246 RAX: 2145d4899490fd00 RBX: ffffffff8c80ad28 RCX: 0000000000100000 RDX: ffffc9001b97f000 RSI: 0000000000039c63 RDI: 0000000000039c64 RBP: 0000000000000000 R08: ffffffff81817e32 R09: 1ffffffff28a9318 R10: dffffc0000000000 R11: fffffbfff28a9319 R12: dffffc0000000000 R13: 1ffff9200080dd84 R14: 0000000000000080 R15: 0000000000000081 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f75fc293f98 CR3: 000000007c0ec000 CR4: 0000000000350ef0 Call Trace: __fortify_panic+0x9/0x10 lib/string_helpers.c:1039 _Z7strnlenPKcU25pass_dynamic_object_size1m include/linux/fortify-string.h:235 [inline] _Z13sized_strscpyPcU25pass_dynamic_object_size1PKcU25pass_dynamic_object_size1m include/linux/fortify-string.h:309 [inline] ucan_probe+0x195e/0x1980 drivers/net/can/usb/ucan.c:1535 usb_probe_interface+0x643/0xbb0 drivers/usb/core/driver.c:396 really_probe+0x2bb/0xad0 drivers/base/dd.c:658 __driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800 driver_probe_device+0x50/0x430 drivers/base/dd.c:830 __device_attach_driver+0x2d6/0x530 drivers/base/dd.c:958 bus_for_each_drv+0x250/0x2e0 drivers/base/bus.c:462 __device_attach+0x333/0x520 drivers/base/dd.c:1030 bus_probe_device+0x189/0x260 drivers/base/bus.c:537 device_add+0x856/0xbf0 drivers/base/core.c:3665 usb_set_configuration+0x1976/0x1fb0 drivers/usb/core/message.c:2210 usb_generic_driver_probe+0x88/0x140 drivers/usb/core/generic.c:250 usb_probe_device+0x1ba/0x380 drivers/usb/core/driver.c:291 really_probe+0x2bb/0xad0 drivers/base/dd.c:658 __driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800 driver_probe_device+0x50/0x430 drivers/base/dd.c:830 __device_attach_driver+0x2d6/0x530 drivers/base/dd.c:958 bus_for_each_drv+0x250/0x2e0 drivers/base/bus.c:462 __device_attach+0x333/0x520 drivers/base/dd.c:1030 bus_probe_device+0x189/0x260 drivers/base/bus.c:537 device_add+0x856/0xbf0 drivers/base/core.c:3665 usb_new_device+0x104a/0x19a0 drivers/usb/core/hub.c:2663 hub_port_connect drivers/usb/core/hub.c:5533 [inline] hub_port_connect_change drivers/usb/core/hub.c:5673 [inline] port_event drivers/usb/core/hub.c:5833 [inline] hub_event+0x2d6d/0x5150 drivers/usb/core/hub.c:5915 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xac0/0x18e0 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x7ab/0x920 kernel/kthread.c:464 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244