===================================================== BUG: KMSAN: uninit-value in kstrdup_const+0xb9/0x260 mm/util.c:80 kstrdup_const+0xb9/0x260 mm/util.c:80 kvasprintf_const+0x346/0x3f0 kobject_set_name_vargs+0x12f/0x3a0 lib/kobject.c:289 device_create_groups_vargs drivers/base/core.c:4048 [inline] device_create_with_groups+0x4b5/0x710 drivers/base/core.c:4138 led_classdev_register_ext+0x88d/0x1250 drivers/leds/led-class.c:372 led_classdev_register include/linux/leds.h:196 [inline] xpad_led_probe drivers/input/joystick/xpad.c:1473 [inline] xpad_init_input+0x1516/0x1890 drivers/input/joystick/xpad.c:1721 xpad_presence_work+0xb5/0x460 drivers/input/joystick/xpad.c:778 process_one_work+0xdb9/0x1820 kernel/workqueue.c:2298 worker_thread+0x10bc/0x21f0 kernel/workqueue.c:2445 kthread+0x721/0x850 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Local variable barr created at: __flush_work+0x52/0x1160 kernel/workqueue.c:3070 __cancel_work_timer+0x5e7/0x800 kernel/workqueue.c:3171 CPU: 1 PID: 118 Comm: kworker/1:2 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events xpad_presence_work =====================================================