mbox series

[for,v6.10,0/4] media: cec: syzkaller fixes

Message ID cover.1714649924.git.hverkuil-cisco@xs4all.nl
Headers show
Series media: cec: syzkaller fixes | expand

Message

Hans Verkuil May 2, 2024, 11:38 a.m. UTC
Chenyuan Yang found a bunch of syzkall issues:

https://lore.kernel.org/linux-media/PH7PR11MB57688E64ADE4FE82E658D86DA09EA@PH7PR11MB5768.namprd11.prod.outlook.com/

The patches in this series fix the various issues, and with these
in place, it passed the syzkaller tests.

Many thanks to Chenyuan for reporting this and doing all the testing,
since I had a hard timing reproducing them. It took a few months to
track it all down because of that.

Regards,

        Hans

Hans Verkuil (4):
  media: cec: cec-adap: always cancel work in cec_transmit_msg_fh
  media: cec: cec-api: add locking in cec_release()
  media: cec: core: avoid recursive cec_claim_log_addrs
  media: cec: core: avoid confusing "transmit timed out" message

 drivers/media/cec/core/cec-adap.c | 24 ++++++++++++++++++++----
 drivers/media/cec/core/cec-api.c  |  5 ++++-
 include/media/cec.h               |  1 +
 3 files changed, 25 insertions(+), 5 deletions(-)