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" "-i" "/syzkaller/managers/android-44-kasan-gce/latest.tmp/key" "root@10.128.0.85" "pwd"]: exit status 255 ssh: connect to host 10.128.0.85 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-android-44-kasan-gce-test-2 port 1 (session ID: d7c36dfb01b156870f5cefcd69718a14b784c82f9bb916e509aa013700f569a6, active connections: 1). SeaBIOS (version 1.8.2-20191003_114517-google) Total RAM Size = 0x00000001e0000000 = 7680 MiB CPUs found: 2 Max CPUs supported: 2 Comparing RSDP and RSDP Comparing RSDT and RSDT Comparing FACP and FACP Comparing FACS and FACS return 0 for FACS vs FACS: SUCCESS Comparing DSDT and DSDT return 0 for DSDT vs DSDT: SUCCESS return 0 for FACP vs FACP: SUCCESS Comparing SRAT and SRAT return 0 for SRAT vs SRAT: SUCCESS Comparing APIC and APIC return 0 for APIC vs APIC: SUCCESS Comparing SSDT and SSDT return 0 for SSDT vs SSDT: SUCCESS Comparing WAET and WAET return 0 for WAET vs WAET: SUCCESS return 0 for RSDT vs RSDT: SUCCESS return 0 for RSDP vs RSDP: SUCCESS 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 0x000f2800: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304 Sending Seabios boot VM event. Booting from Hard Disk 0... [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 4.4.194+ (syzkaller@syzkaller) (gcc version 9.0.0 20181231 (experimental) (GCC) ) #0 SMP PREEMPT now [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz root=/dev/sda1 console=ttyS0 earlyprintk=serial vsyscall=native rodata=n oops=panic panic_on_warn=1 nmi_watchdog=panic panic=86400 workqueue.watchdog_thresh=140 nopti [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 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] 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] Hypervisor detected: KVM [ 0.000000] Kernel/User page tables isolation: disabled [ 0.000000] e820: last_pfn = 0x220000 max_arch_pfn = 0x400000000 [ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC UC UC UC UC [ 0.000000] e820: last_pfn = 0xbfffd max_arch_pfn = 0x400000000 [ 0.000000] found SMP MP-table at [mem 0x000f2ac0-0x000f2acf] mapped at [ffff8800000f2ac0] [ 0.000000] Using GB pages for direct mapping [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F2840 000014 (v00 Google) [ 0.000000] ACPI: RSDT 0x00000000BFFFFFA0 000038 (v01 Google GOOGRSDT 00000001 GOOG 00000001) [ 0.000000] ACPI: FACP 0x00000000BFFFF380 0000F4 (v02 Google GOOGFACP 00000001 GOOG 00000001) [ 0.000000] ACPI: DSDT 0x00000000BFFFDAC0 0018BA (v01 Google GOOGDSDT 00000001 GOOG 00000001) [ 0.000000] ACPI: FACS 0x00000000BFFFDA80 000040 [ 0.000000] ACPI: FACS 0x00000000BFFFDA80 000040 [ 0.000000] ACPI: SRAT 0x00000000BFFFFEB0 0000C8 (v01 Google GOOGSRAT 00000001 GOOG 00000001) [ 0.000000] ACPI: APIC 0x00000000BFFFFE00 000076 (v01 Google GOOGAPIC 00000001 GOOG 00000001) [ 0.000000] ACPI: SSDT 0x00000000BFFFF480 000980 (v01 Google GOOGSSDT 00000001 GOOG 00000001) [ 0.000000] ACPI: WAET 0x00000000BFFFFE80 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 1416288610 cycles [ 0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000000001000-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] 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:8 nr_cpumask_bits:8 nr_cpu_ids:2 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 41 pages/cpu @ffff8801db600000 s130696 r8192 d29048 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 oops=panic panic_on_warn=1 nmi_watchdog=panic panic=86400 workqueue.watchdog_thresh=140 nopti [ 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: 6609372K/7863916K available (23790K kernel code, 3802K rwdata, 5164K rodata, 1320K init, 23160K bss, 1254544K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 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=8 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.664722] Calibrating delay loop (skipped) preset value.. 4600.00 BogoMIPS (lpj=23000000) [ 1.666404] pid_max: default: 32768 minimum: 301 [ 1.667353] ACPI: Core revision 20150930 [ 1.736455] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 1.738531] Security Framework initialized [ 1.739578] SELinux: Initializing. [ 1.740622] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 1.742457] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 1.746928] Initializing cgroup subsys freezer [ 1.747899] CPU: Physical Processor ID: 0 [ 1.749284] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024 [ 1.750785] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4 [ 1.752987] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [ 1.756678] Spectre V2 : Mitigation: Full generic retpoline [ 1.758933] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 1.760176] Spectre V2 : Enabling Restricted Speculation for firmware calls [ 1.761296] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier [ 1.764815] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl [ 1.767008] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp [ 1.768836] MDS: Mitigation: Clear CPU buffers [ 1.771476] Freeing SMP alternatives memory: 28K [ 1.782538] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1 [ 1.904667] smpboot: CPU0: Intel(R) Xeon(R) CPU @ 2.30GHz (family: 0x6, model: 0x3f, stepping: 0x0) [ 1.908126] Performance Events: unsupported p6 CPU model 63 no PMU driver, software events only. [ 1.995019] x86: Booting SMP configuration: [ 1.996271] .... node #0, CPUs: #1 [ 1.997644] kvm-clock: cpu 1, msr 2:1fffd041, secondary cpu clock [ 2.001899] 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. [ 2.005135] x86: Booted up 1 node, 2 CPUs [ 2.006660] smpboot: Total of 2 processors activated (9200.00 BogoMIPS) [ 2.009240] CPU1: update max cpu_capacity 589 [ 2.011535] devtmpfs: initialized [ 2.021066] CPU1: update max cpu_capacity 589 [ 2.023263] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 2.023315] futex hash table entries: 512 (order: 4, 65536 bytes) [ 2.037060] NET: Registered protocol family 16 [ 2.064827] cpuidle: using governor ladder [ 2.094766] cpuidle: using governor menu [ 2.096759] ACPI: bus type PCI registered [ 2.098335] PCI: Using configuration type 1 for base access [ 2.178980] ACPI: Added _OSI(Module Device) [ 2.180432] ACPI: Added _OSI(Processor Device) [ 2.181652] ACPI: Added _OSI(3.0 _SCP Extensions) [ 2.182820] ACPI: Added _OSI(Processor Aggregator Device) [ 2.194777] ACPI: Executed 2 blocks of module-level executable AML code [ 2.275475] ACPI: Interpreter enabled [ 2.277076] ACPI: (supports S0 S3 S5) [ 2.278273] ACPI: Using IOAPIC for interrupt routing [ 2.280189] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 2.485030] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 2.486519] acpi PNP0A03:00: _OSC: OS supports [Segments MSI] [ 2.488026] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM [ 2.503551] PCI host bridge to bus 0000:00 [ 2.504529] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 2.506392] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 2.508058] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 2.510113] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] [ 2.511918] pci_bus 0000:00: root bus resource [bus 00-ff] [ 2.557922] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI [ 2.647850] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) [ 2.655361] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) [ 2.663084] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) [ 2.670396] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) [ 2.675482] ACPI: PCI Interrupt Link [LNKS] (IRQs *9) [ 2.689527] ACPI: Enabled 16 GPEs in block 00 to 0F [ 2.693564] vgaarb: loaded [ 2.698499] SCSI subsystem initialized [ 2.701348] ACPI: bus type USB registered [ 2.703792] usbcore: registered new interface driver usbfs [ 2.706243] usbcore: registered new interface driver hub [ 2.707631] usbcore: registered new device driver usb [ 2.710264] Advanced Linux Sound Architecture Driver Initialized. [ 2.712394] PCI: Using ACPI for IRQ routing [ 2.718578] amd_nb: Cannot enumerate AMD northbridges [ 2.720195] clocksource: Switched to clocksource kvm-clock [ 2.835013] pnp: PnP ACPI init [ 2.859999] pnp: PnP ACPI: found 7 devices [ 2.871987] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 2.875043] NET: Registered protocol family 2 [ 2.878976] TCP established hash table entries: 65536 (order: 7, 524288 bytes) [ 2.881216] TCP bind hash table entries: 65536 (order: 10, 4194304 bytes) [ 2.888321] TCP: Hash tables configured (established 65536 bind 65536) [ 2.891063] UDP hash table entries: 4096 (order: 7, 655360 bytes) [ 2.894014] UDP-Lite hash table entries: 4096 (order: 7, 655360 bytes) [ 2.896603] NET: Registered protocol family 1 [ 2.898258] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 2.901185] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 2.902583] software IO TLB: mapped [mem 0xbbffd000-0xbfffd000] (64MB) [ 2.905259] RAPL PMU detected, API unit is 2^-32 Joules, 3 fixed counters 10737418240 ms ovfl timer [ 2.907052] hw unit of domain pp0-core 2^-0 Joules [ 2.908482] hw unit of domain package 2^-0 Joules [ 2.909551] hw unit of domain dram 2^-16 Joules [ 2.916826] audit: initializing netlink subsys (disabled) [ 2.918726] audit: type=2000 audit(1571320226.016:1): initialized [ 3.026047] VFS: Disk quotas dquot_6.6.0 [ 3.028497] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 3.044065] Registering sdcardfs 0.1 [ 3.049127] fuse init (API version 7.23) [ 3.068627] cryptomgr_test (31) used greatest stack depth: 28720 bytes left [ 3.082140] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 3.084321] io scheduler noop registered [ 3.085936] io scheduler deadline registered [ 3.088639] io scheduler cfq registered (default) [ 3.101963] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 3.104462] ACPI: Power Button [PWRF] [ 3.107203] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1 [ 3.109641] ACPI: Sleep Button [SLPF] [ 3.111743] Warning: Processor Platform Limit event detected, but not handled. [ 3.113742] Consider compiling CPUfreq support into your kernel. [ 3.146979] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 [ 3.149098] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver [ 3.172959] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10 [ 3.174400] virtio-pci 0000:00:04.0: virtio_pci: leaving for legacy driver [ 3.182734] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 3.206436] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 3.232563] 00:04: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 3.258485] 00:05: ttyS2 at I/O 0x3e8 (irq = 6, base_baud = 115200) is a 16550A [ 3.284269] 00:06: ttyS3 at I/O 0x2e8 (irq = 7, base_baud = 115200) is a 16550A [ 3.382302] brd: module loaded [ 3.461178] loop: module loaded [ 3.479641] scsi host0: Virtio SCSI HBA [ 3.513775] scsi 0:0:1:0: Direct-Access Google PersistentDisk 1 PQ: 0 ANSI: 6 [ 3.900478] tsc: Refined TSC clocksource calibration: 2299.833 MHz [ 3.902582] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x212697a0c2f, max_idle_ns: 440795301212 ns [ 4.259786] sd 0:0:1:0: [sda] 4194304 512-byte logical blocks: (2.15 GB/2.00 GiB) [ 4.259827] tun: Universal TUN/TAP device driver, 1.6 [ 4.259830] tun: (C) 1999-2004 Max Krasnyansky [ 4.273601] sd 0:0:1:0: [sda] 4096-byte physical blocks [ 4.282223] sd 0:0:1:0: [sda] Write Protect is off [ 4.289511] sd 0:0:1:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4.300984] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI [ 4.304209] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 4.307723] PPP generic driver version 2.4.2 [ 4.310752] PPP BSD Compression module registered [ 4.312179] PPP Deflate Compression module registered [ 4.313443] sda: sda1 [ 4.314198] PPP MPPE Compression module registered [ 4.315598] NET: Registered protocol family 24 [ 4.317319] usbcore: registered new interface driver asix [ 4.318953] usbcore: registered new interface driver ax88179_178a [ 4.321027] usbcore: registered new interface driver cdc_ether [ 4.323071] usbcore: registered new interface driver net1080 [ 4.325140] usbcore: registered new interface driver cdc_subset [ 4.327163] usbcore: registered new interface driver zaurus [ 4.329292] usbcore: registered new interface driver cdc_ncm [ 4.331051] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.331457] sd 0:0:1:0: [sda] Attached SCSI disk [ 4.334540] ehci-pci: EHCI PCI platform driver [ 4.336542] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 [ 4.340265] i8042: Warning: Keylock active [ 4.342970] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 4.345953] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 4.350278] mousedev: PS/2 mouse device common for all mice [ 4.355142] usbcore: registered new interface driver xpad [ 4.356780] usbcore: registered new interface driver usb_acecad [ 4.358315] usbcore: registered new interface driver aiptek [ 4.359914] usbcore: registered new interface driver gtco [ 4.361586] usbcore: registered new interface driver hanwang [ 4.363176] usbcore: registered new interface driver kbtab [ 4.367748] rtc_cmos 00:00: RTC can wake from S4 [ 4.371123] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0 [ 4.373127] rtc_cmos 00:00: alarms up to one day, 114 bytes nvram [ 4.378197] device-mapper: uevent: version 1.0.3 [ 4.382156] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com [ 4.395124] hidraw: raw HID events driver (C) Jiri Kosina [ 4.412701] usbcore: registered new interface driver usbhid [ 4.414190] usbhid: USB HID core driver [ 4.416804] ion_heap_create: Heap type is disabled: 1 [ 4.418204] kasan: CONFIG_KASAN_INLINE enabled [ 4.419292] kasan: GPF could be caused by NULL-ptr deref or user memory access[ 4.420352] ================================================================== [ 4.420367] BUG: KASAN: use-after-free in __lock_acquire+0x3994/0x4f80 [ 4.420372] Read of size 8 at addr ffff8801d8013248 by task system/344 [ 4.420373] [ 4.420381] CPU: 1 PID: 344 Comm: system Not tainted 4.4.194+ #0 [ 4.420391] 0000000000000000 ce188074b81c0aeb ffff8800b9f179f0 ffffffff81ac3b21 [ 4.420398] 0000000000000000 ffffea0007600480 ffff8801d8013248 0000000000000008 [ 4.420405] 0000000000000000 ffff8800b9f17a28 ffffffff81494730 0000000000000000 [ 4.420406] Call Trace: [ 4.420418] [] dump_stack+0xc1/0x120 [ 4.420430] [] print_address_description+0x6f/0x21b [ 4.420437] [] kasan_report.cold+0x8c/0x2be [ 4.420443] [] ? __lock_acquire+0x3994/0x4f80 [ 4.420450] [] __asan_report_load8_noabort+0x14/0x20 [ 4.420456] [] __lock_acquire+0x3994/0x4f80 [ 4.420464] [] ? debug_lockdep_rcu_enabled+0x71/0xa0 [ 4.420472] [] ? check_preemption_disabled+0x3c/0x200 [ 4.420479] [] ? check_preemption_disabled+0x3c/0x200 [ 4.420485] [] ? cpuacct_charge+0x19e/0x360 [ 4.420491] [] ? trace_hardirqs_on+0x10/0x10 [ 4.420495] [] ? cpuacct_charge+0x1bb/0x360 [ 4.420501] [] ? cpuacct_charge+0x60/0x360 [ 4.420507] [] ? pick_next_entity+0x198/0x3f0 [ 4.420513] [] lock_acquire+0x15e/0x450 [ 4.420522] [] ? ion_heap_deferred_free+0x100/0x500 [ 4.420528] [] ? ion_heap_shrink_scan+0x1b0/0x1b0 [ 4.420536] [] _raw_spin_lock+0x38/0x50 [ 4.420542] [] ? ion_heap_deferred_free+0x100/0x500 [ 4.420548] [] ion_heap_deferred_free+0x100/0x500 [ 4.420554] [] ? ion_heap_shrink_scan+0x1b0/0x1b0 [ 4.420561] [] ? __schedule+0x1150/0x1ee0 [ 4.420566] [] ? preempt_schedule+0x24/0x30 [ 4.420577] [] ? ___preempt_schedule+0x12/0x14 [ 4.420587] [] ? __kthread_parkme+0x164/0x230 [ 4.420593] [] ? ion_heap_shrink_scan+0x1b0/0x1b0 [ 4.420598] [] kthread+0x273/0x310 [ 4.420606] [] ? kthread_create_on_node+0x4c0/0x4c0 [ 4.420612] [] ? _raw_spin_unlock_irq+0x39/0x60 [ 4.420619] [] ? finish_task_switch+0x1e1/0x660 [ 4.420624] [] ? finish_task_switch+0x1b3/0x660 [ 4.420629] [] ? __schedule+0x7af/0x1ee0 [ 4.420635] [] ? __schedule+0x7a3/0x1ee0 [ 4.420640] [] ? __schedule+0x7af/0x1ee0 [ 4.420647] [] ? kthread_create_on_node+0x4c0/0x4c0 [ 4.420653] [] ret_from_fork+0x55/0x80 [ 4.420660] [] ? kthread_create_on_node+0x4c0/0x4c0 [ 4.420662] [ 4.420664] Allocated by task 1: [ 4.420673] [] save_stack_trace+0x26/0x50 [ 4.420681] [] kasan_kmalloc.part.0+0x62/0xf0 [ 4.420687] [] kasan_kmalloc+0xb7/0xd0 [ 4.420695] [] kmem_cache_alloc_trace+0x123/0x2d0 [ 4.420702] [] ion_system_heap_create+0x4b/0x2c0 [ 4.420709] [] ion_heap_create+0x156/0x1b0 [ 4.420717] [] ion_dummy_init+0x1e5/0x36d [ 4.420724] [] do_one_initcall+0x13b/0x260 [ 4.420735] [] kernel_init_freeable+0x2fa/0x3c3 [ 4.420744] [] kernel_init+0x12/0x15e [ 4.420751] [] ret_from_fork+0x55/0x80 [ 4.420752] [ 4.420754] Freed by task 1: [ 4.420761] [] save_stack_trace+0x26/0x50 [ 4.420767] [] kasan_slab_free+0xb0/0x190 [ 4.420773] [] kfree+0xf4/0x310 [ 4.420780] [] ion_system_heap_destroy+0x9a/0xc0 [ 4.420787] [] ion_heap_destroy+0x6a/0xd0 [ 4.420793] [] ion_dummy_init+0x2c1/0x36d [ 4.420800] [] do_one_initcall+0x13b/0x260 [ 4.420807] [] kernel_init_freeable+0x2fa/0x3c3 [ 4.420814] [] kernel_init+0x12/0x15e [ 4.420821] [] ret_from_fork+0x55/0x80 [ 4.420822] [ 4.420825] The buggy address belongs to the object at ffff8801d8013180 [ 4.420825] which belongs to the cache kmalloc-512 of size 512 [ 4.420829] The buggy address is located 200 bytes inside of [ 4.420829] 512-byte region [ffff8801d8013180, ffff8801d8013380) [ 4.420831] The buggy address belongs to the page: [ 4.572358] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 4.574404] Modules linked in: [ 4.575572] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.194+ #0 [ 4.578131] task: ffff8801da5f0000 task.stack: ffff8801da5f8000 [ 4.580000] RIP: 0010:[] [] ion_heap_destroy+0x32/0xd0 [ 4.582548] RSP: 0000:ffff8801da5ffda8 EFLAGS: 00010206 [ 4.584277] RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 0000000000000000 [ 4.586595] RDX: 0000000000000003 RSI: ffffffff8212a82c RDI: 000000000000001a [ 4.588957] RBP: ffff8801da5ffdb8 R08: 0000000000000000 R09: 0000000000000000 [ 4.591513] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffffffffea [ 4.594655] R13: ffff8801d8604c98 R14: dffffc0000000000 R15: ffffffffffffffea [ 4.596806] FS: 0000000000000000(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 [ 4.599444] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 4.601256] CR2: 0000000000000000 CR3: 0000000002e0a000 CR4: 00000000001606b0 [ 4.603521] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 4.605825] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 4.608714] Stack: [ 4.609347] dffffc0000000000 ffffffffffffffea ffff8801da5ffdf0 ffffffff8325237d [ 4.612059] ffffffff82e11080 ffff8801d86dafc0 dffffc0000000000 ffffffff832520bc [ 4.614905] ffff8801da5ffeb0 ffff8801da5ffed8 ffffffff810004ab 0000000082ab4360 [ 4.617456] Call Trace: [ 4.618402] [] ion_dummy_init+0x2c1/0x36d [ 4.620138] [] ? ion_page_pool_init+0xd/0xd [ 4.622034] [] do_one_initcall+0x13b/0x260 [ 4.624074] [] ? sanitize_boot_params.constprop.0+0xb8/0xb8 [ 4.626673] [] ? parse_args+0x311/0x890 [ 4.628459] [] kernel_init_freeable+0x2fa/0x3c3 [ 4.630339] [] ? rest_init+0x199/0x199 [ 4.632150] [] kernel_init+0x12/0x15e [ 4.633891] [] ret_from_fork+0x55/0x80 [ 4.635607] [] ? rest_init+0x199/0x199 [ 4.637382] Code: 89 fc 48 83 ec 08 e8 2e 2e 1e ff 4d 85 e4 74 53 e8 24 2e 1e ff 49 8d 7c 24 30 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 83 00 00 00 41 8b 54 24 30 [ 4.646841] RIP [] ion_heap_destroy+0x32/0xd0 [ 4.648922] RSP [ 4.650131] ------------[ cut here ]------------ [ 4.651656] WARNING: CPU: 0 PID: 1 at lib/list_debug.c:23 __list_add_valid+0x86/0x120() [ 4.654399] list_add corruption. next->prev should be prev (ffff8801db71f238), but was ffff8800b9f080d0. (next=ffff8800b9f08088). [ 4.658904] Kernel panic - not syncing: panic_on_warn set ... [ 4.658904] [ 5.800562] Shutting down cpus with NMI [ 5.802941] Kernel Offset: disabled [ 5.804004] Rebooting in 86400 seconds..