Re: [PATCH] tracing/net_sched: NULL pointer dereference in perf_trace_qdisc_reset()

From: Greg Kroah-Hartman
Date: Thu Jul 04 2024 - 07:54:56 EST


On Thu, Jul 04, 2024 at 08:16:34PM +0900, Yunseong Kim wrote:
> Hi Greg, Hi Jakub
>
> On 7/4/24 6:32 오후, Greg Kroah-Hartman wrote:
> > On Wed, Jul 03, 2024 at 07:18:35PM -0700, Jakub Kicinski wrote:
> >> On Wed, 3 Jul 2024 03:01:47 +0900 Yunseong Kim wrote:
> >>> Support backports for stable version. There are two places where null
> >>> deref could happen before
> >>> commit 2c92ca849fcc ("tracing/treewide: Remove second parameter of __assign_str()")
> >>> Link: https://lore.kernel.org/linux-trace-kernel/20240516133454.681ba6a0@xxxxxxxxxxxxxxxxxxxx/
> >>>
> >>> I've checked +v6.1.82 +v6.6.22 +v6.7.10, +v6.8, +6.9, this version need
> >>> to be applied, So, I applied the patch, tested it again, and confirmed
> >>> working fine.
> >>
> >> You're missing the customary "[ Upstream commit <upstream commit> ]"
> >> line, not sure Greg will pick this up.
> >>
> >
> > Yeah, I missed this, needs to be very obvious what is happening here.
> > I'll replace the version in the queues with this one now, thanks.
> >
> > greg k-h
>
>
> Thank you for your hard work.
>
>
> This fix need to be applied versions in +v5.10.213, +v5.15.152, +v6.1.82
> +v6.6.22, +v6.7.10, +v6.8, +6.9
>

Already done.