KASAN: slab-out-of-bounds Read in _find_next_bit
==================================================================
BUG: KASAN: slab-out-of-bounds in _find_next_bit+0x122/0x140 lib/find_bit.c:109
Read of size 8 at addr ffff8880173d47b8 by task kworker/1:1/26
CPU: 1 PID: 26 Comm: kworker/1:1 Not tainted 6.0.0-rc4-next-20220908-syzkaller-06577-g47c191411b68 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Workqueue: events pcpu_balance_workfn
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
print_address_description mm/kasan/report.c:287 [inline]
print_report+0x164/0x463 mm/kasan/report.c:398
kasan_report+0xbb/0x1f0 mm/kasan/report.c:486
_find_next_bit+0x122/0x140 lib/find_bit.c:109
find_next_bit include/linux/find.h:55 [inline]
pcpu_balance_populated mm/percpu.c:2086 [inline]
pcpu_balance_workfn+0x6c0/0xea0 mm/percpu.c:2246
process_one_work+0x991/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e4/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Allocated by task 26:
kasan_save_stack+0x1e/0x40 mm/kasan/common.c:45
kasan_set_track+0x21/0x30 mm/kasan/common.c:52
____kasan_kmalloc mm/kasan/common.c:371 [inline]
____kasan_kmalloc mm/kasan/common.c:330 [inline]
__kasan_kmalloc+0xa1/0xb0 mm/kasan/common.c:380
kasan_kmalloc include/linux/kasan.h:211 [inline]
__do_kmalloc_node mm/slab_common.c:931 [inline]
__kmalloc+0x54/0xc0 mm/slab_common.c:944
kmalloc include/linux/slab.h:564 [inline]
kzalloc include/linux/slab.h:695 [inline]
pcpu_mem_zalloc+0x70/0xa0 mm/percpu.c:514
pcpu_alloc_chunk mm/percpu.c:1446 [inline]
pcpu_create_chunk+0x23/0x930 mm/percpu-vm.c:338
pcpu_balance_populated mm/percpu.c:2108 [inline]
pcpu_balance_workfn+0xc4e/0xea0 mm/percpu.c:2246
process_one_work+0x991/0x1610 kernel/workqueue.c:2289
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e4/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
The buggy address belongs to the object at ffff8880173d4700
which belongs to the cache kmalloc-192 of size 192
The buggy address is located 184 bytes inside of
192-byte region [ffff8880173d4700, ffff8880173d47c0)
The buggy address belongs to the physical page:
page:ffffea00005cf500 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x173d4
flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000200 0000000000000000 dead000000000122 ffff888011841a00
raw: 0000000000000000 0000000080100010 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 2116701351, free_ts 0
prep_new_page mm/page_alloc.c:2541 [inline]
get_page_from_freelist+0x109b/0x2ce0 mm/page_alloc.c:4291
__alloc_pages+0x1c7/0x510 mm/page_alloc.c:5549
alloc_page_interleave+0x1e/0x200 mm/mempolicy.c:2113
alloc_pages+0x22f/0x270 mm/mempolicy.c:2275
alloc_slab_page mm/slub.c:1734 [inline]
allocate_slab+0x213/0x300 mm/slub.c:1879
new_slab mm/slub.c:1932 [inline]
___slab_alloc+0xad0/0x1440 mm/slub.c:3113
__slab_alloc.constprop.0+0x4d/0xa0 mm/slub.c:3211
slab_alloc_node mm/slub.c:3296 [inline]
__kmem_cache_alloc_node+0x18a/0x3d0 mm/slub.c:3369
kmalloc_trace+0x22/0x60 mm/slab_common.c:1011
kmalloc include/linux/slab.h:559 [inline]
kzalloc include/linux/slab.h:695 [inline]
call_usermodehelper_setup+0x97/0x340 kernel/umh.c:365
kobject_uevent_env+0xee6/0x1640 lib/kobject_uevent.c:614
kernel_add_sysfs_param kernel/params.c:816 [inline]
param_sysfs_builtin kernel/params.c:851 [inline]
param_sysfs_init+0x367/0x43b kernel/params.c:970
do_one_initcall+0xfe/0x650 init/main.c:1307
do_initcall_level init/main.c:1382 [inline]
do_initcalls init/main.c:1398 [inline]
do_basic_setup init/main.c:1417 [inline]
kernel_init_freeable+0x6ff/0x788 init/main.c:1637
kernel_init+0x1a/0x1d0 init/main.c:1525
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
page_owner free stack trace missing
Memory state around the buggy address:
ffff8880173d4680: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
ffff8880173d4700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff8880173d4780: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc
^
ffff8880173d4800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff8880173d4880: 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.10.53" "pwd"]: exit status 255
ssh: connect to host 10.128.10.53 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-linux-next-kasan-gce-root-test-job-test-job-0 port 1 (session ID: 5311967fa652db2978352b41c221194944443c383911544695fdc122af4b0380, 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 2c1aeb5c-fae9-3144-b3e6-f8e1a393cc31
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 0x000f2490: 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.0.0-rc4-next-20220908-syzkaller-06577-g47c191411b68 (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 08/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 3615578885 cycles
[ 0.000791][ T0] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.003180][ T0] tsc: Detected 2200.196 MHz processor
[ 0.008235][ T0] last_pfn = 0x240000 max_arch_pfn = 0x400000000
[ 0.009195][ T0] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.010223][ T0] last_pfn = 0xbfffd max_arch_pfn = 0x400000000
[ 0.017605][ T0] found SMP MP-table at [mem 0x000f2750-0x000f275f]
[ 0.018504][ T0] Using GB pages for direct mapping
[ 0.020808][ T0] ACPI: Early table checksum verification disabled
[ 0.021736][ T0] ACPI: RSDP 0x00000000000F24D0 000014 (v00 Google)
[ 0.022609][ T0] ACPI: RSDT 0x00000000BFFFFFA0 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001)
[ 0.023851][ T0] ACPI: FACP 0x00000000BFFFF330 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001)
[ 0.025084][ T0] ACPI: DSDT 0x00000000BFFFD8C0 001A64 (v01 Google GOOGDSDT 00000001 GOOG 00000001)
[ 0.026308][ T0] ACPI: FACS 0x00000000BFFFD880 000040
[ 0.027027][ T0] ACPI: FACS 0x00000000BFFFD880 000040
[ 0.027748][ T0] ACPI: SRAT 0x00000000BFFFFE60 0000C8 (v03 Google GOOGSRAT 00000001 GOOG 00000001)
[ 0.028973][ T0] ACPI: APIC 0x00000000BFFFFDB0 000076 (v05 Google GOOGAPIC 00000001 GOOG 00000001)
[ 0.030199][ T0] ACPI: SSDT 0x00000000BFFFF430 000980 (v01 Google GOOGSSDT 00000001 GOOG 00000001)
[ 0.031424][ T0] ACPI: WAET 0x00000000BFFFFE30 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001)
[ 0.032646][ T0] ACPI: Reserving FACP table memory at [mem 0xbffff330-0xbffff423]
[ 0.033666][ T0] ACPI: Reserving DSDT table memory at [mem 0xbfffd8c0-0xbffff323]
[ 0.034681][ T0] ACPI: Reserving FACS table memory at [mem 0xbfffd880-0xbfffd8bf]
[ 0.035696][ T0] ACPI: Reserving FACS table memory at [mem 0xbfffd880-0xbfffd8bf]
[ 0.036713][ T0] ACPI: Reserving SRAT table memory at [mem 0xbffffe60-0xbfffff27]
[ 0.037729][ T0] ACPI: Reserving APIC table memory at [mem 0xbffffdb0-0xbffffe25]
[ 0.038745][ T0] ACPI: Reserving SSDT table memory at [mem 0xbffff430-0xbffffdaf]
[ 0.039779][ T0] ACPI: Reserving WAET table memory at [mem 0xbffffe30-0xbffffe57]
[ 0.041479][ T0] SRAT: PXM 0 -> APIC 0x00 -> Node 0
[ 0.042214][ T0] SRAT: PXM 0 -> APIC 0x01 -> Node 0
[ 0.042900][ T0] ACPI: SRAT: Node 0 PXM 0 [mem 0x00000000-0x0009ffff]
[ 0.043846][ T0] ACPI: SRAT: Node 0 PXM 0 [mem 0x00100000-0xbfffffff]
[ 0.044755][ T0] ACPI: SRAT: Node 0 PXM 0 [mem 0x100000000-0x23fffffff]
[ 0.045666][ T0] NUMA: Node 0 [mem 0x00000000-0x0009ffff] + [mem 0x00100000-0xbfffffff] -> [mem 0x00000000-0xbfffffff]
[ 0.047101][ T0] NUMA: Node 0 [mem 0x00000000-0xbfffffff] + [mem 0x100000000-0x23fffffff] -> [mem 0x00000000-0x23fffffff]
[ 0.048681][ T0] Faking node 0 at [mem 0x0000000000000000-0x000000013fffffff] (5120MB)
[ 0.049771][ T0] Faking node 1 at [mem 0x0000000140000000-0x000000023fffffff] (4096MB)
[ 0.051388][ T0] NODE_DATA(0) allocated [mem 0x13fffa000-0x13fffffff]
[ 0.052716][ T0] NODE_DATA(1) allocated [mem 0x23fff7000-0x23fffcfff]
[ 0.090253][ T0] Zone ranges:
[ 0.090748][ T0] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.091667][ T0] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.092613][ T0] Normal [mem 0x0000000100000000-0x000000023fffffff]
[ 0.093545][ T0] Device empty
[ 0.094029][ T0] Movable zone start for each node
[ 0.094706][ T0] Early memory node ranges
[ 0.095271][ T0] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.096228][ T0] node 0: [mem 0x0000000000100000-0x00000000bfffcfff]
[ 0.097349][ T0] node 0: [mem 0x0000000100000000-0x000000013fffffff]
[ 0.098331][ T0] node 1: [mem 0x0000000140000000-0x000000023fffffff]
[ 0.099271][ T0] Initmem setup node 0 [mem 0x0000000000001000-0x000000013fffffff]
[ 0.100309][ T0] Initmem setup node 1 [mem 0x0000000140000000-0x000000023fffffff]
[ 0.101336][ T0] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.101497][ T0] On node 0, zone DMA: 97 pages in unavailable ranges
[ 0.141303][ T0] On node 0, zone Normal: 3 pages in unavailable ranges
[ 0.485675][ T0] kasan: KernelAddressSanitizer initialized
[ 0.488063][ T0] ACPI: PM-Timer IO Port: 0xb008
[ 0.488774][ T0] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 0.489785][ T0] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[ 0.490835][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 0.491817][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.492796][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 0.493780][ T0] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 0.494855][ T0] ACPI: Using ACPI (MADT) for SMP configuration information
[ 0.495795][ T0] smpboot: Allowing 2 CPUs, 0 hotplug CPUs
[ 0.496742][ T0] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.497861][ T0] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[ 0.499066][ T0] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000effff]
[ 0.500172][ T0] PM: hibernation: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[ 0.501304][ T0] PM: hibernation: Registered nosave memory: [mem 0xbfffd000-0xbfffffff]
[ 0.502472][ T0] PM: hibernation: Registered nosave memory: [mem 0xc0000000-0xfffbbfff]
[ 0.503703][ T0] PM: hibernation: Registered nosave memory: [mem 0xfffbc000-0xffffffff]
[ 0.504829][ T0] [mem 0xc0000000-0xfffbbfff] available for PCI devices
[ 0.505744][ T0] Booting paravirtualized kernel on KVM
[ 0.506487][ T0] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.575481][ T0] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:2
[ 0.577346][ T0] percpu: Embedded 69 pages/cpu s243912 r8192 d30520 u1048576
[ 0.578597][ T0] kvm-guest: PV spinlocks enabled
[ 0.579307][ T0] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.580418][ T0] Fallback order for Node 0: 0 1
[ 0.581119][ T0] Fallback order for Node 1: 1 0
[ 0.581954][ T0] Built 2 zonelists, mobility grouping on. Total pages: 2064125
[ 0.582959][ T0] Policy zone: Normal
[ 0.583474][ 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 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.598870][ T0] Unknown kernel command line parameters "spec_store_bypass_disable=prctl BOOT_IMAGE=/boot/bzImage", will be passed to user space.
[ 0.601410][ T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.604844][ T0] stackdepot hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 0.606017][ T0] software IO TLB: area num 2.
[ 1.365789][ T0] Memory: 6828212K/8388204K available (143390K kernel code, 34947K rwdata, 30444K rodata, 2732K init, 33796K bss, 1559736K reserved, 0K cma-reserved)
[ 1.369056][ T0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=2
[ 1.372032][ T0] Dynamic Preempt: full
[ 1.373323][ T0] Running RCU self tests
[ 1.373891][ T0] rcu: Preemptible hierarchical RCU implementation.
[ 1.374770][ T0] rcu: RCU lockdep checking is enabled.
[ 1.375494][ T0] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[ 1.376471][ T0] rcu: RCU callback double-/use-after-free debug is enabled.
[ 1.379311][ T0] rcu: RCU debug extended QS entry/exit.
[ 1.380045][ T0] All grace periods are expedited (rcu_expedited).
[ 1.380891][ T0] Trampoline variant of Tasks RCU enabled.
[ 1.381668][ T0] Tracing variant of Tasks RCU enabled.
[ 1.382390][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 1.383491][ T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 1.423870][ T0] NR_IRQS: 4352, nr_irqs: 440, preallocated irqs: 16
[ 1.425342][ T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 1.426850][ T0] kfence: initialized - using 2097152 bytes for 255 objects at 0xffff88823bc00000-0xffff88823be00000
[ 1.428328][ T0] random: crng init done
[ 1.429947][ T0] Console: colour VGA+ 80x25
[ 1.430683][ T0] printk: console [ttyS0] enabled
[ 1.430683][ T0] printk: console [ttyS0] enabled
[ 1.432132][ T0] printk: bootconsole [earlyser0] disabled
[ 1.432132][ T0] printk: bootconsole [earlyser0] disabled
[ 1.433764][ T0] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 1.434922][ T0] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 1.435634][ T0] ... MAX_LOCK_DEPTH: 48
[ 1.436312][ T0] ... MAX_LOCKDEP_KEYS: 8192
[ 1.437013][ T0] ... CLASSHASH_SIZE: 4096
[ 1.437767][ T0] ... MAX_LOCKDEP_ENTRIES: 131072
[ 1.438513][ T0] ... MAX_LOCKDEP_CHAINS: 262144
[ 1.439281][ T0] ... CHAINHASH_SIZE: 131072
[ 1.440143][ T0] memory used by lock dependency info: 20657 kB
[ 1.441006][ T0] memory used for stack traces: 8320 kB
[ 1.441800][ T0] per task-struct memory footprint: 1920 bytes
[ 1.442770][ T0] mempolicy: Enabling automatic NUMA balancing. Configure with numa_balancing= or the kernel.numa_balancing sysctl
[ 1.444494][ T0] ACPI: Core revision 20220331
[ 1.445857][ T0] APIC: Switch to symmetric I/O mode setup
[ 1.451936][ T0] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1
[ 1.453204][ T0] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x1fb6ebe4598, max_idle_ns: 440795211488 ns
[ 1.454751][ T0] Calibrating delay loop (skipped) preset value.. 4400.39 BogoMIPS (lpj=22001960)
[ 1.464754][ T0] pid_max: default: 32768 minimum: 301
[ 1.465815][ T0] LSM: Security Framework initializing
[ 1.466666][ T0] landlock: Up and running.
[ 1.467320][ T0] Yama: becoming mindful.
[ 1.468035][ T0] TOMOYO Linux initialized
[ 1.468863][ T0] AppArmor: AppArmor initialized
[ 1.469551][ T0] LSM support for eBPF active
[ 1.473931][ T0] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, vmalloc hugepage)
[ 1.476486][ T0] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, vmalloc hugepage)
[ 1.477983][ T0] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, vmalloc)
[ 1.479242][ T0] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, vmalloc)
[ 1.483696][ T0] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
[ 1.485631][ T0] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
[ 1.486603][ T0] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 1.487901][ T0] Spectre V2 : Mitigation: IBRS
[ 1.488568][ T0] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 1.489786][ T0] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[ 1.490849][ T0] RETBleed: Mitigation: IBRS
[ 1.491513][ T0] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[ 1.492803][ T0] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl
[ 1.494168][ T0] MDS: Mitigation: Clear CPU buffers
[ 1.494747][ T0] TAA: Mitigation: Clear CPU buffers
[ 1.495482][ T0] MMIO Stale Data: Vulnerable: Clear CPU buffers attempted, no microcode
[ 1.498893][ T0] Freeing SMP alternatives memory: 112K
[ 1.620567][ T1] smpboot: CPU0: Intel(R) Xeon(R) CPU @ 2.20GHz (family: 0x6, model: 0x4f, stepping: 0x0)
[ 1.623906][ T1] cblist_init_generic: Setting adjustable number of callback queues.
[ 1.624740][ T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[ 1.624740][ T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[ 1.624740][ T1] Running RCU-tasks wait API self tests
[ 1.725227][ T1] Performance Events: unsupported p6 CPU model 79 no PMU driver, software events only.
[ 1.727369][ T1] rcu: Hierarchical SRCU implementation.
[ 1.728238][ T1] rcu: Max phase no-delay instances is 1000.
[ 1.732965][ T1] NMI watchdog: Perf NMI watchdog permanently disabled
[ 1.734545][ T1] smp: Bringing up secondary CPUs ...
[ 1.736202][ T1] x86: Booting SMP configuration:
[ 1.736949][ T1] .... node #0, CPUs: #1
[ 1.738878][ 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.738878][ 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.738938][ 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.744997][ T1] smp: Brought up 2 nodes, 2 CPUs
[ 1.745761][ T1] smpboot: Max logical packages: 1
[ 1.746474][ T1] smpboot: Total of 2 processors activated (8800.78 BogoMIPS)
[ 1.764838][ T13] Callback from call_rcu_tasks_trace() invoked.
[ 1.785508][ T1] allocated 134217728 bytes of page_ext
[ 1.786582][ T1] Node 0, zone DMA: page owner found early allocated 0 pages
[ 1.806373][ T1] Node 0, zone DMA32: page owner found early allocated 19072 pages
[ 1.820624][ T1] Node 0, zone Normal: page owner found early allocated 228 pages
[ 1.836398][ T1] Node 1, zone Normal: page owner found early allocated 18985 pages
[ 1.839199][ T1] devtmpfs: initialized
[ 1.844757][ T1] x86/mm: Memory block size: 128MB
[ 1.879940][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 1.884753][ T1] futex hash table entries: 512 (order: 4, 65536 bytes, vmalloc)
[ 1.885878][ T1] PM: RTC time: 20:28:30, date: 2022-09-08
[ 1.901157][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 1.908245][ T1] audit: initializing netlink subsys (disabled)
[ 1.909535][ T27] audit: type=2000 audit(1662668910.160:1): state=initialized audit_enabled=0 res=1
[ 1.909535][ T1] thermal_sys: Registered thermal governor 'step_wise'
[ 1.909535][ T1] thermal_sys: Registered thermal governor 'user_space'
[ 1.909535][ T1] cpuidle: using governor menu
[ 1.915501][ T1] NET: Registered PF_QIPCRTR protocol family
[ 1.922494][ T1] PCI: Using configuration type 1 for base access
[ 1.945236][ T12] Callback from call_rcu_tasks() invoked.
[ 2.117539][ T1] WARNING: workqueue cpumask: online intersect > possible intersect
[ 2.124756][ T1] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 2.124756][ T1] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page
[ 2.124756][ T1] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 2.124756][ T1] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 2.138305][ T26] ==================================================================
[ 2.139644][ T26] BUG: KASAN: slab-out-of-bounds in _find_next_bit+0x122/0x140
[ 2.144803][ T26] Read of size 8 at addr ffff8880173d47b8 by task kworker/1:1/26
[ 2.144803][ T26]
[ 2.144803][ T26] CPU: 1 PID: 26 Comm: kworker/1:1 Not tainted 6.0.0-rc4-next-20220908-syzkaller-06577-g47c191411b68 #0
[ 2.144803][ T26] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
[ 2.144803][ T26] Workqueue: events pcpu_balance_workfn
[ 2.144803][ T26] Call Trace:
[ 2.144803][ T26]
[ 2.144803][ T26] dump_stack_lvl+0xcd/0x134
[ 2.144803][ T26] print_report+0x164/0x463
[ 2.144803][ T26] ? __phys_addr+0xc4/0x140
[ 2.144803][ T26] ? _find_next_bit+0x122/0x140
[ 2.144803][ T26] kasan_report+0xbb/0x1f0
[ 2.144803][ T26] ? _find_next_bit+0x122/0x140
[ 2.144803][ T26] _find_next_bit+0x122/0x140
[ 2.144803][ T26] pcpu_balance_workfn+0x6c0/0xea0
[ 2.144803][ T26] process_one_work+0x991/0x1610
[ 2.144803][ T26] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 2.144803][ T26] ? rwlock_bug.part.0+0x90/0x90
[ 2.144803][ T26] ? _raw_spin_lock_irq+0x41/0x50
[ 2.144803][ T26] worker_thread+0x665/0x1080
[ 2.144803][ T26] ? __kthread_parkme+0x15f/0x220
[ 2.144803][ T26] ? process_one_work+0x1610/0x1610
[ 2.144803][ T26] kthread+0x2e4/0x3a0
[ 2.144803][ T26] ? kthread_complete_and_exit+0x40/0x40
[ 2.164850][ T26] ret_from_fork+0x1f/0x30
[ 2.164850][ T26]
[ 2.164850][ T26]
[ 2.164850][ T26] Allocated by task 26:
[ 2.164850][ T26] kasan_save_stack+0x1e/0x40
[ 2.164850][ T26] kasan_set_track+0x21/0x30
[ 2.164850][ T26] __kasan_kmalloc+0xa1/0xb0
[ 2.164850][ T26] __kmalloc+0x54/0xc0
[ 2.164850][ T26] pcpu_mem_zalloc+0x70/0xa0
[ 2.164850][ T26] pcpu_create_chunk+0x23/0x930
[ 2.164850][ T26] pcpu_balance_workfn+0xc4e/0xea0
[ 2.164850][ T26] process_one_work+0x991/0x1610
[ 2.164850][ T26] worker_thread+0x665/0x1080
[ 2.164850][ T26] kthread+0x2e4/0x3a0
[ 2.175109][ T26] ret_from_fork+0x1f/0x30
[ 2.175109][ T26]
[ 2.175109][ T26] The buggy address belongs to the object at ffff8880173d4700
[ 2.175109][ T26] which belongs to the cache kmalloc-192 of size 192
[ 2.175109][ T26] The buggy address is located 184 bytes inside of
[ 2.175109][ T26] 192-byte region [ffff8880173d4700, ffff8880173d47c0)
[ 2.175109][ T26]
[ 2.175109][ T26] The buggy address belongs to the physical page:
[ 2.175109][ T26] page:ffffea00005cf500 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x173d4
[ 2.175109][ T26] flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff)
[ 2.175109][ T26] raw: 00fff00000000200 0000000000000000 dead000000000122 ffff888011841a00
[ 2.175109][ T26] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000
[ 2.175109][ T26] page dumped because: kasan: bad access detected
[ 2.175109][ T26] page_owner tracks the page as allocated
[ 2.175109][ T26] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, tgid 1 (swapper/0), ts 2116701351, free_ts 0
[ 2.175109][ T26] get_page_from_freelist+0x109b/0x2ce0
[ 2.175109][ T26] __alloc_pages+0x1c7/0x510
[ 2.175109][ T26] alloc_page_interleave+0x1e/0x200
[ 2.175109][ T26] alloc_pages+0x22f/0x270
[ 2.175109][ T26] allocate_slab+0x213/0x300
[ 2.175109][ T26] ___slab_alloc+0xad0/0x1440
[ 2.175109][ T26] __slab_alloc.constprop.0+0x4d/0xa0
[ 2.175109][ T26] __kmem_cache_alloc_node+0x18a/0x3d0
[ 2.175109][ T26] kmalloc_trace+0x22/0x60
[ 2.175109][ T26] call_usermodehelper_setup+0x97/0x340
[ 2.175109][ T26] kobject_uevent_env+0xee6/0x1640
[ 2.175109][ T26] param_sysfs_init+0x367/0x43b
[ 2.175109][ T26] do_one_initcall+0xfe/0x650
[ 2.175109][ T26] kernel_init_freeable+0x6ff/0x788
[ 2.175109][ T26] kernel_init+0x1a/0x1d0
[ 2.175109][ T26] ret_from_fork+0x1f/0x30
[ 2.175109][ T26] page_owner free stack trace missing
[ 2.204768][ T26]
[ 2.204768][ T26] Memory state around the buggy address:
[ 2.204768][ T26] ffff8880173d4680: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
[ 2.204768][ T26] ffff8880173d4700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 2.204768][ T26] >ffff8880173d4780: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc
[ 2.204768][ T26] ^
[ 2.204768][ T26] ffff8880173d4800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 2.204768][ T26] ffff8880173d4880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 2.204768][ T26] ==================================================================
[ 2.204768][ T26] Kernel panic - not syncing: panic_on_warn set ...
[ 2.204768][ T26] CPU: 1 PID: 26 Comm: kworker/1:1 Not tainted 6.0.0-rc4-next-20220908-syzkaller-06577-g47c191411b68 #0
[ 2.204768][ T26] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
[ 2.204768][ T26] Workqueue: events pcpu_balance_workfn
[ 2.204768][ T26] Call Trace:
[ 2.204768][ T26]
[ 2.204768][ T26] dump_stack_lvl+0xcd/0x134
[ 2.204768][ T26] panic+0x2c8/0x622
[ 2.204768][ T26] ? panic_print_sys_info.part.0+0x110/0x110
[ 2.204768][ T26] end_report.part.0+0x3f/0x7c
[ 2.204768][ T26] ? _find_next_bit+0x122/0x140
[ 2.204768][ T26] kasan_report.cold+0xa/0xf
[ 2.204768][ T26] ? _find_next_bit+0x122/0x140
[ 2.204768][ T26] _find_next_bit+0x122/0x140
[ 2.204768][ T26] pcpu_balance_workfn+0x6c0/0xea0
[ 2.204768][ T26] process_one_work+0x991/0x1610
[ 2.204768][ T26] ? pwq_dec_nr_in_flight+0x2a0/0x2a0
[ 2.204768][ T26] ? rwlock_bug.part.0+0x90/0x90
[ 2.204768][ T26] ? _raw_spin_lock_irq+0x41/0x50
[ 2.204768][ T26] worker_thread+0x665/0x1080
[ 2.204768][ T26] ? __kthread_parkme+0x15f/0x220
[ 2.204768][ T26] ? process_one_work+0x1610/0x1610
[ 2.204768][ T26] kthread+0x2e4/0x3a0
[ 2.204768][ T26] ? kthread_complete_and_exit+0x40/0x40
[ 2.204768][ T26] ret_from_fork+0x1f/0x30
[ 2.204768][ T26]
[ 2.204768][ T26] 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=""
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-build1483296125=/tmp/go-build -gno-record-gcc-switches"
git status (err=)
HEAD detached at 1048481f2
nothing to commit, working tree clean
export BUILDOS=linux
export NATIVEBUILDOS=linux
export HOSTOS=linux
export HOSTARCH=amd64
export TARGETOS=linux
export TARGETARCH=amd64
export TARGETVMARCH=amd64
export CC=gcc
export ADDCFLAGS=-O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=8192 -m64 -static
export NCORES=62
export EXE=
export NATIVEBUILDOS=linux
GOOS=linux GOARCH=amd64 go install ./syz-fuzzer
make fuzzer execprog stress executor
make[1]: Entering directory '/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller'
export BUILDOS=linux
export NATIVEBUILDOS=linux
export HOSTOS=linux
export HOSTARCH=amd64
export TARGETOS=linux
export TARGETARCH=amd64
export TARGETVMARCH=amd64
export CC=gcc
export ADDCFLAGS=-O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=8192 -m64 -static
export NCORES=62
export EXE=
export NATIVEBUILDOS=linux
make[1]: warning: -j62 forced in makefile: resetting jobserver mode.
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/sys.GitRevision=1048481f27fb0ab9d1af5000f7c81e392cdee0f3 -X 'github.com/google/syzkaller/sys.gitRevisionDate=Tue Nov 26 14:29:58 2019 +0100'" "-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/sys.GitRevision=1048481f27fb0ab9d1af5000f7c81e392cdee0f3 -X 'github.com/google/syzkaller/sys.gitRevisionDate=Tue Nov 26 14:29:58 2019 +0100'" "-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/sys.GitRevision=1048481f27fb0ab9d1af5000f7c81e392cdee0f3 -X 'github.com/google/syzkaller/sys.gitRevisionDate=Tue Nov 26 14:29:58 2019 +0100'" "-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 \
-O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=8192 -m64 -static -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"1048481f27fb0ab9d1af5000f7c81e392cdee0f3\"
make[1]: Leaving directory '/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller'