hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 ================================================================== BUG: KCSAN: data-race in data_push_tail / string write to 0xffffffff88b8c598 of 1 bytes by task 35 on cpu 1: string_nocheck lib/vsprintf.c:650 [inline] string+0x16c/0x210 lib/vsprintf.c:728 vsnprintf+0xa09/0xe30 lib/vsprintf.c:2803 vscnprintf+0x42/0x90 lib/vsprintf.c:2909 printk_sprint+0x30/0x2d0 kernel/printk/printk.c:2197 vprintk_store+0x570/0x810 kernel/printk/printk.c:2311 vprintk_emit+0x15e/0x680 kernel/printk/printk.c:2383 dev_vprintk_emit+0x1df/0x210 drivers/base/core.c:4910 dev_printk_emit+0x82/0xb0 drivers/base/core.c:4921 __dev_printk+0xf6/0x110 drivers/base/core.c:4933 _dev_warn+0x99/0xc0 drivers/base/core.c:4977 hid_parser_main+0x622/0x680 drivers/hid/hid-core.c:632 hid_open_report+0x4e6/0x800 drivers/hid/hid-core.c:1276 hid_parse include/linux/hid.h:1120 [inline] hid_generic_probe+0x33/0x70 drivers/hid/hid-generic.c:63 __hid_device_probe drivers/hid/hid-core.c:2699 [inline] hid_device_probe+0x220/0x370 drivers/hid/hid-core.c:2736 really_probe+0x1cf/0x5d0 drivers/base/dd.c:658 __driver_probe_device+0x12d/0x200 drivers/base/dd.c:800 driver_probe_device+0x38/0x2f0 drivers/base/dd.c:830 __device_attach_driver+0x216/0x320 drivers/base/dd.c:958 bus_for_each_drv+0x1cd/0x240 drivers/base/bus.c:459 __device_attach+0x1c7/0x290 drivers/base/dd.c:1030 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1079 bus_probe_device+0x141/0x1d0 drivers/base/bus.c:534 device_add+0x5e2/0x790 drivers/base/core.c:3675 hid_add_device+0x26e/0x2f0 drivers/hid/hid-core.c:2882 uhid_device_add_worker+0x2b/0xa0 drivers/hid/uhid.c:73 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3310 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3391 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read to 0xffffffff88b8c598 of 8 bytes by task 2981 on cpu 0: data_make_reusable kernel/printk/printk_ringbuffer.c:594 [inline] data_push_tail+0x102/0x430 kernel/printk/printk_ringbuffer.c:679 data_alloc+0xbe/0x2c0 kernel/printk/printk_ringbuffer.c:1054 prb_reserve+0x85e/0xb60 kernel/printk/printk_ringbuffer.c:1669 vprintk_store+0x53f/0x810 kernel/printk/printk.c:2301 vprintk_emit+0x15e/0x680 kernel/printk/printk.c:2383 dev_vprintk_emit+0x1df/0x210 drivers/base/core.c:4910 dev_printk_emit+0x82/0xb0 drivers/base/core.c:4921 __dev_printk+0xf6/0x110 drivers/base/core.c:4933 _dev_warn+0x99/0xc0 drivers/base/core.c:4977 hid_parser_main+0x622/0x680 drivers/hid/hid-core.c:632 hid_open_report+0x4e6/0x800 drivers/hid/hid-core.c:1276 hid_parse include/linux/hid.h:1120 [inline] hid_generic_probe+0x33/0x70 drivers/hid/hid-generic.c:63 __hid_device_probe drivers/hid/hid-core.c:2699 [inline] hid_device_probe+0x220/0x370 drivers/hid/hid-core.c:2736 really_probe+0x1cf/0x5d0 drivers/base/dd.c:658 __driver_probe_device+0x12d/0x200 drivers/base/dd.c:800 driver_probe_device+0x38/0x2f0 drivers/base/dd.c:830 __device_attach_driver+0x216/0x320 drivers/base/dd.c:958 bus_for_each_drv+0x1cd/0x240 drivers/base/bus.c:459 __device_attach+0x1c7/0x290 drivers/base/dd.c:1030 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1079 bus_probe_device+0x141/0x1d0 drivers/base/bus.c:534 device_add+0x5e2/0x790 drivers/base/core.c:3675 hid_add_device+0x26e/0x2f0 drivers/hid/hid-core.c:2882 uhid_device_add_worker+0x2b/0xa0 drivers/hid/uhid.c:73 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3310 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3391 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x00000000ffffe0c8 -> 0x656e65672d646968 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 2981 Comm: kworker/0:2 Not tainted 6.12.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events uhid_device_add_worker ================================================================== hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: unknown main item tag 0x0 hid-generic 0000:0000:0000.0018: hidraw0: HID v0.00 Device [syz0] on syz0