The wacom kernel has the potential to crash if a sysfs node is accessed while the device is in the middle of being disconnected. Although the driver is careful to destroy the sysfs nodes before tearing down internal structures, it seems that open file descriptors are left valid and may be used to command the driver mid-teardown.
In my particular case, I see a segfault occuring inside wacom_led_select_store
on a fraction of disconnects, likely due to gnome-control-center (the only application I'm aware of on my system which would be attempting to control the LEDs).
Sample crash from Ubuntu 14.04 with the 3.13.0-74-generic ("linux-generic-lts-trusty") kernel. Triggered by using modprobe to repeatedly load and unload the wacom kernel module. Last 3 probe/disconnect events included for context.
Related
Bugs:
#1The LED related issue was fixed in 3.17 by the introduction of led_initialized in Benjamin's "put a flag when the led are initialized" patch.
"compiz[8014]: segfault at 0 ip...." is still an issue, which is caused by g-s-d. A bug has been filed at https://bugzilla.gnome.org/show_bug.cgi?id=765996
Last edit: Jason Gerecke 2016-06-03