================================================================== BUG: KASAN: slab-out-of-bounds in reg_fixed_voltage_probe+0xb3b/0xe10 drivers/regulator/fixed.c:275 Read of size 4 at addr ffff888028618b14 by task syz.7.241/6727 CPU: 1 UID: 0 PID: 6727 Comm: syz.7.241 Tainted: G S syzkaller #0 PREEMPT(full) Tainted: [S]=CPU_OUT_OF_SPEC Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 reg_fixed_voltage_probe+0xb3b/0xe10 drivers/regulator/fixed.c:275 platform_probe+0xf9/0x190 drivers/base/platform.c:1507 platform_probe+0xf9/0x190 drivers/base/platform.c:1507 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x254/0xae0 drivers/base/dd.c:706 __driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868 device_driver_attach+0xe0/0x1d0 drivers/base/dd.c:1203 bind_store+0x1d0/0x220 drivers/base/bus.c:267 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f555a39e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f555b253028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f555a625fa0 RCX: 00007f555a39e0d9 RDX: 000000000000000b RSI: 0000200000000700 RDI: 0000000000000003 RBP: 00007f555a435024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f555a626038 R14: 00007f555a625fa0 R15: 00007ffd3d55fc08 Allocated by task 1: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5414 [inline] __kmalloc_node_track_caller_noprof+0x4b4/0x720 mm/slub.c:5545 kmemdup_noprof+0x2b/0x70 mm/util.c:138 kmemdup_noprof include/linux/fortify-string.h:715 [inline] platform_device_add_data+0x2e/0xa0 drivers/base/platform.c:692 dummy_hcd_init+0x49f/0xd00 drivers/usb/gadget/udc/dummy_hcd.c:2859 do_one_initcall+0x250/0x870 init/main.c:1359 do_initcall_level+0x10a/0x1a0 init/main.c:1421 do_initcalls+0x59/0xa0 init/main.c:1437 kernel_init_freeable+0x29d/0x3e0 init/main.c:1672 kernel_init+0x22/0x1d0 init/main.c:1562 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the object at ffff888028618b00 which belongs to the cache kmalloc-8 of size 8 The buggy address is located 12 bytes to the right of allocated 8-byte region [ffff888028618b00, ffff888028618b08) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x28618 flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000000 ffff88813ff11500 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000800080 00000000f5000000 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 6929050934 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 alloc_slab_page mm/slub.c:3347 [inline] allocate_slab+0x7d/0x620 mm/slub.c:3462 new_slab mm/slub.c:3513 [inline] refill_objects+0x2d5/0x350 mm/slub.c:7410 refill_sheaf mm/slub.c:2885 [inline] __pcs_replace_empty_main+0x2c8/0x6c0 mm/slub.c:4774 alloc_from_pcs mm/slub.c:4850 [inline] slab_alloc_node mm/slub.c:4984 [inline] __do_kmalloc_node mm/slub.c:5413 [inline] __kmalloc_node_track_caller_noprof+0x548/0x720 mm/slub.c:5545 kvasprintf+0xeb/0x1a0 lib/kasprintf.c:25 kobject_set_name_vargs+0x61/0x110 lib/kobject.c:274 kobject_add_varg lib/kobject.c:368 [inline] kobject_init_and_add+0xee/0x1a0 lib/kobject.c:457 rx_queue_add_kobject net/core/net-sysfs.c:1239 [inline] net_rx_queue_update_kobjects+0x247/0x780 net/core/net-sysfs.c:1301 register_queue_kobjects net/core/net-sysfs.c:2093 [inline] netdev_register_kobject+0x23e/0x350 net/core/net-sysfs.c:2344 register_netdevice+0x1433/0x1eb0 net/core/dev.c:11481 virtnet_probe+0x2fcc/0x48d0 drivers/net/virtio_net.c:7034 virtio_dev_probe+0xdf6/0x10c0 drivers/virtio/virtio.c:347 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x254/0xae0 drivers/base/dd.c:706 page_owner free stack trace missing Memory state around the buggy address: ffff888028618a00: 00 fc fc fc 00 fc fc fc 00 fc fc fc 00 fc fc fc ffff888028618a80: 00 fc fc fc 00 fc fc fc 00 fc fc fc 00 fc fc fc >ffff888028618b00: 00 fc fc fc 00 fc fc fc fa fc fc fc 00 fc fc fc ^ ffff888028618b80: fa fc fc fc fa fc fc fc fa fc fc fc fa fc fc fc ffff888028618c00: fa fc fc fc 06 fc fc fc fa fc fc fc 00 fc fc fc ==================================================================