Bug 201283
Summary: | animating overlayed memory leak/glitch when switching to "TTY" console from X | ||
---|---|---|---|
Product: | Drivers | Reporter: | cloud strife (whomst.watch.the.watchers) |
Component: | Video(Other) | Assignee: | drivers_video-other |
Status: | RESOLVED MOVED | ||
Severity: | high | ||
Priority: | P1 | ||
Hardware: | Intel | ||
OS: | Linux | ||
Kernel Version: | 4.18.9 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | video showing the animating glitch/leak |
cat /sys/devices/system/cpu/vulnerabilities/* Mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled Mitigation: PTI Mitigation: Speculative Store Bypass disabled via prctl and seccomp Mitigation: __user pointer sanitization Mitigation: Full generic retpoline, IBPB, IBRS_FW the bug is not appearing on latest drm-tip ( using recent drm-tip https://cgit.freedesktop.org/drm-tip/commit/?id=2f99c4889e4124f9cf50b745d037f432318c4bb4 ) i can confirm the patch is not needed now (re: https://bugs.freedesktop.org/show_bug.cgi?id=108257#c14) |
Created attachment 278839 [details] video showing the animating glitch/leak OVERVIEW: Switching to a TTY console (eg: CTRL + ALT + F1) from X desktop is causing an overlayed glitch to reveal itself ~90% of the time. It seems like a memory/data leak, not just a graphical leak. 1. Sometimes the glitch animates, reflecting system activity. (eg: in the attached video, nmap was running in the background, and the glitch animates in a particular section. Sometimes, other parts animate reflecting other activity) 2. The glitch remains in the same place overlaying the console, regardless of scrolling activity. i have tried different Kernel versions, and differing versions of ubuntu & debian distributions. Most recently i have compiled 4.18.9 after i changed more .config settings before Kernel compilation, to see if i could root it out, but the glitch still occurs. STEPS TO REPRODUCE: 1. invoke X graphical desktop 2. switch back to a TTY, eg: using CTRL + ALT + F1 CURRENT BUILD & HARDWARE: Kernel: Linux 4.18.9 SMP PREEMPT Distro: Debian GNU/Linux 9.5 (Stretch) CPU: Intel Core i7-7700K CPU microcode: 0x8e Display GPU: Intel (i915) i have PCIe GPUs inside KVM guests with no amd or nvidia drivers on the host. ######################## ### FUTHER lshw INFO ### ######################## description: Desktop Computer product: TB250-BTC (None) vendor: BIOSTAR Group version: Default string serial: None width: 64 bits capabilities: smbios-3.0 dmi-3.0 smp vsyscall32 configuration: chassis=desktop family=None sku=None uuid=00020003-0004-0005-0006-000700080009 *-core description: Motherboard product: TB250-BTC vendor: BIOSTAR Group physical id: 0 serial: None slot: None *-firmware description: BIOS vendor: American Megatrends Inc. physical id: 0 version: 5.12 date: 04/13/2018 size: 64KiB capacity: 15MiB capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi *-cpu description: CPU product: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz vendor: Intel Corp. physical id: 13 bus info: cpu@0 version: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz serial: To Be Filled By O.E.M. slot: U3E1 size: 4399MHz capacity: 4500MHz width: 64 bits clock: 100MHz capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d cpufreq configuration: cores=4 enabledcores=4 threads=4 *-cache:0 description: L1 cache physical id: 10 slot: L1 Cache size: 256KiB capacity: 256KiB capabilities: synchronous internal write-back unified configuration: level=1 *-cache:1 description: L2 cache physical id: 11 slot: L2 Cache size: 1MiB capacity: 1MiB capabilities: synchronous internal write-back unified configuration: level=2 *-cache:2 description: L3 cache physical id: 12 slot: L3 Cache size: 8MiB capacity: 8MiB capabilities: synchronous internal write-back unified configuration: level=3 *-memory description: System Memory physical id: a slot: System board or motherboard size: 32GiB *-bank:0 description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns) product: BLS16G4D240FSB.16FBD vendor: 859B physical id: 0 serial: 2604008A slot: ChannelA-DIMM0 size: 16GiB width: 64 bits clock: 2400MHz (0.4ns) *-bank:1 description: [empty] physical id: 1 slot: ChannelA-DIMM1 *-bank:2 description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns) product: BLS16G4D240FSB.16FBD vendor: 859B physical id: 2 serial: 260400CF slot: ChannelB-DIMM0 size: 16GiB width: 64 bits clock: 2400MHz (0.4ns) *-bank:3 description: [empty] physical id: 3 slot: ChannelB-DIMM1 *-pci description: Host bridge product: Intel Corporation vendor: Intel Corporation physical id: 100 bus info: pci@0000:00:00.0 version: 05 width: 32 bits clock: 33MHz *-pci:0 description: PCI bridge product: Skylake PCIe Controller (x16) vendor: Intel Corporation physical id: 1 bus info: pci@0000:00:01.0 version: 05 width: 32 bits clock: 33MHz capabilities: pci pm msi pciexpress normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:123 ioport:e000(size=4096) memory:de000000-df0fffff ioport:2fa0000000(size=301989888) *-display description: VGA compatible controller product: NVIDIA Corporation vendor: NVIDIA Corporation physical id: 0 bus info: pci@0000:01:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom configuration: driver=vfio-pci latency=0 resources: iomemory:2f0-2ef iomemory:2f0-2ef irq:157 memory:de000000-deffffff memory:2fa0000000-2fafffffff memory:2fb0000000-2fb1ffffff ioport:e000(size=128) memory:df000000-df07ffff *-multimedia description: Audio device product: NVIDIA Corporation vendor: NVIDIA Corporation physical id: 0.1 bus info: pci@0000:01:00.1 version: a1 width: 32 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=vfio-pci latency=0 resources: irq:17 memory:df080000-df083fff *-display description: VGA compatible controller product: Intel Corporation vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 04 width: 64 bits clock: 33MHz capabilities: pciexpress msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: iomemory:2f0-2ef irq:150 memory:2ffe000000-2ffeffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff *-generic UNCLAIMED description: System peripheral product: Skylake Gaussian Mixture Model vendor: Intel Corporation physical id: 8 bus info: pci@0000:00:08.0 version: 00 width: 64 bits clock: 33MHz capabilities: msi pm bus_master cap_list configuration: latency=0 resources: iomemory:2f0-2ef memory:2fff012000-2fff012fff *-usb description: USB controller product: Intel Corporation vendor: Intel Corporation physical id: 14 bus info: pci@0000:00:14.0 version: 00 width: 64 bits clock: 33MHz capabilities: pm msi xhci bus_master cap_list configuration: driver=xhci_hcd latency=0 resources: iomemory:2f0-2ef irq:136 memory:2fff000000-2fff00ffff *-communication description: Communication controller product: Intel Corporation vendor: Intel Corporation physical id: 16 bus info: pci@0000:00:16.0 version: 00 width: 64 bits clock: 33MHz capabilities: pm msi bus_master cap_list configuration: driver=mei_me latency=0 resources: iomemory:2f0-2ef irq:143 memory:2fff011000-2fff011fff *-storage description: SATA controller product: Intel Corporation vendor: Intel Corporation physical id: 17 bus info: pci@0000:00:17.0 version: 00 width: 32 bits clock: 66MHz capabilities: storage msi pm ahci_1.0 bus_master cap_list configuration: driver=ahci latency=0 resources: irq:135 memory:df904000-df905fff memory:df907000-df9070ff ioport:f090(size=8) ioport:f080(size=4) ioport:f060(size=32) memory:df906000-df9067ff *-pci:1 description: PCI bridge product: Intel Corporation vendor: Intel Corporation physical id: 1b bus info: pci@0000:00:1b.0 version: f0 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:124 ioport:d000(size=4096) memory:df800000-df8fffff ioport:2fe0000000(size=270532608) *-display description: VGA compatible controller product: Ellesmere [Radeon RX 470/480] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:02:00.0 version: e7 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list rom configuration: driver=vfio-pci latency=0 resources: iomemory:2f0-2ef iomemory:2f0-2ef irq:144 memory:2fe0000000-2fefffffff memory:2ff0000000-2ff01fffff ioport:d000(size=256) memory:df800000-df83ffff memory:df840000-df85ffff *-multimedia description: Audio device product: Advanced Micro Devices, Inc. [AMD/ATI] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0.1 bus info: pci@0000:02:00.1 version: 00 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi bus_master cap_list configuration: driver=vfio-pci latency=0 resources: irq:151 memory:df860000-df863fff *-pci:2 description: PCI bridge product: Intel Corporation vendor: Intel Corporation physical id: 1b.5 bus info: pci@0000:00:1b.5 version: f0 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:125 ioport:6000(size=16384) memory:df100000-df4fffff ioport:2f00000000(size=1881145344) *-pci description: PCI bridge product: ASMedia Technology Inc. vendor: ASMedia Technology Inc. physical id: 0 bus info: pci@0000:03:00.0 version: 00 width: 32 bits clock: 33MHz capabilities: pci msi pm pciexpress normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:130 ioport:6000(size=16384) memory:df100000-df4fffff ioport:2f00000000(size=1881145344) *-pci:0 description: PCI bridge product: ASMedia Technology Inc. vendor: ASMedia Technology Inc. physical id: 1 bus info: pci@0000:04:01.0 version: 00 width: 64 bits clock: 33MHz capabilities: pci msi pm pciexpress normal_decode bus_master cap_list configuration: driver=pcieport resources: iomemory:91910-9190f irq:131 ioport:9000(size=4096) memory:df400000-df4fffff ioport:2f60000000(size=270532608) *-display description: VGA compatible controller product: Ellesmere [Radeon RX 470/480] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:05:00.0 version: e7 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list rom configuration: driver=vfio-pci latency=0 resources: iomemory:2f0-2ef iomemory:2f0-2ef irq:145 memory:2f60000000-2f6fffffff memory:2f70000000-2f701fffff ioport:9000(size=256) memory:df400000-df43ffff memory:df440000-df45ffff *-multimedia description: Audio device product: Advanced Micro Devices, Inc. [AMD/ATI] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0.1 bus info: pci@0000:05:00.1 version: 00 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi bus_master cap_list configuration: driver=vfio-pci latency=0 resources: irq:152 memory:df460000-df463fff *-pci:1 description: PCI bridge product: ASMedia Technology Inc. vendor: ASMedia Technology Inc. physical id: 3 bus info: pci@0000:04:03.0 version: 00 width: 64 bits clock: 33MHz capabilities: pci msi pm pciexpress normal_decode bus_master cap_list configuration: driver=pcieport resources: iomemory:81810-8180f irq:132 ioport:8000(size=4096) memory:df300000-df3fffff ioport:2f40000000(size=270532608) *-display description: VGA compatible controller product: Ellesmere [Radeon RX 470/480] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:06:00.0 version: e7 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list rom configuration: driver=vfio-pci latency=0 resources: iomemory:2f0-2ef iomemory:2f0-2ef irq:146 memory:2f40000000-2f4fffffff memory:2f50000000-2f501fffff ioport:8000(size=256) memory:df300000-df33ffff memory:df340000-df35ffff *-multimedia description: Audio device product: Advanced Micro Devices, Inc. [AMD/ATI] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0.1 bus info: pci@0000:06:00.1 version: 00 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi bus_master cap_list configuration: driver=vfio-pci latency=0 resources: irq:153 memory:df360000-df363fff *-pci:2 description: PCI bridge product: ASMedia Technology Inc. vendor: ASMedia Technology Inc. physical id: 5 bus info: pci@0000:04:05.0 version: 00 width: 64 bits clock: 33MHz capabilities: pci msi pm pciexpress normal_decode bus_master cap_list configuration: driver=pcieport resources: iomemory:71710-7170f irq:133 ioport:7000(size=4096) memory:df200000-df2fffff ioport:2f20000000(size=270532608) *-display description: VGA compatible controller product: Ellesmere [Radeon RX 470/480] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:07:00.0 version: e7 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list rom configuration: driver=vfio-pci latency=0 resources: iomemory:2f0-2ef iomemory:2f0-2ef irq:147 memory:2f20000000-2f2fffffff memory:2f30000000-2f301fffff ioport:7000(size=256) memory:df200000-df23ffff memory:df240000-df25ffff *-multimedia description: Audio device product: Advanced Micro Devices, Inc. [AMD/ATI] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0.1 bus info: pci@0000:07:00.1 version: 00 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi bus_master cap_list configuration: driver=vfio-pci latency=0 resources: irq:154 memory:df260000-df263fff *-pci:3 description: PCI bridge product: ASMedia Technology Inc. vendor: ASMedia Technology Inc. physical id: 7 bus info: pci@0000:04:07.0 version: 00 width: 64 bits clock: 33MHz capabilities: pci msi pm pciexpress normal_decode bus_master cap_list configuration: driver=pcieport resources: iomemory:61610-6160f irq:134 ioport:6000(size=4096) memory:df100000-df1fffff ioport:2f00000000(size=270532608) *-display description: VGA compatible controller product: Ellesmere [Radeon RX 470/480] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:08:00.0 version: e7 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list rom configuration: driver=vfio-pci latency=0 resources: iomemory:2f0-2ef iomemory:2f0-2ef irq:148 memory:2f00000000-2f0fffffff memory:2f10000000-2f101fffff ioport:6000(size=256) memory:df100000-df13ffff memory:df140000-df15ffff *-multimedia description: Audio device product: Advanced Micro Devices, Inc. [AMD/ATI] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0.1 bus info: pci@0000:08:00.1 version: 00 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi bus_master cap_list configuration: driver=vfio-pci latency=0 resources: irq:155 memory:df160000-df163fff *-pci:3 description: PCI bridge product: Intel Corporation vendor: Intel Corporation physical id: 1c bus info: pci@0000:00:1c.0 version: f0 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:126 ioport:c000(size=4096) memory:df700000-df7fffff *-network description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:09:00.0 logical name: enp9s0 version: 15 serial: b8:97:5a:f6:84:54 size: 1Gbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.0.3 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s resources: irq:16 ioport:c000(size=256) memory:df704000-df704fff memory:df700000-df703fff *-pci:4 description: PCI bridge product: Intel Corporation vendor: Intel Corporation physical id: 1c.5 bus info: pci@0000:00:1c.5 version: f0 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:127 ioport:b000(size=4096) memory:dc000000-dd0fffff ioport:2f80000000(size=301989888) *-display description: VGA compatible controller product: GP104 [GeForce GTX 1070] vendor: NVIDIA Corporation physical id: 0 bus info: pci@0000:0a:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress vga_controller bus_master cap_list rom configuration: driver=vfio-pci latency=0 resources: iomemory:2f0-2ef iomemory:2f0-2ef irq:158 memory:dc000000-dcffffff memory:2f80000000-2f8fffffff memory:2f90000000-2f91ffffff ioport:b000(size=128) memory:dd000000-dd07ffff *-multimedia description: Audio device product: GP104 High Definition Audio Controller vendor: NVIDIA Corporation physical id: 0.1 bus info: pci@0000:0a:00.1 version: a1 width: 32 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=vfio-pci latency=0 resources: irq:18 memory:dd080000-dd083fff *-pci:5 description: PCI bridge product: Intel Corporation vendor: Intel Corporation physical id: 1c.7 bus info: pci@0000:00:1c.7 version: f0 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:128 ioport:a000(size=4096) memory:df600000-df6fffff ioport:2fc0000000(size=270532608) *-display description: VGA compatible controller product: Ellesmere [Radeon RX 470/480] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:0b:00.0 version: e7 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list rom configuration: driver=vfio-pci latency=0 resources: iomemory:2f0-2ef iomemory:2f0-2ef irq:149 memory:2fc0000000-2fcfffffff memory:2fd0000000-2fd01fffff ioport:a000(size=256) memory:df600000-df63ffff memory:df640000-df65ffff *-multimedia description: Audio device product: Advanced Micro Devices, Inc. [AMD/ATI] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0.1 bus info: pci@0000:0b:00.1 version: 00 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi bus_master cap_list configuration: driver=vfio-pci latency=0 resources: irq:156 memory:df660000-df663fff *-pci:6 description: PCI bridge product: Intel Corporation vendor: Intel Corporation physical id: 1d bus info: pci@0000:00:1d.0 version: f0 width: 32 bits clock: 33MHz capabilities: pci pciexpress msi pm normal_decode bus_master cap_list configuration: driver=pcieport resources: irq:129 memory:df500000-df5fffff *-storage description: Non-Volatile memory controller product: Samsung Electronics Co Ltd vendor: Samsung Electronics Co Ltd physical id: 0 bus info: pci@0000:0c:00.0 version: 00 width: 64 bits clock: 33MHz capabilities: storage pm msi pciexpress msix nvm_express bus_master cap_list configuration: driver=nvme latency=0 resources: irq:16 memory:df500000-df503fff *-isa description: ISA bridge product: Intel Corporation vendor: Intel Corporation physical id: 1f bus info: pci@0000:00:1f.0 version: 00 width: 32 bits clock: 33MHz capabilities: isa bus_master configuration: latency=0 *-memory UNCLAIMED description: Memory controller product: Intel Corporation vendor: Intel Corporation physical id: 1f.2 bus info: pci@0000:00:1f.2 version: 00 width: 32 bits clock: 33MHz (30.3ns) capabilities: bus_master configuration: latency=0 resources: memory:df900000-df903fff *-serial UNCLAIMED description: SMBus product: Intel Corporation vendor: Intel Corporation physical id: 1f.4 bus info: pci@0000:00:1f.4 version: 00 width: 64 bits clock: 33MHz configuration: latency=0 resources: iomemory:2f0-2ef memory:2fff010000-2fff0100ff ioport:f040(size=32)