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-386/latest.tmp/key" "root@10.128.1.58" "pwd"]: exit status 255 ssh: connect to host 10.128.1.58 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-386-test-2 port 1 (session ID: 808b3186ef774ce0d00f187507ac60a312e6f45dfe22edb5ece91cdc33213a88, active connections: 1). SeaBIOS (version 1.8.2-20191010_205345-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 1162282387 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.391325] Calibrating delay loop (skipped) preset value.. 4600.00 BogoMIPS (lpj=23000000) [ 1.392756] pid_max: default: 32768 minimum: 301 [ 1.393705] ACPI: Core revision 20150930 [ 1.462935] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 1.464746] Security Framework initialized [ 1.465429] SELinux: Initializing. [ 1.466310] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 1.467346] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 1.471544] Initializing cgroup subsys freezer [ 1.472480] CPU: Physical Processor ID: 0 [ 1.473263] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024 [ 1.474159] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4 [ 1.475139] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [ 1.476803] Spectre V2 : Mitigation: Full generic retpoline [ 1.477682] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 1.479032] Spectre V2 : Enabling Restricted Speculation for firmware calls [ 1.480088] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier [ 1.481461] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl [ 1.482817] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp [ 1.484378] MDS: Mitigation: Clear CPU buffers [ 1.486428] Freeing SMP alternatives memory: 28K [ 1.496617] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1 [ 1.618209] smpboot: CPU0: Intel(R) Xeon(R) CPU @ 2.30GHz (family: 0x6, model: 0x3f, stepping: 0x0) [ 1.620584] Performance Events: unsupported p6 CPU model 63 no PMU driver, software events only. [ 1.708534] x86: Booting SMP configuration: [ 1.709410] .... node #0, CPUs: #1 [ 1.710484] kvm-clock: cpu 1, msr 2:1fffd041, secondary cpu clock [ 1.714807] 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.717359] x86: Booted up 1 node, 2 CPUs [ 1.718037] smpboot: Total of 2 processors activated (9200.00 BogoMIPS) [ 1.720360] CPU1: update max cpu_capacity 589 [ 1.722368] devtmpfs: initialized [ 1.730217] CPU1: update max cpu_capacity 589 [ 1.731832] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 1.734830] futex hash table entries: 512 (order: 4, 65536 bytes) [ 1.739576] NET: Registered protocol family 16 [ 1.768301] cpuidle: using governor ladder [ 1.798273] cpuidle: using governor menu [ 1.799549] ACPI: bus type PCI registered [ 1.800588] PCI: Using configuration type 1 for base access [ 1.882103] ACPI: Added _OSI(Module Device) [ 1.883165] ACPI: Added _OSI(Processor Device) [ 1.884372] ACPI: Added _OSI(3.0 _SCP Extensions) [ 1.885298] ACPI: Added _OSI(Processor Aggregator Device) [ 1.897141] ACPI: Executed 2 blocks of module-level executable AML code [ 1.975350] ACPI: Interpreter enabled [ 1.976529] ACPI: (supports S0 S3 S5) [ 1.977369] ACPI: Using IOAPIC for interrupt routing [ 1.979420] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 2.180193] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 2.181994] acpi PNP0A03:00: _OSC: OS supports [Segments MSI] [ 2.183727] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM [ 2.198605] PCI host bridge to bus 0000:00 [ 2.199521] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 2.201608] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 2.202882] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 2.204080] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] [ 2.205361] pci_bus 0000:00: root bus resource [bus 00-ff] [ 2.244399] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI [ 2.327496] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) [ 2.334365] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) [ 2.341334] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) [ 2.347912] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) [ 2.351957] ACPI: PCI Interrupt Link [LNKS] (IRQs *9) [ 2.365579] ACPI: Enabled 16 GPEs in block 00 to 0F [ 2.368826] vgaarb: loaded [ 2.372644] SCSI subsystem initialized [ 2.385752] ACPI: bus type USB registered [ 2.387190] usbcore: registered new interface driver usbfs [ 2.388762] usbcore: registered new interface driver hub [ 2.390016] usbcore: registered new device driver usb [ 2.392069] Advanced Linux Sound Architecture Driver Initialized. [ 2.393170] PCI: Using ACPI for IRQ routing [ 2.398028] amd_nb: Cannot enumerate AMD northbridges [ 2.399415] clocksource: Switched to clocksource kvm-clock [ 2.511342] pnp: PnP ACPI init [ 2.535086] pnp: PnP ACPI: found 7 devices [ 2.546579] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 2.548803] NET: Registered protocol family 2 [ 2.552581] TCP established hash table entries: 65536 (order: 7, 524288 bytes) [ 2.554590] TCP bind hash table entries: 65536 (order: 10, 4194304 bytes) [ 2.560326] TCP: Hash tables configured (established 65536 bind 65536) [ 2.561743] UDP hash table entries: 4096 (order: 7, 655360 bytes) [ 2.564343] UDP-Lite hash table entries: 4096 (order: 7, 655360 bytes) [ 2.566857] NET: Registered protocol family 1 [ 2.567835] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 2.570336] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 2.571544] software IO TLB: mapped [mem 0xbbffd000-0xbfffd000] (64MB) [ 2.573234] RAPL PMU detected, API unit is 2^-32 Joules, 3 fixed counters 10737418240 ms ovfl timer [ 2.574689] hw unit of domain pp0-core 2^-0 Joules [ 2.575907] hw unit of domain package 2^-0 Joules [ 2.576989] hw unit of domain dram 2^-16 Joules [ 2.583016] audit: initializing netlink subsys (disabled) [ 2.584382] audit: type=2000 audit(1572955959.924:1): initialized [ 2.676804] VFS: Disk quotas dquot_6.6.0 [ 2.678740] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 2.693286] Registering sdcardfs 0.1 [ 2.698305] fuse init (API version 7.23) [ 2.717525] cryptomgr_test (31) used greatest stack depth: 28720 bytes left [ 2.728923] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 2.731349] io scheduler noop registered [ 2.732214] io scheduler deadline registered [ 2.734695] io scheduler cfq registered (default) [ 2.742733] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 2.744434] ACPI: Power Button [PWRF] [ 2.746299] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1 [ 2.747897] ACPI: Sleep Button [SLPF] [ 2.749270] Warning: Processor Platform Limit event detected, but not handled. [ 2.750906] Consider compiling CPUfreq support into your kernel. [ 2.784134] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 [ 2.785922] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver [ 2.807656] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10 [ 2.809314] virtio-pci 0000:00:04.0: virtio_pci: leaving for legacy driver [ 2.816312] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 2.840058] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 2.866146] 00:04: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 2.892204] 00:05: ttyS2 at I/O 0x3e8 (irq = 6, base_baud = 115200) is a 16550A [ 2.918102] 00:06: ttyS3 at I/O 0x2e8 (irq = 7, base_baud = 115200) is a 16550A [ 3.013331] brd: module loaded [ 3.069464] loop: module loaded [ 3.086189] scsi host0: Virtio SCSI HBA [ 3.099788] scsi 0:0:1:0: Direct-Access Google PersistentDisk 1 PQ: 0 ANSI: 6 [ 3.570294] tsc: Refined TSC clocksource calibration: 2299.806 MHz [ 3.571851] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x21267ddf018, max_idle_ns: 440795235154 ns [ 3.849896] sd 0:0:1:0: [sda] 4194304 512-byte logical blocks: (2.15 GB/2.00 GiB) [ 3.850085] tun: Universal TUN/TAP device driver, 1.6 [ 3.850088] tun: (C) 1999-2004 Max Krasnyansky [ 3.855256] sd 0:0:1:0: [sda] 4096-byte physical blocks [ 3.860137] sd 0:0:1:0: [sda] Write Protect is off [ 3.864203] sd 0:0:1:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.886350] sda: sda1 [ 3.889815] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI [ 3.891499] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 3.893461] PPP generic driver version 2.4.2 [ 3.895930] PPP BSD Compression module registered [ 3.897083] PPP Deflate Compression module registered [ 3.898331] PPP MPPE Compression module registered [ 3.899773] NET: Registered protocol family 24 [ 3.901496] sd 0:0:1:0: [sda] Attached SCSI disk [ 3.901525] usbcore: registered new interface driver asix [ 3.901839] usbcore: registered new interface driver ax88179_178a [ 3.902154] usbcore: registered new interface driver cdc_ether [ 3.902445] usbcore: registered new interface driver net1080 [ 3.902742] usbcore: registered new interface driver cdc_subset [ 3.903061] usbcore: registered new interface driver zaurus [ 3.903539] usbcore: registered new interface driver cdc_ncm [ 3.903560] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.903581] ehci-pci: EHCI PCI platform driver [ 3.904984] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 [ 3.906747] i8042: Warning: Keylock active [ 3.908344] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 3.910491] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 3.914088] mousedev: PS/2 mouse device common for all mice [ 3.917613] usbcore: registered new interface driver xpad [ 3.918005] usbcore: registered new interface driver usb_acecad [ 3.918310] usbcore: registered new interface driver aiptek [ 3.918606] usbcore: registered new interface driver gtco [ 3.918909] usbcore: registered new interface driver hanwang [ 3.919209] usbcore: registered new interface driver kbtab [ 3.922594] rtc_cmos 00:00: RTC can wake from S4 [ 3.925102] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0 [ 3.925475] rtc_cmos 00:00: alarms up to one day, 114 bytes nvram [ 3.930728] device-mapper: uevent: version 1.0.3 [ 3.934417] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com [ 3.945316] hidraw: raw HID events driver (C) Jiri Kosina [ 3.960962] usbcore: registered new interface driver usbhid [ 3.962627] usbhid: USB HID core driver [ 3.965050] ion_heap_create: Heap type is disabled: 1 [ 3.966494] kasan: CONFIG_KASAN_INLINE enabled [ 3.967473] kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] [ 3.969457] ================================================================== [ 3.969470] BUG: KASAN: use-after-free in do_raw_spin_lock+0x2e6/0x370 [ 3.969474] Read of size 4 at addr ffff8801d8009234 by task system/344 [ 3.969476] [ 3.969483] CPU: 1 PID: 344 Comm: system Not tainted 4.4.194+ #0 [ 3.969486] 0000000000000000 972bb3c681ced598 ffff8800b9f07ba8 ffffffff81ac3b21 [ 3.969495] 0000000000000000 ffffea0007600200 ffff8801d8009234 0000000000000004 [ 3.969503] ffff8801da5ff980 ffff8800b9f07be0 ffffffff81494730 0000000000000000 [ 3.969510] Call Trace: [ 3.969520] [] dump_stack+0xc1/0x120 [ 3.969530] [] print_address_description+0x6f/0x21b [ 3.969537] [] kasan_report.cold+0x8c/0x2be [ 3.969543] [] ? do_raw_spin_lock+0x2e6/0x370 [ 3.969552] [] ? ion_heap_shrink_scan+0x1b0/0x1b0 [ 3.969559] [] __asan_report_load4_noabort+0x14/0x20 [ 3.969565] [] do_raw_spin_lock+0x2e6/0x370 [ 3.969571] [] ? ion_heap_shrink_scan+0x1b0/0x1b0 [ 3.969578] [] _raw_spin_lock+0x40/0x50 [ 3.969585] [] ? ion_heap_deferred_free+0x100/0x500 [ 3.969591] [] ion_heap_deferred_free+0x100/0x500 [ 3.969598] [] ? ion_heap_shrink_scan+0x1b0/0x1b0 [ 3.969604] [] ? __schedule+0x1150/0x1ee0 [ 3.969609] [] ? preempt_schedule+0x24/0x30 [ 3.969618] [] ? ___preempt_schedule+0x12/0x14 [ 3.969628] [] ? __kthread_parkme+0x164/0x230 [ 3.969634] [] ? ion_heap_shrink_scan+0x1b0/0x1b0 [ 3.969640] [] kthread+0x273/0x310 [ 3.969647] [] ? kthread_create_on_node+0x4c0/0x4c0 [ 3.969654] [] ? _raw_spin_unlock_irq+0x39/0x60 [ 3.969661] [] ? finish_task_switch+0x1e1/0x660 [ 3.969667] [] ? finish_task_switch+0x1b3/0x660 [ 3.969672] [] ? __schedule+0x7af/0x1ee0 [ 3.969677] [] ? __schedule+0x7a3/0x1ee0 [ 3.969683] [] ? __schedule+0x7af/0x1ee0 [ 3.969689] [] ? kthread_create_on_node+0x4c0/0x4c0 [ 3.969696] [] ret_from_fork+0x55/0x80 [ 3.969702] [] ? kthread_create_on_node+0x4c0/0x4c0 [ 3.969704] [ 3.969707] Allocated by task 1: [ 3.969709] [] save_stack_trace+0x26/0x50 [ 3.969717] [] kasan_kmalloc.part.0+0x62/0xf0 [ 3.969725] [] kasan_kmalloc+0xb7/0xd0 [ 3.969731] [] kmem_cache_alloc_trace+0x123/0x2d0 [ 3.969738] [] ion_system_heap_create+0x4b/0x2c0 [ 3.969745] [] ion_heap_create+0x156/0x1b0 [ 3.969752] [] ion_dummy_init+0x1e5/0x36d [ 3.969759] [] do_one_initcall+0x13b/0x260 [ 3.969766] [] kernel_init_freeable+0x2fa/0x3c3 [ 3.969775] [] kernel_init+0x12/0x15e [ 3.969783] [] ret_from_fork+0x55/0x80 [ 3.969789] [ 3.969792] Freed by task 1: [ 3.969793] [] save_stack_trace+0x26/0x50 [ 3.969799] [] kasan_slab_free+0xb0/0x190 [ 3.969806] [] kfree+0xf4/0x310 [ 3.969812] [] ion_system_heap_destroy+0x9a/0xc0 [ 3.969819] [] ion_heap_destroy+0x6a/0xd0 [ 3.969826] [] ion_dummy_init+0x2c1/0x36d [ 3.969832] [] do_one_initcall+0x13b/0x260 [ 3.969839] [] kernel_init_freeable+0x2fa/0x3c3 [ 3.969846] [] kernel_init+0x12/0x15e [ 3.969853] [] ret_from_fork+0x55/0x80 [ 3.969859] [ 3.969864] The buggy address belongs to the object at ffff8801d8009180 [ 3.969864] which belongs to the cache kmalloc-512 of size 512 [ 3.969869] The buggy address is located 180 bytes inside of [ 3.969869] 512-byte region [ffff8801d8009180, ffff8801d8009380) [ 3.969870] The buggy address belongs to the page: [ 4.062664] PREEMPT SMP KASAN [ 4.063635] Modules linked in: [ 4.064462] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.194+ #0 [ 4.065911] task: ffff8801da5f0000 task.stack: ffff8801da5f8000 [ 4.067320] RIP: 0010:[] [] ion_heap_destroy+0x32/0xd0 [ 4.069360] RSP: 0000:ffff8801da5ffda8 EFLAGS: 00010206 [ 4.070704] RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 0000000000000000 [ 4.072428] RDX: 0000000000000003 RSI: ffffffff8212a82c RDI: 000000000000001a [ 4.074221] RBP: ffff8801da5ffdb8 R08: 0000000000000000 R09: 0000000000000000 [ 4.075967] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffffffffea [ 4.077784] R13: ffff8801d7ce66c8 R14: dffffc0000000000 R15: ffffffffffffffea [ 4.079543] FS: 0000000000000000(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 [ 4.081552] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 4.082991] CR2: 0000000000000000 CR3: 0000000002e0a000 CR4: 00000000001606b0 [ 4.084758] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 4.086656] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 4.088455] Stack: [ 4.088971] dffffc0000000000 ffffffffffffffea ffff8801da5ffdf0 ffffffff8325237d [ 4.090932] ffffffff82e11080 ffff8801d817ee40 dffffc0000000000 ffffffff832520bc [ 4.093378] ffff8801da5ffeb0 ffff8801da5ffed8 ffffffff810004ab 0000000082ab4360 [ 4.095481] Call Trace: [ 4.096289] [] ion_dummy_init+0x2c1/0x36d [ 4.097820] [] ? ion_page_pool_init+0xd/0xd [ 4.099264] [] do_one_initcall+0x13b/0x260 [ 4.100685] [] ? sanitize_boot_params.constprop.0+0xb8/0xb8 [ 4.102514] [] ? parse_args+0x311/0x890 [ 4.103873] [] kernel_init_freeable+0x2fa/0x3c3 [ 4.105389] [] ? rest_init+0x199/0x199 [ 4.106780] [] kernel_init+0x12/0x15e [ 4.112678] [] ret_from_fork+0x55/0x80 [ 4.114146] [] ? rest_init+0x199/0x199 [ 4.115554] 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.123560] RIP [] ion_heap_destroy+0x32/0xd0 [ 4.125142] RSP [ 4.126059] ---[ end trace 6ecf3547f97c4ad2 ]--- [ 4.127220] Kernel panic - not syncing: Fatal exception [ 5.293672] Shutting down cpus with NMI [ 5.295309] Kernel Offset: disabled [ 5.296324] Rebooting in 86400 seconds..