KASAN: use-after-free Write in do_one_initcall nfc: nfc_init: NFC Core ver 0.1 NET: Registered PF_NFC protocol family PCI: Using ACPI for IRQ routing pci 0000:00:05.0: vgaarb: setting as boot VGA device pci 0000:00:05.0: vgaarb: bridge control possible pci 0000:00:05.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none vgaarb: loaded clocksource: Switched to clocksource kvm-clock VFS: Disk quotas dquot_6.6.0 VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) FS-Cache: Loaded CacheFiles: Loaded TOMOYO: 2.6.0 Mandatory Access Control activated. AppArmor: AppArmor Filesystem Enabled pnp: PnP ACPI init pnp: PnP ACPI: found 7 devices clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns NET: Registered PF_INET protocol family IP idents hash table entries: 131072 (order: 8, 1048576 bytes, vmalloc) tcp_listen_portaddr_hash hash table entries: 4096 (order: 6, 294912 bytes, vmalloc) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, vmalloc) TCP established hash table entries: 65536 (order: 7, 524288 bytes, vmalloc) TCP bind hash table entries: 65536 (order: 11, 9437184 bytes, vmalloc hugepage) TCP: Hash tables configured (established 65536 bind 65536) MPTCP token hash table entries: 8192 (order: 7, 720896 bytes, vmalloc) UDP hash table entries: 4096 (order: 7, 655360 bytes, vmalloc) UDP-Lite hash table entries: 4096 (order: 7, 655360 bytes, vmalloc) NET: Registered PF_UNIX/PF_LOCAL protocol family RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. NET: Registered PF_XDP protocol family pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] pci_bus 0000:00: resource 7 [mem 0xc0000000-0xfebfefff window] pci 0000:00:00.0: Limiting direct PCI/PCI transfers PCI: CLS 0 bytes, default 64 PCI-DMA: Using software bounce buffering for IO (SWIOTLB) software IO TLB: mapped [mem 0x00000000b5a00000-0x00000000b9a00000] (64MB) ACPI: bus type thunderbolt registered RAPL PMU: API unit is 2^-32 Joules, 0 fixed counters, 10737418240 ms ovfl timer kvm: already loaded vendor module 'kvm_intel' clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1fb63109b96, max_idle_ns: 440795265316 ns clocksource: Switched to clocksource tsc Initialise system trusted keyrings workingset: timestamp_bits=40 max_order=21 bucket_order=0 ================================================================== BUG: KASAN: use-after-free in kobject_cleanup lib/kobject.c:680 [inline] BUG: KASAN: use-after-free in kobject_release lib/kobject.c:705 [inline] BUG: KASAN: use-after-free in kref_put include/linux/kref.h:65 [inline] BUG: KASAN: use-after-free in kobject_put+0x4b2/0x500 lib/kobject.c:722 Write of size 8 at addr ffff8880191d82f8 by task swapper/0/1 CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.1.0-rc8-syzkaller-00033-g4a1ce63ef555 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:284 [inline] print_report+0x15e/0x45d mm/kasan/report.c:395 kasan_report+0xbf/0x1f0 mm/kasan/report.c:495 kobject_cleanup lib/kobject.c:680 [inline] kobject_release lib/kobject.c:705 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x4b2/0x500 lib/kobject.c:722 sysfs_slab_add+0x193/0x240 mm/slub.c:5964 slab_sysfs_init+0x80/0xef mm/slub.c:6038 do_one_initcall+0x141/0x780 init/main.c:1303 do_initcall_level init/main.c:1376 [inline] do_initcalls init/main.c:1392 [inline] do_basic_setup init/main.c:1411 [inline] kernel_init_freeable+0x6ff/0x788 init/main.c:1631 kernel_init+0x1e/0x1d0 init/main.c:1519 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Allocated by task 1: kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 __kasan_slab_alloc+0x82/0x90 mm/kasan/common.c:325 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slab.h:737 [inline] slab_alloc_node mm/slub.c:3398 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x2b4/0x3d0 mm/slub.c:3422 kmem_cache_zalloc include/linux/slab.h:679 [inline] create_cache mm/slab_common.c:218 [inline] kmem_cache_create_usercopy+0x1b5/0x300 mm/slab_common.c:335 kmem_cache_create+0x11/0x20 mm/slab_common.c:390 audit_tree_init+0x2b/0xfd kernel/audit_tree.c:1075 do_one_initcall+0x141/0x780 init/main.c:1303 do_initcall_level init/main.c:1376 [inline] do_initcalls init/main.c:1392 [inline] do_basic_setup init/main.c:1411 [inline] kernel_init_freeable+0x6ff/0x788 init/main.c:1631 kernel_init+0x1e/0x1d0 init/main.c:1519 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Freed by task 1: kasan_save_stack+0x22/0x40 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 kasan_save_free_info+0x2e/0x40 mm/kasan/generic.c:511 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x160/0x1c0 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1724 [inline] slab_free_freelist_hook+0x8b/0x1c0 mm/slub.c:1750 slab_free mm/slub.c:3661 [inline] kmem_cache_free+0xee/0x5c0 mm/slub.c:3683 kobject_cleanup lib/kobject.c:673 [inline] kobject_release lib/kobject.c:705 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1c1/0x500 lib/kobject.c:722 sysfs_slab_add+0x193/0x240 mm/slub.c:5964 slab_sysfs_init+0x80/0xef mm/slub.c:6038 do_one_initcall+0x141/0x780 init/main.c:1303 do_initcall_level init/main.c:1376 [inline] do_initcalls init/main.c:1392 [inline] do_basic_setup init/main.c:1411 [inline] kernel_init_freeable+0x6ff/0x788 init/main.c:1631 kernel_init+0x1e/0x1d0 init/main.c:1519 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 The buggy address belongs to the object at ffff8880191d8280 which belongs to the cache kmem_cache of size 224 The buggy address is located 120 bytes inside of 224-byte region [ffff8880191d8280, ffff8880191d8360) The buggy address belongs to the physical page: page:ffffea0000647600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x191d8 flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000200 0000000000000000 dead000000000122 ffff888012041000 raw: 0000000000000000 00000000800c000c 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 3152969989, free_ts 0 prep_new_page mm/page_alloc.c:2539 [inline] get_page_from_freelist+0x10b5/0x2d50 mm/page_alloc.c:4291 __alloc_pages+0x1cb/0x5b0 mm/page_alloc.c:5558 alloc_page_interleave+0x1e/0x200 mm/mempolicy.c:2118 alloc_pages+0x233/0x270 mm/mempolicy.c:2280 alloc_slab_page mm/slub.c:1794 [inline] allocate_slab+0x25f/0x350 mm/slub.c:1939 new_slab mm/slub.c:1992 [inline] ___slab_alloc+0xa91/0x1400 mm/slub.c:3180 __slab_alloc.constprop.0+0x56/0xa0 mm/slub.c:3279 slab_alloc_node mm/slub.c:3364 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc+0x31a/0x3d0 mm/slub.c:3422 kmem_cache_zalloc include/linux/slab.h:679 [inline] create_cache mm/slab_common.c:218 [inline] kmem_cache_create_usercopy+0x1b5/0x300 mm/slab_common.c:335 kmem_cache_create+0x11/0x20 mm/slab_common.c:390 init_posix_timers+0x24/0x2e kernel/time/posix-timers.c:275 do_one_initcall+0x141/0x780 init/main.c:1303 do_initcall_level init/main.c:1376 [inline] do_initcalls init/main.c:1392 [inline] do_basic_setup init/main.c:1411 [inline] kernel_init_freeable+0x6ff/0x788 init/main.c:1631 kernel_init+0x1e/0x1d0 init/main.c:1519 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 page_owner free stack trace missing Memory state around the buggy address: ffff8880191d8180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880191d8200: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880191d8280: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880191d8300: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8880191d8380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== failed to run ["ssh" "-p" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "root@10.128.1.8" "pwd"]: exit status 255 ssh: connect to host 10.128.1.8 port 22: Connection timed out Pseudo-terminal will not be allocated because stdin is not a terminal. Warning: Permanently added '[ssh-serialport.googleapis.com]:9600,[216.239.38.127]:9600' (RSA) to the list of known hosts. serialport: Connected to syzkaller.us-central1-c.ci-upstream-kasan-gce-test-job-test-job-2 port 1 (session ID: 6a092da26c270612c9cc13f6f6dc8e488c6fe1e8caf4529ece276e1ebd7912e1, active connections: 1). SeaBIOS (version 1.8.2-google) Total RAM Size = 0x0000000200000000 = 8192 MiB CPUs found: 2 Max CPUs supported: 2 SeaBIOS (version 1.8.2-google) Machine UUID 95e3dba4-1738-d84b-3fb6-cade6b981229 found virtio-scsi at 0:3 virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0 virtio-scsi blksize=512 sectors=4194304 = 2048 MiB drive 0x000f2450: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304 Sending Seabios boot VM event. Booting from Hard Disk 0... [ 0.000000][ T0] Linux version 6.1.0-rc8-syzkaller-00033-g4a1ce63ef555 (syzkaller@syzkaller) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #0 SMP PREEMPT_DYNAMIC now [ 0.000000][ T0] Command line: BOOT_IMAGE=/boot/bzImage root=/dev/sda1 console=ttyS0 [ 0.000000][ T0] KERNEL supported cpus: [ 0.000000][ T0] Intel GenuineIntel [ 0.000000][ T0] AMD AuthenticAMD [ 0.000000][ T0] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.000000][ T0] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000][ T0] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000][ T0] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000][ T0] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. [ 0.000000][ T0] signal: max sigframe size: 1776 [ 0.000000][ T0] BIOS-provided physical RAM map: [ 0.000000][ T0] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable [ 0.000000][ T0] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved [ 0.000000][ T0] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000][ T0] BIOS-e820: [mem 0x0000000000100000-0x00000000bfffcfff] usable [ 0.000000][ T0] BIOS-e820: [mem 0x00000000bfffd000-0x00000000bfffffff] reserved [ 0.000000][ T0] BIOS-e820: [mem 0x00000000fffbc000-0x00000000ffffffff] reserved [ 0.000000][ T0] BIOS-e820: [mem 0x0000000100000000-0x000000023fffffff] usable [ 0.000000][ T0] printk: bootconsole [earlyser0] enabled [ 0.000000][ T0] ERROR: earlyprintk= earlyser already used [ 0.000000][ T0] ERROR: earlyprintk= earlyser already used [ 0.000000][ T0] ********************************************************** [ 0.000000][ T0] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** [ 0.000000][ T0] ** ** [ 0.000000][ T0] ** This system shows unhashed kernel memory addresses ** [ 0.000000][ T0] ** via the console, logs, and other interfaces. This ** [ 0.000000][ T0] ** might reduce the security of your system. ** [ 0.000000][ T0] ** ** [ 0.000000][ T0] ** If you see this message and you are not debugging ** [ 0.000000][ T0] ** the kernel, report this immediately to your system ** [ 0.000000][ T0] ** administrator! ** [ 0.000000][ T0] ** ** [ 0.000000][ T0] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** [ 0.000000][ T0] ********************************************************** [ 0.000000][ T0] Malformed early option 'vsyscall' [ 0.000000][ T0] nopcid: PCID feature disabled [ 0.000000][ T0] NX (Execute Disable) protection: active [ 0.000000][ T0] SMBIOS 2.4 present. [ 0.000000][ T0] DMI: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 0.000000][ T0] Hypervisor detected: KVM [ 0.000000][ T0] kvm-clock: Using msrs 4b564d01 and 4b564d00 [ 0.000007][ T0] kvm-clock: using sched offset of 3951819854 cycles [ 0.001171][ T0] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns [ 0.005661][ T0] tsc: Detected 2199.998 MHz processor [ 0.010688][ T0] last_pfn = 0x240000 max_arch_pfn = 0x400000000 [ 0.011981][ T0] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT [ 0.013665][ T0] last_pfn = 0xbfffd max_arch_pfn = 0x400000000 [ 0.018827][ T0] found SMP MP-table at [mem 0x000f2710-0x000f271f] [ 0.020444][ T0] Using GB pages for direct mapping [ 0.022747][ T0] ACPI: Early table checksum verification disabled [ 0.024504][ T0] ACPI: RSDP 0x00000000000F2490 000014 (v00 Google) [ 0.026106][ T0] ACPI: RSDT 0x00000000BFFFFFA0 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001) [ 0.027945][ T0] ACPI: FACP 0x00000000BFFFF330 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001) [ 0.029942][ T0] ACPI: DSDT 0x00000000BFFFD8C0 001A64 (v01 Google GOOGDSDT 00000001 GOOG 00000001) [ 0.032564][ T0] ACPI: FACS 0x00000000BFFFD880 000040 [ 0.033827][ T0] ACPI: FACS 0x00000000BFFFD880 000040 [ 0.035162][ T0] ACPI: SRAT 0x00000000BFFFFE60 0000C8 (v03 Google GOOGSRAT 00000001 GOOG 00000001) [ 0.037303][ T0] ACPI: APIC 0x00000000BFFFFDB0 000076 (v05 Google GOOGAPIC 00000001 GOOG 00000001) [ 0.039556][ T0] ACPI: SSDT 0x00000000BFFFF430 000980 (v01 Google GOOGSSDT 00000001 GOOG 00000001) [ 0.041973][ T0] ACPI: WAET 0x00000000BFFFFE30 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001) [ 0.043753][ T0] ACPI: Reserving FACP table memory at [mem 0xbffff330-0xbffff423] [ 0.045655][ T0] ACPI: Reserving DSDT table memory at [mem 0xbfffd8c0-0xbffff323] [ 0.047616][ T0] ACPI: Reserving FACS table memory at [mem 0xbfffd880-0xbfffd8bf] [ 0.049117][ T0] ACPI: Reserving FACS table memory at [mem 0xbfffd880-0xbfffd8bf] [ 0.050467][ T0] ACPI: Reserving SRAT table memory at [mem 0xbffffe60-0xbfffff27] [ 0.051815][ T0] ACPI: Reserving APIC table memory at [mem 0xbffffdb0-0xbffffe25] [ 0.053985][ T0] ACPI: Reserving SSDT table memory at [mem 0xbffff430-0xbffffdaf] [ 0.056116][ T0] ACPI: Reserving WAET table memory at [mem 0xbffffe30-0xbffffe57] [ 0.058497][ T0] SRAT: PXM 0 -> APIC 0x00 -> Node 0 [ 0.059797][ T0] SRAT: PXM 0 -> APIC 0x01 -> Node 0 [ 0.060818][ T0] ACPI: SRAT: Node 0 PXM 0 [mem 0x00000000-0x0009ffff] [ 0.062279][ T0] ACPI: SRAT: Node 0 PXM 0 [mem 0x00100000-0xbfffffff] [ 0.064018][ T0] ACPI: SRAT: Node 0 PXM 0 [mem 0x100000000-0x23fffffff] [ 0.065680][ T0] NUMA: Node 0 [mem 0x00000000-0x0009ffff] + [mem 0x00100000-0xbfffffff] -> [mem 0x00000000-0xbfffffff] [ 0.068217][ T0] NUMA: Node 0 [mem 0x00000000-0xbfffffff] + [mem 0x100000000-0x23fffffff] -> [mem 0x00000000-0x23fffffff] [ 0.070777][ T0] Faking node 0 at [mem 0x0000000000000000-0x000000013fffffff] (5120MB) [ 0.072159][ T0] Faking node 1 at [mem 0x0000000140000000-0x000000023fffffff] (4096MB) [ 0.074572][ T0] NODE_DATA(0) allocated [mem 0x13fffa000-0x13fffffff] [ 0.076953][ T0] NODE_DATA(1) allocated [mem 0x23fff7000-0x23fffcfff] [ 0.106234][ T0] Zone ranges: [ 0.107324][ T0] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.108718][ T0] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.109960][ T0] Normal [mem 0x0000000100000000-0x000000023fffffff] [ 0.111102][ T0] Device empty [ 0.111960][ T0] Movable zone start for each node [ 0.112919][ T0] Early memory node ranges [ 0.113755][ T0] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.115522][ T0] node 0: [mem 0x0000000000100000-0x00000000bfffcfff] [ 0.117750][ T0] node 0: [mem 0x0000000100000000-0x000000013fffffff] [ 0.119399][ T0] node 1: [mem 0x0000000140000000-0x000000023fffffff] [ 0.121244][ T0] Initmem setup node 0 [mem 0x0000000000001000-0x000000013fffffff] [ 0.122916][ T0] Initmem setup node 1 [mem 0x0000000140000000-0x000000023fffffff] [ 0.124563][ T0] On node 0, zone DMA: 1 pages in unavailable ranges [ 0.124708][ T0] On node 0, zone DMA: 97 pages in unavailable ranges [ 0.159997][ T0] On node 0, zone Normal: 3 pages in unavailable ranges [ 0.426167][ T0] kasan: KernelAddressSanitizer initialized [ 0.429456][ T0] ACPI: PM-Timer IO Port: 0xb008 [ 0.430660][ T0] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) [ 0.432331][ T0] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 [ 0.434132][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) [ 0.436414][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.437949][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) [ 0.439592][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) [ 0.441110][ T0] ACPI: Using ACPI (MADT) for SMP configuration information [ 0.442703][ T0] smpboot: Allowing 2 CPUs, 0 hotplug CPUs [ 0.444088][ T0] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.445584][ T0] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.447353][ T0] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.448979][ T0] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.451367][ T0] PM: hibernation: Registered nosave memory: [mem 0xbfffd000-0xbfffffff] [ 0.453353][ T0] PM: hibernation: Registered nosave memory: [mem 0xc0000000-0xfffbbfff] [ 0.455370][ T0] PM: hibernation: Registered nosave memory: [mem 0xfffbc000-0xffffffff] [ 0.457143][ T0] [mem 0xc0000000-0xfffbbfff] available for PCI devices [ 0.458668][ T0] Booting paravirtualized kernel on KVM [ 0.460099][ T0] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.520902][ T0] setup_percpu: NR_CPUS:8 nr_cpumask_bits:2 nr_cpu_ids:2 nr_node_ids:2 [ 0.523132][ T0] percpu: Embedded 70 pages/cpu s248456 r8192 d30072 u1048576 [ 0.524767][ T0] kvm-guest: PV spinlocks enabled [ 0.526584][ T0] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.529146][ T0] Fallback order for Node 0: 0 1 [ 0.530765][ T0] Fallback order for Node 1: 1 0 [ 0.531826][ T0] Built 2 zonelists, mobility grouping on. Total pages: 2064125 [ 0.534038][ T0] Policy zone: Normal [ 0.535346][ T0] Kernel command line: earlyprintk=serial net.ifnames=0 sysctl.kernel.hung_task_all_cpu_backtrace=1 ima_policy=tcb nf-conntrack-ftp.ports=20000 nf-conntrack-tftp.ports=20000 nf-conntrack-sip.ports=20000 nf-conntrack-irc.ports=20000 nf-conntrack-sane.ports=20000 binder.debug_mask=0 rcupdate.rcu_expedited=1 no_hash_pointers page_owner=on sysctl.vm.nr_hugepages=4 sysctl.vm.nr_overcommit_hugepages=4 secretmem.enable=1 sysctl.max_rcu_stall_to_panic=1 msr.allow_writes=off coredump_filter=0xffff root=/dev/sda console=ttyS0 vsyscall=native numa=fake=2 kvm-intel.nested=1 spec_store_bypass_disable=prctl nopcid vivid.n_devs=16 vivid.multiplanar=1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2 netrom.nr_ndevs=16 rose.rose_ndevs=16 smp.csd_lock_timeout=100000 watchdog_thresh=55 workqueue.watchdog_thresh=140 sysctl.net.core.netdev_unregister_timeout_secs=140 dummy_hcd.num=8 panic_on_warn=1 BOOT_IMAGE=/boot/bzImage root=/dev/sda1 console=ttyS0 [ 0.566854][ T0] Unknown kernel command line parameters "spec_store_bypass_disable=prctl BOOT_IMAGE=/boot/bzImage", will be passed to user space. [ 0.571369][ T0] random: crng init done [ 0.573311][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.576653][ T0] stackdepot hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 0.579251][ T0] software IO TLB: area num 2. [ 1.331131][ T0] Memory: 6818988K/8388204K available (149535K kernel code, 36081K rwdata, 30252K rodata, 2892K init, 33832K bss, 1568960K reserved, 0K cma-reserved) [ 1.336268][ T0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=2 [ 1.340251][ T0] Dynamic Preempt: full [ 1.342122][ T0] Running RCU self tests [ 1.343086][ T0] rcu: Preemptible hierarchical RCU implementation. [ 1.344378][ T0] rcu: RCU lockdep checking is enabled. [ 1.345917][ T0] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. [ 1.347525][ T0] rcu: RCU callback double-/use-after-free debug is enabled. [ 1.349298][ T0] rcu: RCU debug extended QS entry/exit. [ 1.350872][ T0] All grace periods are expedited (rcu_expedited). [ 1.352085][ T0] Trampoline variant of Tasks RCU enabled. [ 1.354035][ T0] Tracing variant of Tasks RCU enabled. [ 1.355528][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 1.357294][ T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 1.392966][ T0] NR_IRQS: 4352, nr_irqs: 440, preallocated irqs: 16 [ 1.394914][ T0] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 1.397132][ T0] kfence: initialized - using 2097152 bytes for 255 objects at 0xffff88823bc00000-0xffff88823be00000 [ 1.400887][ T0] Console: colour VGA+ 80x25 [ 1.401872][ T0] printk: console [ttyS0] enabled [ 1.401872][ T0] printk: console [ttyS0] enabled [ 1.404742][ T0] printk: bootconsole [earlyser0] disabled [ 1.404742][ T0] printk: bootconsole [earlyser0] disabled [ 1.407406][ T0] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 1.409342][ T0] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 1.410787][ T0] ... MAX_LOCK_DEPTH: 48 [ 1.412080][ T0] ... MAX_LOCKDEP_KEYS: 8192 [ 1.413147][ T0] ... CLASSHASH_SIZE: 4096 [ 1.414432][ T0] ... MAX_LOCKDEP_ENTRIES: 131072 [ 1.415861][ T0] ... MAX_LOCKDEP_CHAINS: 262144 [ 1.417371][ T0] ... CHAINHASH_SIZE: 131072 [ 1.418808][ T0] memory used by lock dependency info: 20657 kB [ 1.420284][ T0] memory used for stack traces: 8320 kB [ 1.422133][ T0] per task-struct memory footprint: 1920 bytes [ 1.424043][ T0] mempolicy: Enabling automatic NUMA balancing. Configure with numa_balancing= or the kernel.numa_balancing sysctl [ 1.427514][ T0] ACPI: Core revision 20220331 [ 1.429639][ T0] APIC: Switch to symmetric I/O mode setup [ 1.431862][ T0] x2apic enabled [ 1.436183][ T0] Switched APIC routing to physical x2apic. [ 1.442909][ T0] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1 [ 1.444976][ T0] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x1fb63109b96, max_idle_ns: 440795265316 ns [ 1.448084][ T0] Calibrating delay loop (skipped) preset value.. 4399.99 BogoMIPS (lpj=21999980) [ 1.458137][ T0] pid_max: default: 32768 minimum: 301 [ 1.459618][ T0] LSM: Security Framework initializing [ 1.461298][ T0] landlock: Up and running. [ 1.462494][ T0] Yama: becoming mindful. [ 1.464123][ T0] TOMOYO Linux initialized [ 1.465651][ T0] AppArmor: AppArmor initialized [ 1.467036][ T0] LSM support for eBPF active [ 1.471326][ T0] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, vmalloc hugepage) [ 1.475500][ T0] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, vmalloc hugepage) [ 1.478216][ T0] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, vmalloc) [ 1.480603][ T0] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, vmalloc) [ 1.486277][ T0] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8 [ 1.488091][ T0] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4 [ 1.489814][ T0] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [ 1.491958][ T0] Spectre V2 : Mitigation: IBRS [ 1.493302][ T0] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 1.496001][ T0] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT [ 1.498085][ T0] RETBleed: Mitigation: IBRS [ 1.499884][ T0] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier [ 1.502331][ T0] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl [ 1.505476][ T0] MDS: Mitigation: Clear CPU buffers [ 1.508084][ T0] TAA: Mitigation: Clear CPU buffers [ 1.509566][ T0] MMIO Stale Data: Vulnerable: Clear CPU buffers attempted, no microcode [ 1.523497][ T0] Freeing SMP alternatives memory: 116K [ 1.645672][ T1] smpboot: CPU0: Intel(R) Xeon(R) CPU @ 2.20GHz (family: 0x6, model: 0x4f, stepping: 0x0) [ 1.648070][ T1] cblist_init_generic: Setting adjustable number of callback queues. [ 1.648070][ T1] cblist_init_generic: Setting shift to 1 and lim to 1. [ 1.648416][ T1] cblist_init_generic: Setting shift to 1 and lim to 1. [ 1.650774][ T1] Running RCU-tasks wait API self tests [ 1.758443][ T1] Performance Events: unsupported p6 CPU model 79 no PMU driver, software events only. [ 1.761634][ T1] rcu: Hierarchical SRCU implementation. [ 1.763354][ T1] rcu: Max phase no-delay instances is 1000. [ 1.768979][ T1] NMI watchdog: Perf NMI watchdog permanently disabled [ 1.772177][ T1] smp: Bringing up secondary CPUs ... [ 1.775309][ T1] x86: Booting SMP configuration: [ 1.777394][ T1] .... node #0, CPUs: #1 [ 1.779792][ T1] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details. [ 1.781708][ T1] TAA CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/tsx_async_abort.html for more details. [ 1.788143][ T1] MMIO Stale Data CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/processor_mmio_stale_data.html for more details. [ 1.793241][ T1] smp: Brought up 2 nodes, 2 CPUs [ 1.794403][ T1] smpboot: Max logical packages: 1 [ 1.795870][ T1] smpboot: Total of 2 processors activated (8799.99 BogoMIPS) [ 1.798157][ T13] Callback from call_rcu_tasks_trace() invoked. [ 1.836121][ T1] allocated 134217728 bytes of page_ext [ 1.838095][ T1] Node 0, zone DMA: page owner found early allocated 0 pages [ 1.858426][ T1] Node 0, zone DMA32: page owner found early allocated 20353 pages [ 1.872201][ T1] Node 0, zone Normal: page owner found early allocated 0 pages [ 1.887919][ T1] Node 1, zone Normal: page owner found early allocated 18929 pages [ 1.890144][ T1] devtmpfs: initialized [ 1.890192][ T1] x86/mm: Memory block size: 128MB [ 1.933538][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 1.938094][ T1] futex hash table entries: 512 (order: 4, 65536 bytes, vmalloc) [ 1.940661][ T1] PM: RTC time: 12:03:28, date: 2022-12-07 [ 1.956011][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 1.962972][ T1] audit: initializing netlink subsys (disabled) [ 1.965193][ T27] audit: type=2000 audit(1670414608.630:1): state=initialized audit_enabled=0 res=1 [ 1.970478][ T1] thermal_sys: Registered thermal governor 'step_wise' [ 1.970490][ T1] thermal_sys: Registered thermal governor 'user_space' [ 1.972390][ T1] cpuidle: using governor menu [ 1.975297][ T1] NET: Registered PF_QIPCRTR protocol family [ 1.978230][ T12] Callback from call_rcu_tasks() invoked. [ 1.982360][ T1] PCI: Using configuration type 1 for base access [ 2.171363][ T1] WARNING: workqueue cpumask: online intersect > possible intersect [ 2.179628][ T1] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 2.180886][ T1] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page [ 2.182768][ T1] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 2.185078][ T1] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page [ 2.201431][ T1] cryptd: max_cpu_qlen set to 1000 [ 2.207389][ T1] raid6: skipped pq benchmark and selected avx2x4 [ 2.208118][ T1] raid6: using avx2x2 recovery algorithm [ 2.211467][ T1] ACPI: Added _OSI(Module Device) [ 2.213299][ T1] ACPI: Added _OSI(Processor Device) [ 2.214352][ T1] ACPI: Added _OSI(3.0 _SCP Extensions) [ 2.218188][ T1] ACPI: Added _OSI(Processor Aggregator Device) [ 2.307124][ T1] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 2.364771][ T1] ACPI: Interpreter enabled [ 2.366157][ T1] ACPI: PM: (supports S0 S3 S4 S5) [ 2.367844][ T1] ACPI: Using IOAPIC for interrupt routing [ 2.368403][ T1] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 2.371138][ T1] PCI: Using E820 reservations for host bridge windows [ 2.376720][ T1] ACPI: Enabled 16 GPEs in block 00 to 0F [ 2.499788][ T1] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 2.501726][ T1] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3] [ 2.504165][ T1] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI] [ 2.506752][ T1] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge. [ 2.521196][ T1] PCI host bridge to bus 0000:00 [ 2.522862][ T1] pci_bus 0000:00: Unknown NUMA node; performance will be reduced [ 2.524838][ T1] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 2.526853][ T1] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 2.528092][ T1] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 2.531044][ T1] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfefff window] [ 2.533672][ T1] pci_bus 0000:00: root bus resource [bus 00-ff] [ 2.535873][ T1] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 [ 2.543110][ T1] pci 0000:00:01.0: [8086:7110] type 00 class 0x060100 [ 2.566225][ T1] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000 [ 2.585500][ T1] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI [ 2.591153][ T1] pci 0000:00:03.0: [1af4:1004] type 00 class 0x000000 [ 2.600633][ T1] pci 0000:00:03.0: reg 0x10: [io 0xc000-0xc03f] [ 2.607570][ T1] pci 0000:00:03.0: reg 0x14: [mem 0xfe800000-0xfe80007f] [ 2.625947][ T1] pci 0000:00:04.0: [1af4:1000] type 00 class 0x020000 [ 2.636347][ T1] pci 0000:00:04.0: reg 0x10: [io 0xc040-0xc07f] [ 2.643098][ T1] pci 0000:00:04.0: reg 0x14: [mem 0xfe801000-0xfe80107f] [ 2.664018][ T1] pci 0000:00:05.0: [1ae0:a002] type 00 class 0x030000 [ 2.674096][ T1] pci 0000:00:05.0: reg 0x10: [mem 0xfe000000-0xfe7fffff] [ 2.696722][ T1] pci 0000:00:05.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] [ 2.700987][ T1] pci 0000:00:06.0: [1af4:1002] type 00 class 0x00ff00 [ 2.711400][ T1] pci 0000:00:06.0: reg 0x10: [io 0xc080-0xc09f] [ 2.718094][ T1] pci 0000:00:06.0: reg 0x14: [mem 0xfe802000-0xfe80207f] [ 2.736847][ T1] pci 0000:00:07.0: [1af4:1005] type 00 class 0x00ff00 [ 2.744297][ T1] pci 0000:00:07.0: reg 0x10: [io 0xc0a0-0xc0bf] [ 2.751129][ T1] pci 0000:00:07.0: reg 0x14: [mem 0xfe803000-0xfe80303f] [ 2.789739][ T1] ACPI: PCI: Interrupt link LNKA configured for IRQ 10 [ 2.796343][ T1] ACPI: PCI: Interrupt link LNKB configured for IRQ 10 [ 2.803167][ T1] ACPI: PCI: Interrupt link LNKC configured for IRQ 11 [ 2.810588][ T1] ACPI: PCI: Interrupt link LNKD configured for IRQ 11 [ 2.815031][ T1] ACPI: PCI: Interrupt link LNKS configured for IRQ 9 [ 2.838128][ T1] iommu: Default domain type: Translated [ 2.839711][ T1] iommu: DMA domain TLB invalidation policy: lazy mode [ 2.844753][ T1] SCSI subsystem initialized [ 2.848092][ T1] ACPI: bus type USB registered [ 2.848569][ T1] usbcore: registered new interface driver usbfs [ 2.850692][ T1] usbcore: registered new interface driver hub [ 2.852649][ T1] usbcore: registered new device driver usb [ 2.855295][ T1] mc: Linux media interface: v0.10 [ 2.856731][ T1] videodev: Linux video capture interface: v2.00 [ 2.858703][ T1] pps_core: LinuxPPS API ver. 1 registered [ 2.860510][ T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 2.863254][ T1] PTP clock support registered [ 2.868079][ T1] EDAC MC: Ver: 3.0.0 [ 2.871384][ T1] Advanced Linux Sound Architecture Driver Initialized. [ 2.877724][ T1] Bluetooth: Core ver 2.22 [ 2.878307][ T1] NET: Registered PF_BLUETOOTH protocol family [ 2.879873][ T1] Bluetooth: HCI device and connection manager initialized [ 2.881966][ T1] Bluetooth: HCI socket layer initialized [ 2.883817][ T1] Bluetooth: L2CAP socket layer initialized [ 2.885479][ T1] Bluetooth: SCO socket layer initialized [ 2.888143][ T1] NET: Registered PF_ATMPVC protocol family [ 2.889290][ T1] NET: Registered PF_ATMSVC protocol family [ 2.891145][ T1] NetLabel: Initializing [ 2.892266][ T1] NetLabel: domain hash size = 128 [ 2.893565][ T1] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 2.895910][ T1] NetLabel: unlabeled traffic allowed by default [ 2.900927][ T1] nfc: nfc_init: NFC Core ver 0.1 [ 2.902659][ T1] NET: Registered PF_NFC protocol family [ 2.904234][ T1] PCI: Using ACPI for IRQ routing [ 2.906245][ T1] pci 0000:00:05.0: vgaarb: setting as boot VGA device [ 2.907898][ T1] pci 0000:00:05.0: vgaarb: bridge control possible [ 2.908070][ T1] pci 0000:00:05.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none [ 2.908098][ T1] vgaarb: loaded [ 2.921577][ T1] clocksource: Switched to clocksource kvm-clock [ 2.928070][ T1] VFS: Disk quotas dquot_6.6.0 [ 2.929718][ T1] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 2.932269][ T1] FS-Cache: Loaded [ 2.934750][ T1] CacheFiles: Loaded [ 2.936786][ T1] TOMOYO: 2.6.0 [ 2.938162][ T1] Mandatory Access Control activated. [ 2.942636][ T1] AppArmor: AppArmor Filesystem Enabled [ 2.944036][ T1] pnp: PnP ACPI init [ 2.961863][ T1] pnp: PnP ACPI: found 7 devices [ 3.004811][ T1] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 3.007616][ T1] NET: Registered PF_INET protocol family [ 3.011639][ T1] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, vmalloc) [ 3.024138][ T1] tcp_listen_portaddr_hash hash table entries: 4096 (order: 6, 294912 bytes, vmalloc) [ 3.026827][ T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, vmalloc) [ 3.030533][ T1] TCP established hash table entries: 65536 (order: 7, 524288 bytes, vmalloc) [ 3.040588][ T1] TCP bind hash table entries: 65536 (order: 11, 9437184 bytes, vmalloc hugepage) [ 3.052877][ T1] TCP: Hash tables configured (established 65536 bind 65536) [ 3.057249][ T1] MPTCP token hash table entries: 8192 (order: 7, 720896 bytes, vmalloc) [ 3.061457][ T1] UDP hash table entries: 4096 (order: 7, 655360 bytes, vmalloc) [ 3.065223][ T1] UDP-Lite hash table entries: 4096 (order: 7, 655360 bytes, vmalloc) [ 3.068151][ T1] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 3.071503][ T1] RPC: Registered named UNIX socket transport module. [ 3.072851][ T1] RPC: Registered udp transport module. [ 3.073772][ T1] RPC: Registered tcp transport module. [ 3.074576][ T1] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.078499][ T1] NET: Registered PF_XDP protocol family [ 3.079552][ T1] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 3.080917][ T1] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 3.082081][ T1] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 3.083617][ T1] pci_bus 0000:00: resource 7 [mem 0xc0000000-0xfebfefff window] [ 3.086269][ T1] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 3.087666][ T1] PCI: CLS 0 bytes, default 64 [ 3.088770][ T1] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 3.089922][ T1] software IO TLB: mapped [mem 0x00000000b5a00000-0x00000000b9a00000] (64MB) [ 3.091420][ T1] ACPI: bus type thunderbolt registered [ 3.100311][ T1] RAPL PMU: API unit is 2^-32 Joules, 0 fixed counters, 10737418240 ms ovfl timer [ 3.101624][ T58] kworker/u4:1 (58) used greatest stack depth: 27936 bytes left [ 3.121066][ T1] kvm: already loaded vendor module 'kvm_intel' [ 3.122083][ T1] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1fb63109b96, max_idle_ns: 440795265316 ns [ 3.124185][ T1] clocksource: Switched to clocksource tsc [ 6.168206][ T1] Initialise system trusted keyrings [ 6.172340][ T1] workingset: timestamp_bits=40 max_order=21 bucket_order=0 [ 6.174401][ T1] ================================================================== [ 6.175763][ T1] BUG: KASAN: use-after-free in kobject_put+0x4b2/0x500 [ 6.176880][ T1] Write of size 8 at addr ffff8880191d82f8 by task swapper/0/1 [ 6.178099][ T1] [ 6.178099][ T1] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.1.0-rc8-syzkaller-00033-g4a1ce63ef555 #0 [ 6.178099][ T1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 6.178099][ T1] Call Trace: [ 6.178099][ T1] [ 6.178099][ T1] dump_stack_lvl+0xd1/0x138 [ 6.178099][ T1] print_report+0x15e/0x45d [ 6.178099][ T1] ? __phys_addr+0xc8/0x140 [ 6.178099][ T1] ? kobject_put+0x4b2/0x500 [ 6.178099][ T1] kasan_report+0xbf/0x1f0 [ 6.178099][ T1] ? kobject_put+0x4b2/0x500 [ 6.178099][ T1] kobject_put+0x4b2/0x500 [ 6.178099][ T1] sysfs_slab_add+0x193/0x240 [ 6.178099][ T1] ? slab_debugfs_init+0x4d/0x4d [ 6.178099][ T1] slab_sysfs_init+0x80/0xef [ 6.178099][ T1] do_one_initcall+0x141/0x780 [ 6.178099][ T1] ? trace_event_raw_event_initcall_level+0x200/0x200 [ 6.178099][ T1] ? parameq+0xc0/0x170 [ 6.178099][ T1] kernel_init_freeable+0x6ff/0x788 [ 6.178099][ T1] ? rest_init+0x270/0x270 [ 6.178099][ T1] kernel_init+0x1e/0x1d0 [ 6.178099][ T1] ? rest_init+0x270/0x270 [ 6.178099][ T1] ret_from_fork+0x1f/0x30 [ 6.178099][ T1] [ 6.178099][ T1] [ 6.178099][ T1] Allocated by task 1: [ 6.178099][ T1] kasan_save_stack+0x22/0x40 [ 6.178099][ T1] kasan_set_track+0x25/0x30 [ 6.178099][ T1] __kasan_slab_alloc+0x82/0x90 [ 6.178099][ T1] kmem_cache_alloc+0x2b4/0x3d0 [ 6.178099][ T1] kmem_cache_create_usercopy+0x1b5/0x300 [ 6.178099][ T1] kmem_cache_create+0x11/0x20 [ 6.178099][ T1] audit_tree_init+0x2b/0xfd [ 6.178099][ T1] do_one_initcall+0x141/0x780 [ 6.178099][ T1] kernel_init_freeable+0x6ff/0x788 [ 6.178099][ T1] kernel_init+0x1e/0x1d0 [ 6.178099][ T1] ret_from_fork+0x1f/0x30 [ 6.178099][ T1] [ 6.178099][ T1] Freed by task 1: [ 6.178099][ T1] kasan_save_stack+0x22/0x40 [ 6.178099][ T1] kasan_set_track+0x25/0x30 [ 6.178099][ T1] kasan_save_free_info+0x2e/0x40 [ 6.178099][ T1] ____kasan_slab_free+0x160/0x1c0 [ 6.178099][ T1] slab_free_freelist_hook+0x8b/0x1c0 [ 6.178099][ T1] kmem_cache_free+0xee/0x5c0 [ 6.178099][ T1] kobject_put+0x1c1/0x500 [ 6.178099][ T1] sysfs_slab_add+0x193/0x240 [ 6.178099][ T1] slab_sysfs_init+0x80/0xef [ 6.178099][ T1] do_one_initcall+0x141/0x780 [ 6.178099][ T1] kernel_init_freeable+0x6ff/0x788 [ 6.178099][ T1] kernel_init+0x1e/0x1d0 [ 6.178099][ T1] ret_from_fork+0x1f/0x30 [ 6.178099][ T1] [ 6.178099][ T1] The buggy address belongs to the object at ffff8880191d8280 [ 6.178099][ T1] which belongs to the cache kmem_cache of size 224 [ 6.178099][ T1] The buggy address is located 120 bytes inside of [ 6.178099][ T1] 224-byte region [ffff8880191d8280, ffff8880191d8360) [ 6.178099][ T1] [ 6.178099][ T1] The buggy address belongs to the physical page: [ 6.178099][ T1] page:ffffea0000647600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x191d8 [ 6.178099][ T1] flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) [ 6.178099][ T1] raw: 00fff00000000200 0000000000000000 dead000000000122 ffff888012041000 [ 6.178099][ T1] raw: 0000000000000000 00000000800c000c 00000001ffffffff 0000000000000000 [ 6.178099][ T1] page dumped because: kasan: bad access detected [ 6.178099][ T1] page_owner tracks the page as allocated [ 6.178099][ T1] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, tgid 1 (swapper/0), ts 3152969989, free_ts 0 [ 6.178099][ T1] get_page_from_freelist+0x10b5/0x2d50 [ 6.178099][ T1] __alloc_pages+0x1cb/0x5b0 [ 6.178099][ T1] alloc_page_interleave+0x1e/0x200 [ 6.178099][ T1] alloc_pages+0x233/0x270 [ 6.178099][ T1] allocate_slab+0x25f/0x350 [ 6.178099][ T1] ___slab_alloc+0xa91/0x1400 [ 6.178099][ T1] __slab_alloc.constprop.0+0x56/0xa0 [ 6.178099][ T1] kmem_cache_alloc+0x31a/0x3d0 [ 6.178099][ T1] kmem_cache_create_usercopy+0x1b5/0x300 [ 6.178099][ T1] kmem_cache_create+0x11/0x20 [ 6.178099][ T1] init_posix_timers+0x24/0x2e [ 6.178099][ T1] do_one_initcall+0x141/0x780 [ 6.178099][ T1] kernel_init_freeable+0x6ff/0x788 [ 6.178099][ T1] kernel_init+0x1e/0x1d0 [ 6.178099][ T1] ret_from_fork+0x1f/0x30 [ 6.178099][ T1] page_owner free stack trace missing [ 6.178099][ T1] [ 6.178099][ T1] Memory state around the buggy address: [ 6.178099][ T1] ffff8880191d8180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 6.178099][ T1] ffff8880191d8200: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc [ 6.178099][ T1] >ffff8880191d8280: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 6.178099][ T1] ^ [ 6.178099][ T1] ffff8880191d8300: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 6.178099][ T1] ffff8880191d8380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 6.178099][ T1] ================================================================== [ 6.257903][ T1] Kernel panic - not syncing: panic_on_warn set ... [ 6.259363][ T1] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.1.0-rc8-syzkaller-00033-g4a1ce63ef555 #0 [ 6.261178][ T1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 6.262840][ T1] Call Trace: [ 6.263437][ T1] [ 6.263889][ T1] dump_stack_lvl+0xd1/0x138 [ 6.264537][ T1] panic+0x2cc/0x626 [ 6.265129][ T1] ? panic_print_sys_info.part.0+0x110/0x110 [ 6.266023][ T1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 6.266964][ T1] end_report.part.0+0x3f/0x7c [ 6.267684][ T1] ? kobject_put+0x4b2/0x500 [ 6.267848][ T1] kasan_report.cold+0xa/0xf [ 6.267848][ T1] ? kobject_put+0x4b2/0x500 [ 6.267848][ T1] kobject_put+0x4b2/0x500 [ 6.267848][ T1] sysfs_slab_add+0x193/0x240 [ 6.267848][ T1] ? slab_debugfs_init+0x4d/0x4d [ 6.267848][ T1] slab_sysfs_init+0x80/0xef [ 6.267848][ T1] do_one_initcall+0x141/0x780 [ 6.267848][ T1] ? trace_event_raw_event_initcall_level+0x200/0x200 [ 6.267848][ T1] ? parameq+0xc0/0x170 [ 6.267848][ T1] kernel_init_freeable+0x6ff/0x788 [ 6.267848][ T1] ? rest_init+0x270/0x270 [ 6.267848][ T1] kernel_init+0x1e/0x1d0 [ 6.267848][ T1] ? rest_init+0x270/0x270 [ 6.267848][ T1] ret_from_fork+0x1f/0x30 [ 6.267848][ T1] [ 6.267848][ T1] Kernel Offset: disabled [ 6.267848][ T1] Rebooting in 86400 seconds.. syzkaller build log: go env (err=) GO111MODULE="auto" GOARCH="amd64" GOBIN="" GOCACHE="/syzkaller/.cache/go-build" GOENV="/syzkaller/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/syzkaller/jobs/linux/gopath/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/syzkaller/jobs/linux/gopath" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" GOVCS="" GOVERSION="go1.17" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2610307575=/tmp/go-build -gno-record-gcc-switches" git status (err=) HEAD detached at e080de167 nothing to commit, working tree clean tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified Makefile:32: run command via tools/syz-env for best compatibility, see: Makefile:33: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen make .descriptions tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified bin/syz-sysgen touch .descriptions GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=e080de16713b9dbf308cdd7bcb85b58293e46e33 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20221201-143729'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=e080de16713b9dbf308cdd7bcb85b58293e46e33 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20221201-143729'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=e080de16713b9dbf308cdd7bcb85b58293e46e33 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20221201-143729'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress mkdir -p ./bin/linux_amd64 gcc -o ./bin/linux_amd64/syz-executor executor/executor.cc \ -m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -static-pie -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \ -DHOSTGOOS_linux=1 -DGIT_REVISION=\"e080de16713b9dbf308cdd7bcb85b58293e46e33\"