Fuzzing Mesa Drivers Begin To Uncover Bugs

Written by Michael Larabel in Mesa on 24 February 2017 at 11:18 AM EST. 13 Comments
MESA
Last December we wrote about work being done on fuzzing OpenGL shaders leading to wild differences with the work being done at the Imperial College London. While they were testing other drivers on different operating systems, they have now fired up tests of Mesa.

Alastair Donaldson who has been part of this initiative for OpenGL shader fuzzing to find flaws in graphics drivers has uncovered their first Intel Mesa driver bug from fuzzing. They have been using GLFuzz to do the fuzzing, though it doesn't look like GLFuzz itself has been made public yet, but for their bug report they do have a public test case.

The bug is Wrong and unstable image rendering from GLSL fragment shaders. "Both shaders should render an image that looks like original.png...The shaders render completely different images, which they should not. Moreover, the variant.frag file rendering seems unstable, i.e. it does not always render the same image, but it always renders an image different from the expected one."

It will be interesting to see what else they uncover and if they happen to fuzz the RadeonSI stack as well. Given the fuzzing issues they have uncovered in fuzzing OpenGL drivers on other platforms, there are likely more bugs to uncover with the Mesa/Gallium3D drivers. Those wishing to learn more about their OpenGL fuzzing work can see Alastair's Medium page. The group also appears to have done some experimenting with Vulkan fuzzing.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week