Skip to content

media: cec: syzkaller fixes

Hans Verkuil linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4media: cec: cec-adap: always cancel work in cec_transmit_msg_fhdrivers/media/cec/core/cec-adap.c+1 -20 replies
2/4media: cec: cec-api: add locking in cec_release()drivers/media/cec/core/cec-api.c+3 -00 replies
3/4media: cec: core: avoid recursive cec_claim_log_addrsdrivers/media/cec/core/cec-adap.c drivers/media/cec/core/cec-api.c include/media/cec.h+7 -20 replies
4/4media: cec: core: avoid confusing "transmit timed out" messagedrivers/media/cec/core/cec-adap.c+14 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH for v6.10 0/4] media: cec: syzkaller fixes

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(-)
Signature · 1 line
2.43.0