linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] input - leds: fix bugs found by fuzzing
@ 2017-12-14 13:25 Benjamin Tissoires
  2017-12-14 13:25 ` [PATCH 1/2] input - leds: do not iterate over non initialized leds Benjamin Tissoires
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Benjamin Tissoires @ 2017-12-14 13:25 UTC (permalink / raw)
  To: Dmitry Torokhov, Samuel Thibault, Peter Hutterer
  Cc: linux-input, linux-kernel, Benjamin Tissoires

Hi,

Peter wrote a fuzzing uinput program[1] to check on libinput,
and the result is that the kernel fails more often than
libinput :)

These 2 patches allow to fix the early failures.

I marked them as stable as I believe eventhough not many
people discovered those and reported them, they should
still be fixed in current kernels.

The fuzzing process still manages to crash the kernel,
bu I have the feeling those crashes are now related
to some races between other userspace process that attempt
to handle the spurious events injected in those random
devices. For instance, the KEY_BLUETOOTH or RF_KILL seem
to manage to mess up my network driver.

Cheers,
Benjamin

[1] https://github.com/whot/fuzzydevice

Benjamin Tissoires (2):
  input - leds: do not iterate over non initialized leds
  input - leds: fix input_led_disconnect path

 drivers/input/input-leds.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.14.3


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-12-20 18:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-14 13:25 [PATCH 0/2] input - leds: fix bugs found by fuzzing Benjamin Tissoires
2017-12-14 13:25 ` [PATCH 1/2] input - leds: do not iterate over non initialized leds Benjamin Tissoires
2017-12-14 13:25 ` [PATCH 2/2] input - leds: fix input_led_disconnect path Benjamin Tissoires
2017-12-15  0:19   ` Samuel Thibault
2017-12-16  0:48   ` Dmitry Torokhov
2017-12-20 15:11     ` Benjamin Tissoires
2017-12-20 18:20       ` Dmitry Torokhov
2017-12-20 18:42         ` Benjamin Tissoires
2017-12-15  0:16 ` [PATCH 0/2] input - leds: fix bugs found by fuzzing Samuel Thibault
2017-12-15  8:04   ` Benjamin Tissoires

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).