Re: [PATCH] media: st-delta: fix decoder use-after-free on release

From: Jérôme AUDU

Date: Fri Nov 27 2026 - 15:42:46 EST


Hi Nicolas, Hugues, all,

On Thu, 2026-11-26 at 16:47 -0500, Nicolas Dufresne wrote:
> All the changes in this driver since 2022 (and even there I'm not
> sure) are "found by code inspection". Is there any users left of
> this? Shall we just remove this driver ? I'll hold on any changes
> until I ear back from Hugues or someone at ST.

Yes, there are still active users of st-delta on real hardware, so
please keep it in mainline if possible!

There are at least 20 active boards — specifically STiH418-B2264
(4kopen) and STiH410-B2260 — running kernels that have been tracking
mainline closely for several years (currently on 7.3.y).

Over the last 6 months, mostly as a hobby project, we have done quite a
bit of work on top of the mainline STi drivers (st-delta, st-hva, bdisp,
sti-drm) and completed hardware decoding support in st-delta for
MPEG-1/2, MPEG-4 Part 2, H.264, H.265/HEVC, and VC-1/WMV9 (whereas
upstream only had MJPEG), working end-to-end with GStreamer and
FFmpeg/mpv. To be completely transparent, AI-assisted development
helped a lot to make this feasible on spare time, and everything is
thoroughly verified and validated on real hardware (including
conformance bitstreams).

Cleaning up and upstreaming our fixes and additions will take time
since this is done on spare time, so I don't want to over-promise on a
timeline, but it is definitely something we would like to do step by
step.

In the meantime, if it helps keep st-delta alive in mainline, I am
happy to test patches on real hardware (including this use-after-free
fix) so changes don't remain "code inspection only".

Best regards,
Jerome