================================================================== BUG: KASAN: use-after-free in string_nocheck lib/vsprintf.c:643 [inline] BUG: KASAN: use-after-free in string+0x20f/0x2a0 lib/vsprintf.c:725 Read of size 1 at addr ffff88810b81b230 by task syz.0.261/1286 CPU: 0 PID: 1286 Comm: syz.0.261 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 print_address_description+0x71/0x200 mm/kasan/report.c:316 print_report+0x4a/0x60 mm/kasan/report.c:420 kasan_report+0x122/0x150 mm/kasan/report.c:524 __asan_report_load1_noabort+0x14/0x20 mm/kasan/report_generic.c:348 string_nocheck lib/vsprintf.c:643 [inline] string+0x20f/0x2a0 lib/vsprintf.c:725 vsnprintf+0xec5/0x1990 lib/vsprintf.c:2805 seq_vprintf fs/seq_file.c:391 [inline] seq_printf+0x185/0x280 fs/seq_file.c:406 show_interrupts+0x8f9/0xa00 kernel/irq/proc.c:527 seq_read_iter+0x992/0xd80 fs/seq_file.c:272 proc_reg_read_iter+0x1e0/0x2b0 fs/proc/inode.c:305 call_read_iter include/linux/fs.h:2276 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x46e/0x930 fs/read_write.c:470 ksys_read+0x14a/0x260 fs/read_write.c:613 __do_sys_read fs/read_write.c:623 [inline] __se_sys_read fs/read_write.c:621 [inline] __x64_sys_read+0x7b/0x90 fs/read_write.c:621 x64_sys_call+0x2f/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:1 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fe70059e159 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:00007fe6feff7028 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007fe700826450 RCX: 00007fe70059e159 RDX: 000000000000018b RSI: 0000200000006a00 RDI: 000000000000000a RBP: 00007fe70063506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe7008264e8 R14: 00007fe700826450 R15: 00007ffc8fb23ce8 Allocated by task 1080: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:380 [inline] __kasan_kmalloc+0x95/0xb0 mm/kasan/common.c:389 kasan_kmalloc include/linux/kasan.h:212 [inline] __do_kmalloc_node mm/slab_common.c:938 [inline] __kmalloc_node_track_caller+0xb1/0x1e0 mm/slab_common.c:958 kstrdup mm/util.c:66 [inline] kstrdup_const+0x5a/0xa0 mm/util.c:89 __kernfs_new_node+0xa6/0x670 fs/kernfs/dir.c:610 kernfs_new_node+0x150/0x260 fs/kernfs/dir.c:690 kernfs_create_dir_ns+0x47/0x130 fs/kernfs/dir.c:1046 sysfs_create_dir_ns+0x128/0x290 fs/sysfs/dir.c:59 create_dir lib/kobject.c:63 [inline] kobject_add_internal+0x718/0xc20 lib/kobject.c:231 kobject_add_varg lib/kobject.c:366 [inline] kobject_init_and_add+0x128/0x190 lib/kobject.c:449 rx_queue_add_kobject net/core/net-sysfs.c:1057 [inline] net_rx_queue_update_kobjects+0x1b6/0x470 net/core/net-sysfs.c:1108 register_queue_kobjects net/core/net-sysfs.c:1768 [inline] netdev_register_kobject+0x23d/0x330 net/core/net-sysfs.c:2013 register_netdevice+0xec9/0x1550 net/core/dev.c:10206 register_netdev+0x3e/0x50 net/core/dev.c:10332 loopback_net_init+0x74/0x150 drivers/net/loopback.c:220 ops_init+0x2ce/0x470 net/core/net_namespace.c:138 setup_net+0x4b4/0xcd0 net/core/net_namespace.c:335 copy_net_ns+0x355/0x5c0 net/core/net_namespace.c:481 create_new_namespaces+0x3a8/0x660 kernel/nsproxy.c:110 copy_namespaces+0x1cc/0x220 kernel/nsproxy.c:178 copy_process+0x1304/0x3500 kernel/fork.c:2490 kernel_clone+0x22f/0x7f0 kernel/fork.c:2903 __do_sys_clone3 kernel/fork.c:3204 [inline] __se_sys_clone3 kernel/fork.c:3188 [inline] __x64_sys_clone3+0x2ce/0x360 kernel/fork.c:3188 x64_sys_call+0x4ce/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:436 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Freed by task 8: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0x132/0x180 mm/kasan/common.c:242 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:250 kasan_slab_free include/linux/kasan.h:178 [inline] slab_free_hook mm/slub.c:1750 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1776 slab_free mm/slub.c:3712 [inline] __kmem_cache_free+0xb7/0x1b0 mm/slub.c:3728 kfree+0x6f/0xf0 mm/slab_common.c:990 kfree_const+0x39/0x40 mm/util.c:46 kernfs_put+0x1be/0x480 fs/kernfs/dir.c:559 sysfs_put include/linux/sysfs.h:696 [inline] __kobject_del+0xea/0x2c0 lib/kobject.c:597 kobject_cleanup lib/kobject.c:672 [inline] kobject_release lib/kobject.c:712 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1ee/0x280 lib/kobject.c:729 net_rx_queue_update_kobjects+0x404/0x470 net/core/net-sysfs.c:1122 remove_queue_kobjects net/core/net-sysfs.c:1823 [inline] netdev_unregister_kobject+0xf9/0x260 net/core/net-sysfs.c:1977 unregister_netdevice_many+0x142c/0x1910 net/core/dev.c:11032 default_device_exit_batch+0x951/0x9f0 net/core/dev.c:11518 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x630/0xb10 net/core/net_namespace.c:604 process_one_work+0x717/0xc30 kernel/workqueue.c:2302 worker_thread+0xa4d/0x11d0 kernel/workqueue.c:2449 kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 The buggy address belongs to the object at ffff88810b81b230 which belongs to the cache kmalloc-8 of size 8 The buggy address is located 0 bytes inside of 8-byte region [ffff88810b81b230, ffff88810b81b238) The buggy address belongs to the physical page: page:ffffea00042e06c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10b81b flags: 0x4000000000000200(slab|zone=1) raw: 4000000000000200 dead000000000100 dead000000000122 ffff888100042300 raw: 0000000000000000 0000000000660066 00000001ffffffff 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 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, tgid 1 (swapper/0), ts 1766529403, free_ts 0 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f5/0x210 mm/page_alloc.c:2673 prep_new_page+0x1c/0x110 mm/page_alloc.c:2680 get_page_from_freelist+0x2ca9/0x2d20 mm/page_alloc.c:4587 __alloc_pages+0x1fa/0x610 mm/page_alloc.c:5931 alloc_slab_page+0x6e/0xf0 include/linux/gfp.h:-1 allocate_slab mm/slub.c:1967 [inline] new_slab+0x98/0x3e0 mm/slub.c:2020 ___slab_alloc+0x70f/0xb70 mm/slub.c:3177 __slab_alloc+0x5e/0xa0 mm/slub.c:3263 slab_alloc_node mm/slub.c:3348 [inline] __kmem_cache_alloc_node+0x204/0x2d0 mm/slub.c:3423 __do_kmalloc_node mm/slab_common.c:937 [inline] __kmalloc+0xa4/0x1e0 mm/slab_common.c:951 kmalloc include/linux/slab.h:568 [inline] acpi_os_allocate include/acpi/platform/aclinuxex.h:52 [inline] acpi_ex_allocate_name_string drivers/acpi/acpica/exnames.c:66 [inline] acpi_ex_get_name_string+0x5a9/0xca0 drivers/acpi/acpica/exnames.c:367 acpi_ds_create_operand+0x168/0x8b0 drivers/acpi/acpica/dsutils.c:446 acpi_ds_evaluate_name_path+0x15a/0x420 drivers/acpi/acpica/dsutils.c:778 acpi_ds_exec_end_op+0x255/0x11a0 drivers/acpi/acpica/dswexec.c:374 acpi_ps_parse_loop+0xc0d/0x19f0 drivers/acpi/acpica/psloop.c:525 acpi_ps_parse_aml+0x214/0x9a0 drivers/acpi/acpica/psparse.c:475 page_owner free stack trace missing Memory state around the buggy address: ffff88810b81b100: fc fc fc 00 fc fc fc fc 06 fc fc fc fc 06 fc fc ffff88810b81b180: fc fc 06 fc fc fc fc fa fc fc fc fc fa fc fc fc >ffff88810b81b200: fc 06 fc fc fc fc fa fc fc fc fc 06 fc fc fc fc ^ ffff88810b81b280: fa fc fc fc fc fa fc fc fc fc 06 fc fc fc fc 05 ffff88810b81b300: fc fc fc fc fa fc fc fc fc 06 fc fc fc fc 03 fc ==================================================================