Bug#1029602: vmwgfx: kernel oops when using fbterm in vmware

2023-01-30 Thread Keyu Tao
Continued testing and found that this bug: - Not reproducible in current Linux 6.2-rcX mainline - Reproducible in Linux 6.1.7-1 (bookworm kernel package) The git history of drivers/gpu/drm/vmwgfx shows that the offending function `vmw_fb_dirty_flush()` in file vmwgfx_fb.c has been removed by

Bug#1029602: vmwgfx: kernel oops when using fbterm in vmware

2023-01-29 Thread Salvatore Bonaccorso
Hi, On Sun, Jan 29, 2023 at 04:46:38PM +0800, taoky wrote: > Hi Bonaccorso, > > I have tested the vanilla 5.10.165 and the 6.0.12-1 in bullseye-backports, > and they both have this bug. > > I'm going to compile a mainline kernel and then report this bug. BTW, I'm > not sure... does it mean to

Bug#1029602: vmwgfx: kernel oops when using fbterm in vmware

2023-01-29 Thread taoky
Hi Bonaccorso, I have tested the vanilla 5.10.165 and the 6.0.12-1 in bullseye-backports, and they both have this bug. I'm going to compile a mainline kernel and then report this bug. BTW, I'm not sure... does it mean to Cc 1029...@bugs.debian.org when reporting to upstream to "keep in the

Bug#1029602: vmwgfx: kernel oops when using fbterm in vmware

2023-01-28 Thread Salvatore Bonaccorso
Hi, On Wed, Jan 25, 2023 at 06:18:35PM +0800, Keyu Tao wrote: > Source: linux > Severity: normal > X-Debbugs-Cc: taok...@outlook.com > > Dear Maintainer, > > It seems that fbterm triggers an out-of-bound memory write (memcpy) when > vmwgfx loads. > > Dmesg oops message: > > [ 214.780971]

Bug#1029602: vmwgfx: kernel oops when using fbterm in vmware

2023-01-25 Thread Keyu Tao
Did some simple debugging on fbterm just now, and I found out that kernel oops when fbterm running `Screen::move()` () The most suspicious function inside is setupOffset(), which calls an ioctl(), setting yoffset: ``` void

Bug#1029602: vmwgfx: kernel oops when using fbterm in vmware

2023-01-25 Thread Diederik de Haas
Control: found -1 5.10.162-1 On Wednesday, 25 January 2023 11:18:35 CET Keyu Tao wrote: > [ 214.783069] CPU: 0 PID: 372 Comm: kworker/0:4 Kdump: loaded Not tainted > 5.10.0-21-amd64 #1 Debian 5.10.162-1 signature.asc Description: This is a digitally signed message part.

Processed: Re: Bug#1029602: vmwgfx: kernel oops when using fbterm in vmware

2023-01-25 Thread Debian Bug Tracking System
Processing control commands: > found -1 5.10.162-1 Bug #1029602 [src:linux] vmwgfx: kernel oops when using fbterm in vmware Marked as found in versions linux/5.10.162-1. -- 1029602: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029602 Debian Bug Tracking System Contact

Bug#1029602: vmwgfx: kernel oops when using fbterm in vmware

2023-01-25 Thread Keyu Tao
Source: linux Severity: normal X-Debbugs-Cc: taok...@outlook.com Dear Maintainer, It seems that fbterm triggers an out-of-bound memory write (memcpy) when vmwgfx loads. Dmesg oops message: [ 214.780971] BUG: unable to handle page fault for address: ae3dc1171000 [ 214.781348] #PF: