[PATCH v2 0/3] media: ipu6: ipu7 and ipu6 fw-isys fixes
From: David Carlier
Date: Tue Sep 29 2026 - 10:37:53 EST
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@xxxxxxxxx/
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