aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2026-09-06 10:24:24 +0100
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-10-01 11:04:44 +0200
commit901d72d26b6dc135a41e3901b4690de124665d18 (patch)
treee7a315fec8dcbe88e27a7ccf815b2ff5b19aea62 /scripts/Makefile.thinlto
parentmedia: mali-c55: Free the ISP control handler on unregister (diff)
media: mali-c55: Check the parameters buffer address before copying
mali_c55_params_buf_prepare() copies the parameters buffer supplied by userspace into the driver's scratch buffer, using the result of vb2_plane_vaddr() as the source without checking it. The queue accepts VB2_DMABUF, and vb2_dc_vaddr() returns NULL for an exporter that cannot be vmapped, so the memcpy() dereferences NULL. Reject the buffer at prepare time instead. Fixes: d5f281f3dd29 ("media: mali-c55: Add Mali-C55 ISP driver") Cc: stable@vger.kernel.org Signed-off-by: David Carlier <devnexen@gmail.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions