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.0.28" "pwd"]: exit status 255 ssh: connect to host 10.128.0.28 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-1 port 1 (session ID: 2591c8ec931b58c7f6d990167b2dc29dac06fb1c3c0d94fbbe31bdee9a13cc84, 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 1334800392 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.688998] Calibrating delay loop (skipped) preset value.. 4600.00 BogoMIPS (lpj=23000000) [ 1.690541] pid_max: default: 32768 minimum: 301 [ 1.691533] ACPI: Core revision 20150930 [ 1.761793] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 1.764204] Security Framework initialized [ 1.765254] SELinux: Initializing. [ 1.766229] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 1.767858] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 1.772467] Initializing cgroup subsys freezer [ 1.773385] CPU: Physical Processor ID: 0 [ 1.774365] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024 [ 1.775651] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4 [ 1.776903] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [ 1.778618] Spectre V2 : Mitigation: Full generic retpoline [ 1.779606] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 1.781085] Spectre V2 : Enabling Restricted Speculation for firmware calls [ 1.782556] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier [ 1.783856] Spectre V2 : User space: Mitigation: STIBP via seccomp and prctl [ 1.785083] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp [ 1.786609] MDS: Mitigation: Clear CPU buffers [ 1.788553] Freeing SMP alternatives memory: 28K [ 1.800324] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1 [ 1.922184] smpboot: CPU0: Intel(R) Xeon(R) CPU @ 2.30GHz (family: 0x6, model: 0x3f, stepping: 0x0) [ 1.925127] Performance Events: unsupported p6 CPU model 63 no PMU driver, software events only. [ 2.012575] x86: Booting SMP configuration: [ 2.013652] .... node #0, CPUs: #1 [ 2.014977] kvm-clock: cpu 1, msr 2:1fffd041, secondary cpu clock [ 2.019412] 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.022764] x86: Booted up 1 node, 2 CPUs [ 2.023405] smpboot: Total of 2 processors activated (9200.00 BogoMIPS) [ 2.026713] CPU1: update max cpu_capacity 589 [ 2.028999] devtmpfs: initialized [ 2.038566] CPU1: update max cpu_capacity 589 [ 2.040740] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 2.040789] futex hash table entries: 512 (order: 4, 65536 bytes) [ 2.054652] NET: Registered protocol family 16 [ 2.082364] cpuidle: using governor ladder [ 2.112340] cpuidle: using governor menu [ 2.113805] ACPI: bus type PCI registered [ 2.114996] PCI: Using configuration type 1 for base access [ 2.196396] ACPI: Added _OSI(Module Device) [ 2.197454] ACPI: Added _OSI(Processor Device) [ 2.198717] ACPI: Added _OSI(3.0 _SCP Extensions) [ 2.200484] ACPI: Added _OSI(Processor Aggregator Device) [ 2.212478] ACPI: Executed 2 blocks of module-level executable AML code [ 2.292346] ACPI: Interpreter enabled [ 2.293794] ACPI: (supports S0 S3 S5) [ 2.294624] ACPI: Using IOAPIC for interrupt routing [ 2.296253] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 2.501811] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 2.503346] acpi PNP0A03:00: _OSC: OS supports [Segments MSI] [ 2.505030] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM [ 2.520205] PCI host bridge to bus 0000:00 [ 2.521100] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 2.523067] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 2.524790] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 2.526379] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] [ 2.527879] pci_bus 0000:00: root bus resource [bus 00-ff] [ 2.579455] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI [ 2.682542] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11) [ 2.690139] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11) [ 2.697553] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11) [ 2.705003] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11) [ 2.710039] ACPI: PCI Interrupt Link [LNKS] (IRQs *9) [ 2.724286] ACPI: Enabled 16 GPEs in block 00 to 0F [ 2.727671] vgaarb: loaded [ 2.731993] SCSI subsystem initialized [ 2.750590] ACPI: bus type USB registered [ 2.752413] usbcore: registered new interface driver usbfs [ 2.753813] usbcore: registered new interface driver hub [ 2.755071] usbcore: registered new device driver usb [ 2.757496] Advanced Linux Sound Architecture Driver Initialized. [ 2.759147] PCI: Using ACPI for IRQ routing [ 2.764408] amd_nb: Cannot enumerate AMD northbridges [ 2.765646] clocksource: Switched to clocksource kvm-clock [ 2.880430] pnp: PnP ACPI init [ 2.905073] pnp: PnP ACPI: found 7 devices [ 2.916794] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 2.919080] NET: Registered protocol family 2 [ 2.923064] TCP established hash table entries: 65536 (order: 7, 524288 bytes) [ 2.925347] TCP bind hash table entries: 65536 (order: 10, 4194304 bytes) [ 2.932595] TCP: Hash tables configured (established 65536 bind 65536) [ 2.934670] UDP hash table entries: 4096 (order: 7, 655360 bytes) [ 2.937871] UDP-Lite hash table entries: 4096 (order: 7, 655360 bytes) [ 2.940461] NET: Registered protocol family 1 [ 2.941470] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 2.943720] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 2.945011] software IO TLB: mapped [mem 0xbbffd000-0xbfffd000] (64MB) [ 2.947385] RAPL PMU detected, API unit is 2^-32 Joules, 3 fixed counters 10737418240 ms ovfl timer [ 2.948959] hw unit of domain pp0-core 2^-0 Joules [ 2.949742] hw unit of domain package 2^-0 Joules [ 2.950664] hw unit of domain dram 2^-16 Joules [ 2.956258] audit: initializing netlink subsys (disabled) [ 2.959058] audit: type=2000 audit(1572787301.727:1): initialized [ 3.055389] VFS: Disk quotas dquot_6.6.0 [ 3.057316] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 3.072464] Registering sdcardfs 0.1 [ 3.077552] fuse init (API version 7.23) [ 3.097057] cryptomgr_test (31) used greatest stack depth: 29264 bytes left [ 3.099705] cryptomgr_test (32) used greatest stack depth: 28720 bytes left [ 3.111623] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 3.113318] io scheduler noop registered [ 3.114309] io scheduler deadline registered [ 3.117310] io scheduler cfq registered (default) [ 3.124998] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 3.126946] ACPI: Power Button [PWRF] [ 3.129020] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1 [ 3.130446] ACPI: Sleep Button [SLPF] [ 3.132458] Warning: Processor Platform Limit event detected, but not handled. [ 3.134071] Consider compiling CPUfreq support into your kernel. [ 3.167858] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11 [ 3.169192] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver [ 3.193731] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10 [ 3.195187] virtio-pci 0000:00:04.0: virtio_pci: leaving for legacy driver [ 3.204077] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 3.228352] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 3.255262] 00:04: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 3.281778] 00:05: ttyS2 at I/O 0x3e8 (irq = 6, base_baud = 115200) is a 16550A [ 3.309533] 00:06: ttyS3 at I/O 0x2e8 (irq = 7, base_baud = 115200) is a 16550A [ 3.407283] brd: module loaded [ 3.486671] loop: module loaded [ 3.522219] scsi host0: Virtio SCSI HBA [ 3.547435] scsi 0:0:1:0: Direct-Access Google PersistentDisk 1 PQ: 0 ANSI: 6 [ 3.946242] tsc: Refined TSC clocksource calibration: 2299.786 MHz [ 3.948131] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x21266ad2798, max_idle_ns: 440795240047 ns [ 4.276206] tun: Universal TUN/TAP device driver, 1.6 [ 4.277940] tun: (C) 1999-2004 Max Krasnyansky [ 4.277968] sd 0:0:1:0: [sda] 4194304 512-byte logical blocks: (2.15 GB/2.00 GiB) [ 4.277976] sd 0:0:1:0: [sda] 4096-byte physical blocks [ 4.283681] sd 0:0:1:0: [sda] Write Protect is off [ 4.287741] sd 0:0:1:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4.317910] sda: sda1 [ 4.325251] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI [ 4.327307] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 4.330404] PPP generic driver version 2.4.2 [ 4.333208] PPP BSD Compression module registered [ 4.334658] PPP Deflate Compression module registered [ 4.336348] PPP MPPE Compression module registered [ 4.337814] sd 0:0:1:0: [sda] Attached SCSI disk [ 4.337840] NET: Registered protocol family 24 [ 4.338361] usbcore: registered new interface driver asix [ 4.338681] usbcore: registered new interface driver ax88179_178a [ 4.338989] usbcore: registered new interface driver cdc_ether [ 4.339300] usbcore: registered new interface driver net1080 [ 4.339621] usbcore: registered new interface driver cdc_subset [ 4.339933] usbcore: registered new interface driver zaurus [ 4.340420] usbcore: registered new interface driver cdc_ncm [ 4.340443] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.340464] ehci-pci: EHCI PCI platform driver [ 4.341912] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 [ 4.343647] i8042: Warning: Keylock active [ 4.345333] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 4.347526] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 4.351213] mousedev: PS/2 mouse device common for all mice [ 4.354855] usbcore: registered new interface driver xpad [ 4.355165] usbcore: registered new interface driver usb_acecad [ 4.355469] usbcore: registered new interface driver aiptek [ 4.355820] usbcore: registered new interface driver gtco [ 4.356127] usbcore: registered new interface driver hanwang [ 4.356431] usbcore: registered new interface driver kbtab [ 4.358937] rtc_cmos 00:00: RTC can wake from S4 [ 4.361528] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0 [ 4.362010] rtc_cmos 00:00: alarms up to one day, 114 bytes nvram [ 4.368233] device-mapper: uevent: version 1.0.3 [ 4.371984] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com [ 4.382976] hidraw: raw HID events driver (C) Jiri Kosina [ 4.398512] usbcore: registered new interface driver usbhid [ 4.400268] usbhid: USB HID core driver [ 4.402810] ion_heap_create: Heap type is disabled: 1 [ 4.404261] kasan: CONFIG_KASAN_INLINE enabled [ 4.405436] kasan: GPF could be caused by NULL-ptr deref or user memory access[ 4.405720] ================================================================== [ 4.405734] BUG: KASAN: use-after-free in __lock_acquire+0x3994/0x4f80 [ 4.405739] Read of size 8 at addr ffff8801d8009748 by task system/344 [ 4.405740] [ 4.405747] CPU: 0 PID: 344 Comm: system Not tainted 4.4.194+ #0 [ 4.405757] 0000000000000000 8e72ed44d986ee69 ffff8801d7edf9f0 ffffffff81ac3b21 [ 4.405765] 0000000000000000 ffffea0007600200 ffff8801d8009748 0000000000000008 [ 4.405772] 0000000000000000 ffff8801d7edfa28 ffffffff81494730 0000000000000000 [ 4.405774] Call Trace: [ 4.405784] [] dump_stack+0xc1/0x120 [ 4.405795] [] print_address_description+0x6f/0x21b [ 4.405802] [] kasan_report.cold+0x8c/0x2be [ 4.405808] [] ? __lock_acquire+0x3994/0x4f80 [ 4.405815] [] __asan_report_load8_noabort+0x14/0x20 [ 4.405821] [] __lock_acquire+0x3994/0x4f80 [ 4.405828] [] ? debug_lockdep_rcu_enabled+0x71/0xa0 [ 4.405835] [] ? check_preemption_disabled+0x3c/0x200 [ 4.405841] [] ? check_preemption_disabled+0x3c/0x200 [ 4.405847] [] ? cpuacct_charge+0x19e/0x360 [ 4.405853] [] ? trace_hardirqs_on+0x10/0x10 [ 4.405859] [] ? cpuacct_charge+0x1bb/0x360 [ 4.405864] [] ? cpuacct_charge+0x60/0x360 [ 4.405871] [] ? pick_next_entity+0x198/0x3f0 [ 4.405877] [] lock_acquire+0x15e/0x450 [ 4.405885] [] ? ion_heap_deferred_free+0x100/0x500 [ 4.405892] [] ? ion_heap_shrink_scan+0x1b0/0x1b0 [ 4.405899] [] _raw_spin_lock+0x38/0x50 [ 4.405906] [] ? ion_heap_deferred_free+0x100/0x500 [ 4.405912] [] ion_heap_deferred_free+0x100/0x500 [ 4.405919] [] ? ion_heap_shrink_scan+0x1b0/0x1b0 [ 4.405925] [] ? __schedule+0x1150/0x1ee0 [ 4.405931] [] ? preempt_schedule+0x24/0x30 [ 4.405940] [] ? ___preempt_schedule+0x12/0x14 [ 4.405949] [] ? __kthread_parkme+0x164/0x230 [ 4.405955] [] ? ion_heap_shrink_scan+0x1b0/0x1b0 [ 4.405961] [] kthread+0x273/0x310 [ 4.405971] [] ? kthread_create_on_node+0x4c0/0x4c0 [ 4.405978] [] ? _raw_spin_unlock_irq+0x39/0x60 [ 4.405985] [] ? finish_task_switch+0x1e1/0x660 [ 4.405991] [] ? finish_task_switch+0x1b3/0x660 [ 4.405996] [] ? __schedule+0x7af/0x1ee0 [ 4.406001] [] ? __schedule+0x7a3/0x1ee0 [ 4.406006] [] ? __schedule+0x7af/0x1ee0 [ 4.406014] [] ? kthread_create_on_node+0x4c0/0x4c0 [ 4.406020] [] ret_from_fork+0x55/0x80 [ 4.406027] [] ? kthread_create_on_node+0x4c0/0x4c0 [ 4.406029] [ 4.406032] Allocated by task 1: [ 4.406040] [] save_stack_trace+0x26/0x50 [ 4.406047] [] kasan_kmalloc.part.0+0x62/0xf0 [ 4.406054] [] kasan_kmalloc+0xb7/0xd0 [ 4.406061] [] kmem_cache_alloc_trace+0x123/0x2d0 [ 4.406068] [] ion_system_heap_create+0x4b/0x2c0 [ 4.406075] [] ion_heap_create+0x156/0x1b0 [ 4.406082] [] ion_dummy_init+0x1e5/0x36d [ 4.406090] [] do_one_initcall+0x13b/0x260 [ 4.406101] [] kernel_init_freeable+0x2fa/0x3c3 [ 4.406110] [] kernel_init+0x12/0x15e [ 4.406117] [] ret_from_fork+0x55/0x80 [ 4.406118] [ 4.406120] Freed by task 1: [ 4.406127] [] save_stack_trace+0x26/0x50 [ 4.406134] [] kasan_slab_free+0xb0/0x190 [ 4.406141] [] kfree+0xf4/0x310 [ 4.406148] [] ion_system_heap_destroy+0x9a/0xc0 [ 4.406154] [] ion_heap_destroy+0x6a/0xd0 [ 4.406161] [] ion_dummy_init+0x2c1/0x36d [ 4.406168] [] do_one_initcall+0x13b/0x260 [ 4.406175] [] kernel_init_freeable+0x2fa/0x3c3 [ 4.406182] [] kernel_init+0x12/0x15e [ 4.406189] [] ret_from_fork+0x55/0x80 [ 4.406190] [ 4.406194] The buggy address belongs to the object at ffff8801d8009680 [ 4.406194] which belongs to the cache kmalloc-512 of size 512 [ 4.406199] The buggy address is located 200 bytes inside of [ 4.406199] 512-byte region [ffff8801d8009680, ffff8801d8009880) [ 4.406201] The buggy address belongs to the page: [ 4.535441] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 4.537379] Modules linked in: [ 4.538244] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.4.194+ #0 [ 4.539946] task: ffff8801da5f0000 task.stack: ffff8801da5f8000 [ 4.541706] RIP: 0010:[] [] ion_heap_destroy+0x32/0xd0 [ 4.544225] RSP: 0000:ffff8801da5ffda8 EFLAGS: 00010206 [ 4.545843] RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 0000000000000000 [ 4.548113] RDX: 0000000000000003 RSI: ffffffff8212a82c RDI: 000000000000001a [ 4.550164] RBP: ffff8801da5ffdb8 R08: 0000000000000000 R09: 0000000000000000 [ 4.552142] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffffffffea [ 4.554230] R13: ffff8800b9e17f38 R14: dffffc0000000000 R15: ffffffffffffffea [ 4.556327] FS: 0000000000000000(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000 [ 4.558664] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 4.560430] CR2: 0000000000000000 CR3: 0000000002e0a000 CR4: 00000000001606b0 [ 4.562529] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 4.564588] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 4.566645] Stack: [ 4.567268] dffffc0000000000 ffffffffffffffea ffff8801da5ffdf0 ffffffff8325237d [ 4.569576] ffffffff82e11080 ffff8801d87ff040 dffffc0000000000 ffffffff832520bc [ 4.571882] ffff8801da5ffeb0 ffff8801da5ffed8 ffffffff810004ab 0000000082ab4360 [ 4.574124] Call Trace: [ 4.574856] [] ion_dummy_init+0x2c1/0x36d [ 4.577038] [] ? ion_page_pool_init+0xd/0xd [ 4.578749] [] do_one_initcall+0x13b/0x260 [ 4.580453] [] ? sanitize_boot_params.constprop.0+0xb8/0xb8 [ 4.582616] [] ? parse_args+0x311/0x890 [ 4.585175] [] kernel_init_freeable+0x2fa/0x3c3 [ 4.586898] [] ? rest_init+0x199/0x199 [ 4.588502] [] kernel_init+0x12/0x15e [ 4.589963] [] ret_from_fork+0x55/0x80 [ 4.591566] [] ? rest_init+0x199/0x199 [ 4.593167] 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.600840] RIP [] ion_heap_destroy+0x32/0xd0 [ 4.602703] RSP [ 4.603810] ---[ end trace 0ffc36ed78a1f937 ]--- [ 4.605245] Kernel panic - not syncing: Fatal exception [ 5.772483] Shutting down cpus with NMI [ 5.774280] Kernel Offset: disabled [ 5.775518] Rebooting in 86400 seconds..