[....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 18.526365] random: sshd: uninitialized urandom read (32 bytes read, 31 bits of entropy available) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 20.497624] random: sshd: uninitialized urandom read (32 bytes read, 35 bits of entropy available) [ 20.815388] random: sshd: uninitialized urandom read (32 bytes read, 36 bits of entropy available) [ 21.632703] random: sshd: uninitialized urandom read (32 bytes read, 102 bits of entropy available) [ 21.789990] random: sshd: uninitialized urandom read (32 bytes read, 107 bits of entropy available) Warning: Permanently added '10.128.0.25' (ECDSA) to the list of known hosts. [ 51.135757] random: sshd: uninitialized urandom read (32 bytes read, 121 bits of entropy available) executing program executing program executing program executing program executing program [ 51.270441] ================================================================== [ 51.277806] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0xf9/0x110 [ 51.284787] Read of size 8 at addr ffff8801ceb86240 by task syzkaller123439/3718 [ 51.292282] [ 51.293881] CPU: 0 PID: 3718 Comm: syzkaller123439 Not tainted 4.4.115-gaa856bd #6 [ 51.301554] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.311742] 0000000000000000 e84d8e032251eff5 ffff8800bb2079f0 ffffffff81d03dad [ 51.319712] ffffea00073ae180 ffff8801ceb86240 0000000000000000 ffff8801ceb86240 [ 51.327687] ffff8800b58e8238 ffff8800bb207a28 ffffffff814fe1e3 ffff8801ceb86240 [ 51.335647] Call Trace: [ 51.338200] [] dump_stack+0xc1/0x124 [ 51.343530] [] print_address_description+0x73/0x260 [ 51.350162] [] kasan_report+0x285/0x370 [ 51.355752] [] ? sg_remove_request+0xf9/0x110 [ 51.361862] [] __asan_report_load8_noabort+0x14/0x20 [ 51.368583] [] sg_remove_request+0xf9/0x110 [ 51.374530] [] sg_finish_rem_req+0x295/0x340 [ 51.380552] [] sg_read+0xa1b/0x1490 [ 51.385793] [] ? __check_object_size+0x154/0x35b [ 51.392258] [] ? sg_proc_seq_show_debug+0xda0/0xda0 [ 51.398892] [] ? fsnotify+0xee0/0xee0 [ 51.404310] [] ? avc_policy_seqno+0x9/0x20 [ 51.410163] [] do_loop_readv_writev+0x141/0x1e0 [ 51.416448] [] ? security_file_permission+0x89/0x1e0 [ 51.423168] [] ? sg_proc_seq_show_debug+0xda0/0xda0 [ 51.429805] [] ? sg_proc_seq_show_debug+0xda0/0xda0 [ 51.436437] [] do_readv_writev+0x5dd/0x6e0 [ 51.442289] [] ? vfs_write+0x530/0x530 [ 51.447801] [] ? _raw_spin_unlock+0x2c/0x50 [ 51.453751] [] ? do_huge_pmd_anonymous_page+0x3dd/0xa10 [ 51.460733] [] ? __fget+0x232/0x3b0 [ 51.465976] [] ? __fget+0x47/0x3b0 [ 51.471131] [] vfs_readv+0x78/0xb0 [ 51.476287] [] SyS_readv+0xd9/0x240 [ 51.481532] [] ? rw_copy_check_uvector+0x2b0/0x2b0 [ 51.488077] [] ? trace_hardirqs_on_thunk+0x17/0x19 [ 51.494623] [] entry_SYSCALL_64_fastpath+0x1c/0x98 [ 51.501169] [ 51.502765] Allocated by task 0: [ 51.506103] (stack is not available) [ 51.509782] [ 51.511400] Freed by task 0: [ 51.514381] (stack is not available) [ 51.518058] [ 51.519654] The buggy address belongs to the object at ffff8801ceb86200 [ 51.519654] which belongs to the cache fasync_cache of size 96 [ 51.532273] The buggy address is located 64 bytes inside of [ 51.532273] 96-byte region [ffff8801ceb86200, ffff8801ceb86260) [ 51.543939] The buggy address belongs to the page: [ 51.559675] ------------[ cut here ]------------ [ 51.564437] WARNING: CPU: 1 PID: 0 at lib/debugobjects.c:263 debug_print_object+0x17d/0x220() [ 51.573071] ODEBUG: deactivate not available (active state 0) object type: hrtimer hint: tick_sched_timer+0x0/0x120 [ 51.583609] Kernel panic - not syncing: panic_on_warn set ... [ 51.583609] [ 51.590939] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.115-gaa856bd #6 [ 51.597832] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.607152] 0000000000000000 4ee806bcaa6e6793 ffff8801db307ac8 ffffffff81d03dad [ 51.615116] ffffffff83843a40 ffff8801db307ba0 ffffffff839fe8a0 0000000000000009 [ 51.623072] 0000000000000107 ffff8801db307b90 ffffffff8141acca 0000000041b58ab3 [ 51.631030] Call Trace: [ 51.633579] [] dump_stack+0xc1/0x124 [ 51.639642] [] panic+0x1aa/0x388 [ 51.644626] [] ? percpu_up_read.constprop.45+0xe1/0xe1 [ 51.651521] [] ? warn_slowpath_common+0x10a/0x140 [ 51.657979] [] warn_slowpath_common+0x125/0x140 [ 51.664265] [] ? debug_print_object+0x17d/0x220 [ 51.670554] [] warn_slowpath_fmt+0xc1/0x110 [ 51.676500] [] ? warn_slowpath_common+0x140/0x140 [ 51.682960] [] ? ktime_add_safe+0xa0/0xa0 [ 51.688724] [] debug_print_object+0x17d/0x220 [ 51.694836] [] ? tick_sched_do_timer+0xa0/0xa0 [ 51.701042] [] debug_object_deactivate+0x25d/0x3c0 [ 51.707594] [] ? debug_object_activate+0x500/0x500 [ 51.714141] [] ? debug_check_no_locks_freed+0x2c0/0x2c0 [ 51.721129] [] __hrtimer_run_queues+0x492/0xfe0 [ 51.727415] [] ? hrtimer_fixup_init+0x70/0x70 [ 51.733525] [] ? hrtimer_interrupt+0x131/0x440 [ 51.739727] [] hrtimer_interrupt+0x1a6/0x440 [ 51.745754] [] local_apic_timer_interrupt+0x6a/0xb0 [ 51.752386] [] smp_apic_timer_interrupt+0x76/0xa0 [ 51.758846] [] apic_timer_interrupt+0xa0/0xb0 [ 51.764954] [] ? check_preemption_disabled+0x3b/0x200 [ 51.772491] [] ? native_safe_halt+0x6/0x10 [ 51.778349] [] ? trace_hardirqs_on+0xd/0x10 [ 51.784289] [] default_idle+0x55/0x3c0 [ 51.789791] [] arch_cpu_idle+0xa/0x10 [ 51.795207] [] default_idle_call+0x48/0x70 [ 51.801064] [] cpu_startup_entry+0x5fd/0x8f0 [ 51.807096] [] ? call_cpuidle+0xe0/0xe0 [ 51.812685] [] ? clockevents_register_device+0x122/0x230 [ 51.819752] [] start_secondary+0x304/0x3e0 [ 51.825609] [] ? set_cpu_sibling_map+0x1080/0x1080 SeaBIOS (version 1.8.2-20171012_061934-google) Total RAM Size = 0x00000001e0000000 = 7680 MiB CPUs found: 2 Max CPUs supported: 256 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 0x000f2850: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304 Booting from Hard Disk 0... early console in decompress_kernel input_data: 0x00000000039c926e input_len: 0x000000000142643a output: 0x0000000001000000 output_len: 0x0000000003ddaa40 run_size: 0x0000000005510000 Decompressing Linux... Parsing ELF... done. Booting the kernel. [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Initializing cgroup subsys schedtune [ 0.000000] Linux version 4.4.115-gaa856bd (syzkaller@ci) (gcc version 7.1.1 20170620 (GCC) ) #6 SMP PREEMPT Sat Feb 3 18:21:44 UTC 2018 [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz root=/dev/sda1 console=ttyS0 earlyprintk=serial vsyscall=native rodata=n ftrace_dump_on_oops=orig_cpu oops=panic panic_on_warn=1 nmi_watchdog=panic panic=86400 workqueue.watchdog_thresh=120 [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Supporting XSAVE feature 0x01: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x02: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x04: 'AVX registers' [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. [ 0.000000] x86/fpu: Using 'eager' FPU context switches. [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bfff2fff] usable [ 0.000000] BIOS-e820: [mem 0x00000000bfff3000-0x00000000bfffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffbc000-0x00000000ffffffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000021fffffff] usable [ 0.000000] bootconsole [earlyser0] enabled [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.4 present. [ 0.000000] Hypervisor detected: KVM [ 0.000000] e820: last_pfn = 0x220000 max_arch_pfn = 0x400000000 [ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WC UC- WT [ 0.000000] e820: last_pfn = 0xbfff3 max_arch_pfn = 0x400000000 [ 0.000000] found SMP MP-table at [mem 0x000f28d0-0x000f28df] mapped at [ffff8800000f28d0] [ 0.000000] Scanning 1 areas for low memory corruption [ 0.000000] Using GB pages for direct mapping [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F2890 000014 (v00 Google) [ 0.000000] ACPI: RSDT 0x00000000BFFF3430 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001) [ 0.000000] ACPI: FACP 0x00000000BFFFCF60 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001) [ 0.000000] ACPI: DSDT 0x00000000BFFF3470 0017B2 (v01 Google GOOGDSDT 00000001 GOOG 00000001) [ 0.000000] ACPI: FACS 0x00000000BFFFCF00 000040 [ 0.000000] ACPI: FACS 0x00000000BFFFCF00 000040 [ 0.000000] ACPI: SSDT 0x00000000BFFF65F0 00690D (v01 Google GOOGSSDT 00000001 GOOG 00000001) [ 0.000000] ACPI: APIC 0x00000000BFFF5D10 000076 (v01 Google GOOGAPIC 00000001 GOOG 00000001) [ 0.000000] ACPI: WAET 0x00000000BFFF5CE0 000028 (v01 Google GOOGWAET 00000001 GOOG 00000001) [ 0.000000] ACPI: SRAT 0x00000000BFFF4C30 0000C8 (v01 Google GOOGSRAT 00000001 GOOG 00000001) [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00 [ 0.000000] kvm-clock: cpu 0, msr 2:1fffd001, primary cpu clock [ 0.000000] kvm-clock: using sched offset of 2115624613 cycles [ 0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.000000] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x000000021fffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.000000] node 0: [mem 0x0000000000100000-0x00000000bfff2fff] [ 0.000000] node 0: [mem 0x0000000100000000-0x000000021fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000021fffffff] [ 0.000000] kasan: KernelAddressSanitizer initialized [ 0.000000] ACPI: PM-Timer IO Port: 0xb008 [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) [ 0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.000000] PM: Registered nosave memory: [mem 0xbfff3000-0xbfffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xc0000000-0xfffbbfff] [ 0.000000] PM: Registered nosave memory: [mem 0xfffbc000-0xffffffff] [ 0.000000] e820: [mem 0xc0000000-0xfffbbfff] available for PCI devices [ 0.000000] Booting paravirtualized kernel on KVM [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:2 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 42 pages/cpu @ffff8801db200000 s134024 r8192 d29816 u1048576 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1935227 [ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz root=/dev/sda1 console=ttyS0 earlyprintk=serial vsyscall=native rodata=n ftrace_dump_on_oops=orig_cpu oops=panic panic_on_warn=1 nmi_watchdog=panic panic=86400 workqueue.watchdog_thresh=120 [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] Memory: 6581404K/7863876K available (40424K kernel code, 6135K rwdata, 8816K rodata, 1852K init, 23616K bss, 1282472K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Kernel/User page tables isolation: enabled [ 0.000000] Running RCU self tests [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU lockdep checking is enabled. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=2. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=2 [ 0.000000] NR_IRQS:4352 nr_irqs:440 16 [ 0.000000] console [ttyS0] enabled [ 0.000000] console [ttyS0] enabled [ 0.000000] bootconsole [earlyser0] disabled [ 0.000000] bootconsole [earlyser0] disabled [ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.000000] ... MAX_LOCK_DEPTH: 48 [ 0.000000] ... MAX_LOCKDEP_KEYS: 8191 [ 0.000000] ... CLASSHASH_SIZE: 4096 [ 0.000000] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.000000] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.000000] ... CHAINHASH_SIZE: 32768 [ 0.000000] memory used by lock dependency info: 8159 kB [ 0.000000] per task-struct memory footprint: 1920 bytes [ 0.000000] tsc: Detected 2300.000 MHz processor [ 1.144472] Calibrating delay loop (skipped) preset value.. 4600.00 BogoMIPS (lpj=23000000) [ 1.145635] pid_max: default: 32768 minimum: 301 [ 1.146376] ACPI: Core revision 20150930 [ 1.547634] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 1.549614] Security Framework initialized [ 1.550300] SELinux: Initializing. [ 1.550979] AppArmor: AppArmor disabled by boot time parameter [ 1.551878] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 1.552843] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 1.556576] Initializing cgroup subsys io [ 1.557197] Initializing cgroup subsys freezer [ 1.557868] Initializing cgroup subsys hugetlb [ 1.558537] Initializing cgroup subsys debug [ 1.559306] CPU: Physical Processor ID: 0 [ 1.561041] mce: CPU supports 32 MCE banks [ 1.561795] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024 [ 1.562633] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4 [ 1.563608] Spectre V2 mitigation: Vulnerable: Minimal generic ASM retpoline [ 1.566937] Freeing SMP alternatives memory: 44K [ 1.575848] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1 [ 1.693823] smpboot: CPU0: Intel(R) Xeon(R) CPU @ 2.30GHz (family: 0x6, model: 0x3f, stepping: 0x0) [ 1.695318] Performance Events: unsupported p6 CPU model 63 no PMU driver, software events only. [ 1.784074] x86: Booting SMP configuration: [ 1.784759] .... node #0, CPUs: #1 [ 1.785550] kvm-clock: cpu 1, msr 2:1fffd041, secondary cpu clock [ 1.790199] x86: Booted up 1 node, 2 CPUs [ 1.790885] smpboot: Total of 2 processors activated (9200.00 BogoMIPS) [ 1.795529] devtmpfs: initialized [ 1.804954] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 1.806591] futex hash table entries: 512 (order: 4, 65536 bytes) [ 1.808392] xor: automatically using best checksumming function: [ 1.821450] kworker/u4:0 (21) used greatest stack depth: 27944 bytes left [ 1.903846] avx : 21277.600 MB/sec [ 1.905081] RTC time: 13:54:27, date: 02/04/18 [ 1.907495] NET: Registered protocol family 16 [ 1.908611] schedtune: init normalization constants... [ 1.909314] schedtune: no energy model data [ 1.909906] schedtune: disabled! [ 1.944047] cpuidle: using governor ladder [ 1.973873] cpuidle: using governor menu [ 1.975163] ACPI: bus type PCI registered [ 1.975766] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 1.978588] PCI: Using configuration type 1 for base access [ 1.985865] kworker/u4:1 (46) used greatest stack depth: 27448 bytes left [ 2.413812] raid6: sse2x1 gen() 4710 MB/s [ 2.583802] raid6: sse2x1 xor() 2452 MB/s [ 2.753793] raid6: sse2x2 gen() 7483 MB/s [ 2.923775] raid6: sse2x2 xor() 4266 MB/s [ 3.093773] raid6: sse2x4 gen() 9713 MB/s [ 3.263755] raid6: sse2x4 xor() 5614 MB/s [ 3.433750] raid6: avx2x1 gen() 9258 MB/s [ 3.603743] raid6: avx2x2 gen() 14395 MB/s [ 3.773729] raid6: avx2x4 gen() 19035 MB/s [ 3.774397] raid6: using algorithm avx2x4 gen() 19035 MB/s [ 3.775143] raid6: using avx2x2 recovery algorithm [ 3.776442] ACPI: Added _OSI(Module Device) [ 3.777079] ACPI: Added _OSI(Processor Device) [ 3.777735] ACPI: Added _OSI(3.0 _SCP Extensions) [ 3.778400] ACPI: Added _OSI(Processor Aggregator Device) [ 3.804312] ACPI: Executed 2 blocks of module-level executable AML code [ 4.650836] ACPI: Interpreter enabled [ 4.651724] ACPI: (supports S0 S3 S4 S5) [ 4.652300] ACPI: Using IOAPIC for interrupt routing [ 4.653449] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 5.805527] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 5.806495] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI] [ 5.807795] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM [ 5.808810] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge. [ 5.834357] PCI host bridge to bus 0000:00 [ 5.835016] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 5.835986] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 5.836939] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 5.837975] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] [ 5.839062] pci_bus 0000:00: root bus resource [bus 00-ff] [ 5.873436] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI