[PATCH 0/3] Fix kernel WARNING in TTM/Bochs KMS driver

From: 'Max Staudt
Date: Mon May 23 2016 - 06:53:47 EST


This patch set addresses an instance of dangling/use-after-free
pointers that can occur in the bochsdrm driver.

The original report can be found at:
https://lkml.kernel.org/g/s5hy49ue4y0.wl-tiwai@xxxxxxx

It can be tested using 'qemu-system-x86_64 -vga std' with any kernel
recent enough to ship the bochsdrm driver, and with the fbdev
emulation active.
In other words: Any modern distro's default setup will do.


Max Staudt



[PATCH 1/3] Add missing "goto out" after fbops->fb_open()
[PATCH 2/3] Define fb_open_adj_file()
[PATCH 3/3] Add fb_open_adj_file() to bochsdrmfb to avoid