aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2026-09-29 15:37:30 +0100
committerSakari Ailus <sakari.ailus@linux.intel.com>2026-10-01 14:02:30 +0300
commitd3d9bc694fe087c672c3ad5871984dc45cd9f425 (patch)
tree3c0d38fd919440b0dbc3c4e289f0926c574537bd /scripts/Makefile.thinlto
parentmedia: ipu6: Fix ipu7 firmware context leak on stream start (diff)
media: ipu6: Fix firmware config leak on stream start
ipu6_isys_fwcom_cfg_init() runs on every first stream start and allocates the firmware config and queue configs with devm, so each STREAMON/STREAMOFF cycle leaks them. They are only needed until ipu6_fw_com_prepare() has copied them, so free them right after. Also check the return value, an allocation failure would otherwise make ipu6_fw_com_prepare() dereference a NULL queue config. Fixes: f625e8d7ffc1 ("media: intel/ipu6: input system ABI between firmware and driver") Cc: stable@vger.kernel.org Signed-off-by: David Carlier <devnexen@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions