Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: Michael Riesch <michael.riesch@collabora.com>
Cc: Dang Huynh <dang.huynh@mainlining.org>,
	Mehdi Djait <mehdi.djait@linux.intel.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Heiko Stuebner <heiko@sntech.de>,
	Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
	Gerald Loacker <gerald.loacker@wolfvision.net>,
	Hans Verkuil <hverkuil+cisco@kernel.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	linux-media@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] media: rockchip: rkcif: Add missing MUST_CONNECT flag to pads
Date: Sun, 8 Mar 2026 14:40:45 +0200	[thread overview]
Message-ID: <aa1uTfimVo5H05Q7@kekkonen.localdomain> (raw)
In-Reply-To: <9bb4eced-5710-49ac-99cf-fa0b1d1459b1@collabora.com>

Hi Michael,

On Fri, Feb 13, 2026 at 09:06:47AM +0100, Michael Riesch wrote:
> Hi Dang,
> 
> Thanks for the patch -- and sorry for the late reply.
> 
> On 1/29/26 08:24, Dang Huynh wrote:
> > The pads missed checks for connected devices which may a null dereference
> > when the stream is enabled.
> > 
> > Unable to handle kernel NULL pointer dereference at virtual address
> > 0000000000000020
> > pc : rkcif_interface_enable_streams+0x48/0xf0
> > lr : rkcif_interface_enable_streams+0x44/0xf0
> > Call trace:
> >  rkcif_interface_enable_streams+0x48/0xf0
> >  v4l2_subdev_enable_streams+0x26c/0x3f0
> >  rkcif_stream_start_streaming+0x140/0x278
> >  vb2_start_streaming+0x74/0x188
> >  vb2_core_streamon+0xe0/0x1d8
> >  vb2_ioctl_streamon+0x60/0xa8
> >  v4l_streamon+0x2c/0x40
> >  __video_do_ioctl+0x34c/0x400
> >  video_usercopy+0x2d0/0x800
> >  video_ioctl2+0x20/0x60
> >  v4l2_ioctl+0x48/0x78
> > 
> > Fixes: 501802e2ad51 ("media: rockchip: rkcif: add abstraction for dma blocks")
> > Fixes: 85411d17bee9 ("media: rockchip: rkcif: add abstraction for interface and crop blocks")
> > Signed-off-by: Dang Huynh <dang.huynh@mainlining.org>
> 
> Reviewed-by: Michael Riesch <michael.riesch@collabora.com>

Thanks, I added Cc: stable to this one.

-- 
Regards,

Sakari Ailus


      reply	other threads:[~2026-03-08 12:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-29  7:24 [PATCH] media: rockchip: rkcif: Add missing MUST_CONNECT flag to pads Dang Huynh
2026-01-30 22:43 ` Laurent Pinchart
2026-02-13  8:06 ` Michael Riesch
2026-03-08 12:40   ` Sakari Ailus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aa1uTfimVo5H05Q7@kekkonen.localdomain \
    --to=sakari.ailus@linux.intel.com \
    --cc=bryan.odonoghue@linaro.org \
    --cc=dang.huynh@mainlining.org \
    --cc=gerald.loacker@wolfvision.net \
    --cc=heiko@sntech.de \
    --cc=hverkuil+cisco@kernel.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mchehab@kernel.org \
    --cc=mehdi.djait@linux.intel.com \
    --cc=michael.riesch@collabora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox