1. 03 10月, 2015 1 次提交
  2. 30 9月, 2015 1 次提交
    • D
      Input: psmouse - fix data race in __ps2_command · 218c1f76
      Dmitry Vyukov 提交于
      The data race happens on ps2dev->cmdcnt and ps2dev->cmdbuf contents.
      __ps2_command reads that data concurrently with the interrupt handler. As
      the result, for example, if a response arrives just after the timeout,
      __ps2_command can copy out garbage from ps2dev->cmdbuf but then see that
      ps2dev->cmdcnt is 0 and return success.
      
      Stop the interrupt handler with serio_pause_rx() before reading the
      results.
      
      The data race was found with KernelThreadSanitizer (KTSAN).
      Signed-off-by: NDmitry Vyukov <dvyukov@google.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      218c1f76
  3. 29 9月, 2015 3 次提交
  4. 28 9月, 2015 1 次提交
  5. 22 9月, 2015 4 次提交
  6. 20 9月, 2015 9 次提交
  7. 12 9月, 2015 1 次提交
  8. 06 9月, 2015 4 次提交
  9. 04 9月, 2015 10 次提交
  10. 29 8月, 2015 2 次提交
  11. 27 8月, 2015 2 次提交
  12. 25 8月, 2015 2 次提交