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.1.50" "pwd"]: exit status 255 ssh: connect to host 10.128.1.50 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-1 port 1 (session ID: f8fa1cc3a9e7f6156050003991ecc262b5143a6006d44792fad1bc857ce3cfe3, 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 1516068662 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.302822] Calibrating delay loop (skipped) preset value.. 4600.00 BogoMIPS (lpj=23000000) [ 1.304654] pid_max: default: 32768 minimum: 301 [ 1.305638] ACPI: Core revision 20150930 [ 1.375236] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 1.377384] Security Framework initialized [ 1.378212] SELinux: Initializing. [ 1.378955] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 1.380264] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 1.384582] Initializing cgroup subsys freezer [ 1.385533] CPU: Physical Processor ID: 0 [ 1.386181] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024 [ 1.387327] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4 [ 1.388420] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [ 1.390207] Spectre V2 : Mitigation: Full generic retpoline [ 1.391301] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 1.392865] Spectre V2 : Enabling Restricted Speculation for firmware calls [ 1.394002] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier [ 1.395677] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl [ 1.397076] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp [ 1.398641] MDS: Mitigation: Clear CPU buffers [ 1.400858] Freeing SMP alternatives memory: 28K [ 1.411034] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1 [ 1.532638] smpboot: CPU0: Intel(R) Xeon(R) CPU @ 2.30GHz (family: 0x6, model: 0x3f, stepping: 0x0) [ 1.535275] Performance Events: unsupported p6 CPU model 63 no PMU driver, software events only. [ 1.622972] x86: Booting SMP configuration: [ 1.624122] .... node #0, CPUs: #1 [ 1.625139] kvm-clock: cpu 1, msr 2:1fffd041, secondary cpu clock [ 1.629577] 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.632758] x86: Booted up 1 node, 2 CPUs [ 1.633699] smpboot: Total of 2 processors activated (9200.00 BogoMIPS) [ 1.636210] CPU1: update max cpu_capacity 589 [ 1.638315] devtmpfs: initialized [ 1.646971] CPU1: update max cpu_capacity 589 [ 1.648603] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 1.652179] futex hash table entries: 512 (order: 4, 65536 bytes) [ 1.656786] NET: Registered protocol family 16 [ 1.689583] cpuidle: using governor ladder [ 1.709542] cpuidle: using governor menu [ 1.711483] ACPI: bus type PCI registered [ 1.712651] PCI: Using configuration type 1 for base access [ 1.793570] ACPI: Added _OSI(Module Device) [ 1.794717] ACPI: Added _OSI(Processor Device) [ 1.795861] ACPI: Added _OSI(3.0 _SCP Extensions) [ 1.797041] ACPI: Added _OSI(Processor Aggregator Device) [ 1.808476] ACPI: Executed 2 blocks of module-level executable AML code [ 1.887988] ACPI: Interpreter enabled [ 1.889591] ACPI: (supports S0 S3 S5) [ 1.890374] ACPI: Using IOAPIC for interrupt routing [ 1.892380] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 2.096114] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 2.098633] acpi PNP0A03:00: _OSC: OS supports [Segments MSI] [ 2.100423] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM [ 2.115838] PCI host bridge to bus 0000:00 [ 2.116698] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 2.118079] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 2.119617] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 2.122002] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] [ 2.123419] pci_bus 0000:00: root bus resource [bus 00-ff] [ 2.173394] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI [ 2.270693] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) [ 2.278128] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) [ 2.285778] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) [ 2.294276] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) [ 2.299315] ACPI: PCI Interrupt Link [LNKS] (IRQs *9) [ 2.313488] ACPI: Enabled 16 GPEs in block 00 to 0F [ 2.316837] vgaarb: loaded [ 2.320321] SCSI subsystem initialized [ 2.322604] ACPI: bus type USB registered [ 2.324091] usbcore: registered new interface driver usbfs [ 2.326085] usbcore: registered new interface driver hub [ 2.327767] usbcore: registered new device driver usb [ 2.329886] Advanced Linux Sound Architecture Driver Initialized. [ 2.337267] PCI: Using ACPI for IRQ routing [ 2.343284] amd_nb: Cannot enumerate AMD northbridges [ 2.344661] clocksource: Switched to clocksource kvm-clock [ 2.456777] pnp: PnP ACPI init [ 2.480908] pnp: PnP ACPI: found 7 devices [ 2.492136] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 2.494587] NET: Registered protocol family 2 [ 2.498055] TCP established hash table entries: 65536 (order: 7, 524288 bytes) [ 2.499956] TCP bind hash table entries: 65536 (order: 10, 4194304 bytes) [ 2.505698] TCP: Hash tables configured (established 65536 bind 65536) [ 2.507580] UDP hash table entries: 4096 (order: 7, 655360 bytes) [ 2.510239] UDP-Lite hash table entries: 4096 (order: 7, 655360 bytes) [ 2.512507] NET: Registered protocol family 1 [ 2.513457] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 2.516063] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 2.517958] software IO TLB: mapped [mem 0xbbffd000-0xbfffd000] (64MB) [ 2.520060] RAPL PMU detected, API unit is 2^-32 Joules, 3 fixed counters 10737418240 ms ovfl timer [ 2.521648] hw unit of domain pp0-core 2^-0 Joules [ 2.522556] hw unit of domain package 2^-0 Joules [ 2.523649] hw unit of domain dram 2^-16 Joules [ 2.529904] audit: initializing netlink subsys (disabled) [ 2.531351] audit: type=2000 audit(1572369750.538:1): initialized [ 2.634144] VFS: Disk quotas dquot_6.6.0 [ 2.636393] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 2.650777] Registering sdcardfs 0.1 [ 2.655859] fuse init (API version 7.23) [ 2.675803] cryptomgr_test (31) used greatest stack depth: 28720 bytes left [ 2.687831] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 2.689251] io scheduler noop registered [ 2.690254] io scheduler deadline registered [ 2.692908] io scheduler cfq registered (default) [ 2.701040] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 2.708536] ACPI: Power Button [PWRF] [ 2.710784] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1 [ 2.712740] ACPI: Sleep Button [SLPF] [ 2.714031] Warning: Processor Platform Limit event detected, but not handled. [ 2.716053] Consider compiling CPUfreq support into your kernel. [ 2.738645] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 [ 2.740187] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver [ 2.764500] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10 [ 2.766326] virtio-pci 0000:00:04.0: virtio_pci: leaving for legacy driver [ 2.774175] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 2.798256] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 2.824719] 00:04: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 2.850505] 00:05: ttyS2 at I/O 0x3e8 (irq = 6, base_baud = 115200) is a 16550A [ 2.876594] 00:06: ttyS3 at I/O 0x2e8 (irq = 7, base_baud = 115200) is a 16550A [ 2.971782] brd: module loaded [ 3.037752] loop: module loaded [ 3.090594] scsi host0: Virtio SCSI HBA [ 3.125398] scsi 0:0:1:0: Direct-Access Google PersistentDisk 1 PQ: 0 ANSI: 6 [ 3.515239] tsc: Refined TSC clocksource calibration: 2299.859 MHz [ 3.516782] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2126b00b3ca, max_idle_ns: 440795298767 ns [ 3.879239] sd 0:0:1:0: [sda] 4194304 512-byte logical blocks: (2.15 GB/2.00 GiB) [ 3.879253] tun: Universal TUN/TAP device driver, 1.6 [ 3.879255] tun: (C) 1999-2004 Max Krasnyansky [ 3.891251] sd 0:0:1:0: [sda] 4096-byte physical blocks [ 3.898352] sd 0:0:1:0: [sda] Write Protect is off [ 3.903231] sd 0:0:1:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.922435] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI [ 3.924514] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 3.926729] PPP generic driver version 2.4.2 [ 3.929087] PPP BSD Compression module registered [ 3.930318] sda: sda1 [ 3.930922] PPP Deflate Compression module registered [ 3.932279] PPP MPPE Compression module registered [ 3.933422] NET: Registered protocol family 24 [ 3.935149] usbcore: registered new interface driver asix [ 3.936950] usbcore: registered new interface driver ax88179_178a [ 3.938956] usbcore: registered new interface driver cdc_ether [ 3.940944] usbcore: registered new interface driver net1080 [ 3.942775] usbcore: registered new interface driver cdc_subset [ 3.944817] usbcore: registered new interface driver zaurus [ 3.946834] usbcore: registered new interface driver cdc_ncm [ 3.948272] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.948719] sd 0:0:1:0: [sda] Attached SCSI disk [ 3.951131] ehci-pci: EHCI PCI platform driver [ 3.953194] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 [ 3.956758] i8042: Warning: Keylock active [ 3.959084] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 3.963366] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 3.967485] mousedev: PS/2 mouse device common for all mice [ 3.971990] usbcore: registered new interface driver xpad [ 3.974257] usbcore: registered new interface driver usb_acecad [ 3.976120] usbcore: registered new interface driver aiptek [ 3.977766] usbcore: registered new interface driver gtco [ 3.979302] usbcore: registered new interface driver hanwang [ 3.981112] usbcore: registered new interface driver kbtab [ 3.984751] rtc_cmos 00:00: RTC can wake from S4 [ 3.988542] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0 [ 3.990434] rtc_cmos 00:00: alarms up to one day, 114 bytes nvram [ 3.995545] device-mapper: uevent: version 1.0.3 [ 4.000186] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com [ 4.013652] hidraw: raw HID events driver (C) Jiri Kosina [ 4.029395] usbcore: registered new interface driver usbhid [ 4.030957] usbhid: USB HID core driver [ 4.033452] ion_heap_create: Heap type is disabled: 1 [ 4.034849] kasan: CONFIG_KASAN_INLINE enabled[ 4.034867] ================================================================== [ 4.034880] BUG: KASAN: use-after-free in do_raw_spin_lock+0x2e6/0x370 [ 4.034886] Read of size 4 at addr ffff8801d7cc60ec by task system/344 [ 4.034887] [ 4.034894] CPU: 1 PID: 344 Comm: system Not tainted 4.4.194+ #0 [ 4.034898] 0000000000000000 90eb113e309bf341 ffff8801d7f17b00 ffffffff81ac3b21 [ 4.034906] 0000000000000000 ffffea00075f3180 ffff8801d7cc60ec 0000000000000004 [ 4.034914] ffff8801d7f17c80 ffff8801d7f17b38 ffffffff81494730 0000000000000000 [ 4.034921] Call Trace: [ 4.034931] [] dump_stack+0xc1/0x120 [ 4.034942] [] print_address_description+0x6f/0x21b [ 4.034949] [] kasan_report.cold+0x8c/0x2be [ 4.034955] [] ? do_raw_spin_lock+0x2e6/0x370 [ 4.034961] [] __asan_report_load4_noabort+0x14/0x20 [ 4.034968] [] do_raw_spin_lock+0x2e6/0x370 [ 4.034975] [] _raw_spin_lock_irqsave+0x58/0x70 [ 4.034983] [] ? prepare_to_wait_event+0x108/0x660 [ 4.034989] [] prepare_to_wait_event+0x108/0x660 [ 4.034997] [] ? ion_heap_deferred_free+0x100/0x500 [ 4.035003] [] ? abort_exclusive_wait+0x2c0/0x2c0 [ 4.035010] [] ? ion_heap_shrink_scan+0x1b0/0x1b0 [ 4.035016] [] ion_heap_deferred_free+0x33b/0x500 [ 4.035023] [] ? ion_heap_shrink_scan+0x1b0/0x1b0 [ 4.035029] [] ? __schedule+0x1150/0x1ee0 [ 4.035034] [] ? preempt_schedule+0x24/0x30 [ 4.035041] [] ? autoremove_wake_function.part.0+0x130/0x130 [ 4.035048] [] ? __kthread_parkme+0x164/0x230 [ 4.035055] [] ? ion_heap_shrink_scan+0x1b0/0x1b0 [ 4.035061] [] kthread+0x273/0x310 [ 4.035068] [] ? kthread_create_on_node+0x4c0/0x4c0 [ 4.035075] [] ? _raw_spin_unlock_irq+0x39/0x60 [ 4.035081] [] ? finish_task_switch+0x1e1/0x660 [ 4.035087] [] ? finish_task_switch+0x1b3/0x660 [ 4.035092] [] ? __schedule+0x7af/0x1ee0 [ 4.035097] [] ? __schedule+0x7a3/0x1ee0 [ 4.035103] [] ? __schedule+0x7af/0x1ee0 [ 4.035109] [] ? kthread_create_on_node+0x4c0/0x4c0 [ 4.035115] [] ret_from_fork+0x55/0x80 [ 4.035121] [] ? kthread_create_on_node+0x4c0/0x4c0 [ 4.035123] [ 4.035126] Allocated by task 1: [ 4.035128] [] save_stack_trace+0x26/0x50 [ 4.035136] [] kasan_kmalloc.part.0+0x62/0xf0 [ 4.035143] [] kasan_kmalloc+0xb7/0xd0 [ 4.035149] [] kmem_cache_alloc_trace+0x123/0x2d0 [ 4.035156] [] ion_system_heap_create+0x4b/0x2c0 [ 4.035163] [] ion_heap_create+0x156/0x1b0 [ 4.035170] [] ion_dummy_init+0x1e5/0x36d [ 4.035177] [] do_one_initcall+0x13b/0x260 [ 4.035187] [] kernel_init_freeable+0x2fa/0x3c3 [ 4.035196] [] kernel_init+0x12/0x15e [ 4.035204] [] ret_from_fork+0x55/0x80 [ 4.035210] [ 4.035212] Freed by task 1: [ 4.035214] [] save_stack_trace+0x26/0x50 [ 4.035220] [] kasan_slab_free+0xb0/0x190 [ 4.035227] [] kfree+0xf4/0x310 [ 4.035233] [] ion_system_heap_destroy+0x9a/0xc0 [ 4.035240] [] ion_heap_destroy+0x6a/0xd0 [ 4.035247] [] ion_dummy_init+0x2c1/0x36d [ 4.035253] [] do_one_initcall+0x13b/0x260 [ 4.035260] [] kernel_init_freeable+0x2fa/0x3c3 [ 4.035267] [] kernel_init+0x12/0x15e [ 4.035274] [] ret_from_fork+0x55/0x80 [ 4.035280] [ 4.035285] The buggy address belongs to the object at ffff8801d7cc6000 [ 4.035285] which belongs to the cache kmalloc-512 of size 512 [ 4.035289] The buggy address is located 236 bytes inside of [ 4.035289] 512-byte region [ffff8801d7cc6000, ffff8801d7cc6200) [ 4.035291] The buggy address belongs to the page: [ 4.214773] kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN [ 4.218197] Modules linked in: [ 4.218942] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.194+ #0 [ 4.220532] task: ffff8801da5f0000 task.stack: ffff8801da5f8000 [ 4.222037] RIP: 0010:[] [] ion_heap_destroy+0x32/0xd0 [ 4.224355] RSP: 0000:ffff8801da5ffda8 EFLAGS: 00010206 [ 4.225732] RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 0000000000000000 [ 4.227540] RDX: 0000000000000003 RSI: ffffffff8212a82c RDI: 000000000000001a [ 4.229543] RBP: ffff8801da5ffdb8 R08: 0000000000000000 R09: 0000000000000000 [ 4.231384] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffffffffea [ 4.233510] R13: ffff8801d94db6c8 R14: dffffc0000000000 R15: ffffffffffffffea [ 4.235463] FS: 0000000000000000(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000 [ 4.237565] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 4.239101] CR2: 0000000000000000 CR3: 0000000002e0a000 CR4: 00000000001606b0 [ 4.240972] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 4.242738] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 4.244565] Stack: [ 4.245128] dffffc0000000000 ffffffffffffffea ffff8801da5ffdf0 ffffffff8325237d [ 4.247107] ffffffff82e11080 ffff8801d815ec20 dffffc0000000000 ffffffff832520bc [ 4.249256] ffff8801da5ffeb0 ffff8801da5ffed8 ffffffff810004ab 0000000082ab4360 [ 4.251403] Call Trace: [ 4.252113] [] ion_dummy_init+0x2c1/0x36d [ 4.253575] [] ? ion_page_pool_init+0xd/0xd [ 4.255024] [] do_one_initcall+0x13b/0x260 [ 4.256553] [] ? sanitize_boot_params.constprop.0+0xb8/0xb8 [ 4.258367] [] ? parse_args+0x311/0x890 [ 4.259768] [] kernel_init_freeable+0x2fa/0x3c3 [ 4.261315] [] ? rest_init+0x199/0x199 [ 4.262807] [] kernel_init+0x12/0x15e [ 4.264794] [] ret_from_fork+0x55/0x80 [ 4.266247] [] ? rest_init+0x199/0x199 [ 4.267845] 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.277015] RIP [] ion_heap_destroy+0x32/0xd0 [ 4.278857] RSP [ 4.280031] ---[ end trace c1e9be859befaf2f ]--- [ 4.281317] Kernel panic - not syncing: Fatal exception [ 5.443533] Shutting down cpus with NMI [ 5.446166] Kernel Offset: disabled [ 5.447267] Rebooting in 86400 seconds..