mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] media: ipu6: ipu7 and ipu6 fw-isys fixes
@ 2026-09-29 14:37 David Carlier
  2026-09-29 14:37 ` [PATCH v2 1/3] media: ipu6: Fix ipu7 firmware context leak on stream start David Carlier
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Carlier @ 2026-09-29 14:37 UTC (permalink / raw)
  To: linux-media
  Cc: Sakari Ailus, Antti Laakso, Sarang Sapre, Bingbu Cao,
	Mauro Carvalho Chehab, Hans Verkuil, linux-kernel, David Carlier

Fix the firmware config leaks on every stream start in both the ipu7 and
ipu6 fw-isys init paths, and a NULL dereference on a PIN_DATA_READY
response for an unconfigured ipu7 output pin.

Changes in v2:
- 1/3: use goto labels for error handling (Sakari)
- 2/3: new, same leak in ipu6_isys_fwcom_cfg_init() (Sakari), also check
  its return value
- 3/3: unchanged

v1: https://lore.kernel.org/linux-media/20260927201631.153126-1-devnexen@gmail.com/

David Carlier (3):
  media: ipu6: Fix ipu7 firmware context leak on stream start
  media: ipu6: Fix firmware config leak on stream start
  media: ipu6: Check the ipu7 output pin queue before completing a
    buffer

 drivers/media/pci/intel/ipu6/ipu6-fw-isys.c | 34 +++++++++++++++------
 drivers/media/pci/intel/ipu6/ipu7-fw-isys.c | 26 ++++++++++------
 2 files changed, 41 insertions(+), 19 deletions(-)


base-commit: 2dcdfb625c3b8fe87454e19dfbc54b3e3f0ad70e
-- 
2.55.0


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

end of thread, other threads:[~2026-09-29 14:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 14:37 [PATCH v2 0/3] media: ipu6: ipu7 and ipu6 fw-isys fixes David Carlier
2026-09-29 14:37 ` [PATCH v2 1/3] media: ipu6: Fix ipu7 firmware context leak on stream start David Carlier
2026-09-29 14:37 ` [PATCH v2 2/3] media: ipu6: Fix firmware config " David Carlier
2026-09-29 14:37 ` [PATCH v2 3/3] media: ipu6: Check the ipu7 output pin queue before completing a buffer David Carlier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®