[....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 17.281636] random: sshd: uninitialized urandom read (32 bytes read, 33 bits of entropy available) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 22.418158] random: sshd: uninitialized urandom read (32 bytes read, 41 bits of entropy available) [ 22.930686] random: sshd: uninitialized urandom read (32 bytes read, 41 bits of entropy available) [ 23.944422] random: sshd: uninitialized urandom read (32 bytes read, 127 bits of entropy available) [ 24.059761] random: nonblocking pool is initialized Warning: Permanently added '10.128.15.202' (ECDSA) to the list of known hosts. executing program [ 29.568754] ================================================================== [ 29.576147] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0xf9/0x110 [ 29.583128] Read of size 8 at addr ffff8801d26e5140 by task syzkaller674857/3325 [ 29.590624] [ 29.592227] CPU: 1 PID: 3325 Comm: syzkaller674857 Not tainted 4.4.111-g1849cd3 #19 [ 29.599984] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.609392] 0000000000000000 70636a25664dc4fc ffff8800b09d7970 ffffffff81d0509d [ 29.617348] ffffea000749b940 ffff8801d26e5140 0000000000000000 ffff8801d26e5140 [ 29.625296] ffff8800b4734438 ffff8800b09d79a8 ffffffff814fd433 ffff8801d26e5140 [ 29.633243] Call Trace: [ 29.635802] [] dump_stack+0xc1/0x124 [ 29.641153] [] print_address_description+0x73/0x260 [ 29.647787] [] kasan_report+0x285/0x370 [ 29.653379] [] ? sg_remove_request+0xf9/0x110 [ 29.659489] [] __asan_report_load8_noabort+0x14/0x20 [ 29.666207] [] sg_remove_request+0xf9/0x110 [ 29.672143] [] sg_finish_rem_req+0x295/0x340 [ 29.678179] [] sg_read+0xa21/0x1490 [ 29.683424] [] ? _raw_spin_unlock+0x2c/0x50 [ 29.689362] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 29.695994] [] ? fsnotify+0xee0/0xee0 [ 29.701415] [] ? avc_policy_seqno+0x9/0x20 [ 29.707270] [] do_loop_readv_writev+0x141/0x1e0 [ 29.713562] [] ? security_file_permission+0x89/0x1e0 [ 29.720279] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 29.726911] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 29.733551] [] compat_do_readv_writev+0x5df/0x6e0 [ 29.740014] [] ? vfs_writev+0xb0/0xb0 [ 29.745437] [] ? _raw_spin_unlock+0x2c/0x50 [ 29.751386] [] ? putname+0xee/0x130 [ 29.756636] [] ? rcu_read_lock_sched_held+0x103/0x120 [ 29.763448] [] ? kmem_cache_free+0x2a4/0x320 [ 29.769474] [] compat_readv+0xd9/0x140 [ 29.774977] [] compat_SyS_readv+0xd8/0x1b0 [ 29.780832] [] ? SyS_pwritev+0x230/0x230 [ 29.786509] [] ? do_fast_syscall_32+0xd7/0x890 [ 29.792718] [] ? SyS_pwritev+0x230/0x230 [ 29.798392] [] do_fast_syscall_32+0x314/0x890 [ 29.804503] [] sysenter_flags_fixed+0xd/0x17 [ 29.810525] [ 29.812122] Allocated by task 0: [ 29.815456] (stack is not available) [ 29.819132] [ 29.820722] Freed by task 0: [ 29.823701] (stack is not available) [ 29.827379] [ 29.828976] The buggy address belongs to the object at ffff8801d26e5100 [ 29.828976] which belongs to the cache fasync_cache of size 96 [ 29.841599] The buggy address is located 64 bytes inside of [ 29.841599] 96-byte region [ffff8801d26e5100, ffff8801d26e5160) [ 29.853276] The buggy address belongs to the page: SeaBIOS (version 1.8.2-20171130_102032-google) Total RAM Size = 0x00000001e0000000 = 7680 MiB CPUs found: 2 Max CPUs supported: 2 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 0x000f3050: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304 Booting from Hard Disk 0... early console in decompress_kernel input_data: 0x00000000039c526e input_len: 0x000000000142689e output: 0x0000000001000000 output_len: 0x0000000003dd7a40 run_size: 0x000000000550d000 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.111-g1849cd3 (syzkaller@ci) (gcc version 7.1.1 20170620 (GCC) ) #19 SMP PREEMPT Sun Jan 14 10:04:09 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-0x00000000bfffcfff] usable [ 0.000000] BIOS-e820: [mem 0x00000000bfffd000-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 = 0xbfffd max_arch_pfn = 0x400000000 [ 0.000000] found SMP MP-table at [mem 0x000f32c0-0x000f32cf] mapped at [ffff8800000f32c0] [ 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 0x00000000000F3090 000014 (v00 Google) [ 0.000000] ACPI: RSDT 0x00000000BFFFDC70 000034 (v01 Google GOOGRSDT 00000001 GOOG 00000001) [ 0.000000] ACPI: FACP 0x00000000BFFFFF00 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001) [ 0.000000] ACPI: DSDT 0x00000000BFFFDCB0 0017B2 (v01 Google GOOGDSDT 00000001 GOOG 00000001) [ 0.000000] ACPI: FACS 0x00000000BFFFFEC0 000040 [ 0.000000] ACPI: FACS 0x00000000BFFFFEC0 000040 [ 0.000000] ACPI: SSDT 0x00000000BFFFF590 000930 (v01 Google GOOGSSDT 00000001 GOOG 00000001) [ 0.000000] ACPI: APIC 0x00000000BFFFF4A0 000076 (v01 Google GOOGAPIC 00000001 GOOG 00000001) [ 0.000000] ACPI: WAET 0x00000000BFFFF470 000028 (v01 Google GOOGWAET 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 1976163129 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-0x00000000bfffcfff] [ 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 0xbfffd000-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: 1935238 [ 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: 6581460K/7863916K available (40429K kernel code, 6130K rwdata, 8808K rodata, 1844K init, 23616K bss, 1282456K 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.133937] Calibrating delay loop (skipped) preset value.. 4600.00 BogoMIPS (lpj=23000000) [ 1.135098] pid_max: default: 32768 minimum: 301 [ 1.135799] ACPI: Core revision 20150930 [ 1.207667] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 1.208918] Security Framework initialized [ 1.209483] SELinux: Initializing. [ 1.210131] AppArmor: AppArmor disabled by boot time parameter [ 1.211047] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 1.211969] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 1.215671] Initializing cgroup subsys io [ 1.216288] Initializing cgroup subsys freezer [ 1.216930] Initializing cgroup subsys hugetlb [ 1.217578] Initializing cgroup subsys debug [ 1.218346] CPU: Physical Processor ID: 0 [ 1.220115] mce: CPU supports 32 MCE banks [ 1.220873] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024 [ 1.221692] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4 [ 1.224626] Freeing SMP alternatives memory: 44K [ 1.232876] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1 [ 1.353148] smpboot: CPU0: Intel(R) Xeon(R) CPU @ 2.30GHz (family: 0x6, model: 0x3f, stepping: 0x0) [ 1.354638] Performance Events: unsupported p6 CPU model 63 no PMU driver, software events only. [ 1.443378] x86: Booting SMP configuration: [ 1.444050] .... node #0, CPUs: #1 [ 1.444811] kvm-clock: cpu 1, msr 2:1fffd041, secondary cpu clock [ 1.449497] x86: Booted up 1 node, 2 CPUs [ 1.450072] smpboot: Total of 2 processors activated (9200.00 BogoMIPS) [ 1.454570] devtmpfs: initialized [ 1.463942] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 1.465404] futex hash table entries: 512 (order: 4, 65536 bytes) [ 1.467017] xor: automatically using best checksumming function: [ 1.470387] kworker/u4:0 (21) used greatest stack depth: 27224 bytes left [ 1.563124] avx : 21808.000 MB/sec [ 1.564319] RTC time: 8:59:23, date: 01/15/18 [ 1.566558] NET: Registered protocol family 16 [ 1.567653] schedtune: init normalization constants... [ 1.568452] schedtune: no energy model data [ 1.569024] schedtune: disabled! [ 1.603253] cpuidle: using governor ladder [ 1.633168] cpuidle: using governor menu [ 1.634455] ACPI: bus type PCI registered [ 1.635022] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 [ 1.638060] PCI: Using configuration type 1 for base access [ 1.645558] kworker/u4:0 (38) used greatest stack depth: 26984 bytes left [ 2.083078] raid6: sse2x1 gen() 4675 MB/s [ 2.253023] raid6: sse2x1 xor() 2480 MB/s [ 2.422991] raid6: sse2x2 gen() 7495 MB/s [ 2.592973] raid6: sse2x2 xor() 4198 MB/s [ 2.762942] raid6: sse2x4 gen() 9637 MB/s [ 2.932921] raid6: sse2x4 xor() 5145 MB/s [ 3.102877] raid6: avx2x1 gen() 9066 MB/s [ 3.272858] raid6: avx2x2 gen() 14682 MB/s [ 3.442822] raid6: avx2x4 gen() 19318 MB/s [ 3.443596] raid6: using algorithm avx2x4 gen() 19318 MB/s [ 3.444387] raid6: using avx2x2 recovery algorithm [ 3.445722] ACPI: Added _OSI(Module Device) [ 3.446330] ACPI: Added _OSI(Processor Device) [ 3.446938] ACPI: Added _OSI(3.0 _SCP Extensions) [ 3.447640] ACPI: Added _OSI(Processor Aggregator Device) [ 3.458148] ACPI: Executed 2 blocks of module-level executable AML code [ 3.534134] ACPI: Interpreter enabled [ 3.535090] ACPI: (supports S0 S3 S4 S5) [ 3.535679] ACPI: Using IOAPIC for interrupt routing [ 3.536819] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 3.746313] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 3.747332] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI] [ 3.748680] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM [ 3.749723] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge. [ 3.776088] PCI host bridge to bus 0000:00 [ 3.776744] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 3.777684] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 3.778611] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 3.779671] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] [ 3.780694] pci_bus 0000:00: root bus resource [bus 00-ff] [ 3.814402] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI [ 3.894658] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) [ 3.900825] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) [ 3.906708] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) [ 3.912740] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) [ 3.916398] ACPI: PCI Interrupt Link [LNKS] (IRQs *9) [ 3.930292] ACPI: Enabled 16 GPEs in block 00 to 0F [ 3.933839] vgaarb: loaded [ 3.937717] SCSI subsystem initialized [ 3.940700] ACPI: bus type USB registered [ 3.942289] usbcore: registered new interface driver usbfs [ 3.943453] usbcore: registered new interface driver hub [ 3.944644] usbcore: registered new device driver usb [ 3.947000] pps_core: LinuxPPS API ver. 1 registered [ 3.947760] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 3.949135] PTP clock support registered [ 3.960459] Advanced Linux Sound Architecture Driver Initialized. [ 3.962803] PCI: Using ACPI for IRQ routing [ 3.979430] NetLabel: Initializing [ 3.979982] NetLabel: domain hash size = 128 [ 3.980600] NetLabel: protocols = UNLABELED CIPSOv4 [ 3.981577] NetLabel: unlabeled traffic allowed by default [ 3.984291] amd_nb: Cannot enumerate AMD northbridges [ 3.985132] clocksource: Switched to clocksource kvm-clock [ 4.146271] pnp: PnP ACPI init [ 4.168935] pnp: PnP ACPI: found 7 devices [ 4.182755] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 4.184543] NET: Registered protocol family 2 [ 4.187298] TCP established hash table entries: 65536 (order: 7, 524288 bytes) [ 4.188779] TCP bind hash table entries: 65536 (order: 10, 4194304 bytes) [ 4.196055] TCP: Hash tables configured (established 65536 bind 65536) [ 4.197303] UDP hash table entries: 4096 (order: 7, 655360 bytes) [ 4.199516] UDP-Lite hash table entries: 4096 (order: 7, 655360 bytes) [ 4.202113] NET: Registered protocol family 1 [ 4.202846] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 4.204574] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 4.205953] software IO TLB [mem 0xbbffd000-0xbfffd000] (64MB) mapped at [ffff8800bbffd000-ffff8800bfffcfff] [ 4.207898] RAPL PMU detected, API unit is 2^-32 Joules, 3 fixed counters 10737418240 ms ovfl timer [ 4.209268] hw unit of domain pp0-core 2^-0 Joules [ 4.209920] hw unit of domain package 2^-0 Joules [ 4.210559] hw unit of domain dram 2^-16 Joules [ 4.216992] Scanning for low memory corruption every 60 seconds [ 4.225059] audit: initializing netlink subsys (disabled) [ 4.226256] audit: type=2000 audit(1516006766.189:1): initialized [ 4.233513] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 4.368340] VFS: Disk quotas dquot_6.6.0 [ 4.369988] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)