# Re: \[PATCH AUTOSEL 5.13 13/14\] net: fix NULL pointer reference in cipso\_v4\_doi\_free

- From: Paul Moore \<paul@paul-moore.com\>
- Date: 2021-09-07 13:07:01 
- List: stable
- Page: https://ratatoskr.run/stable/2021/09/1499182
- Thread: https://ratatoskr.run/stable/2021/08/1492062/t.md

```text
On Sun, Sep 5, 2021 at 8:54 AM Sasha Levin [ref] wrote:
> On Mon, Aug 30, 2021 at 10:20:22AM -0400, Paul Moore wrote:
> >On Mon, Aug 30, 2021 at 8:42 AM Dongliang Mu [ref] wrote:
> >>
> >> On Mon, Aug 30, 2021 at 8:01 PM Sasha Levin [ref] wrote:
> >> >
> >> > From: 王贇 <redacted>
> >> >
> >> > [ Upstream commit 733c99ee8be9a1410287cdbb943887365e83b2d6 ]
> >> >
> >>
> >> Hi Sasha,
> >>
> >> Michael Wang has sent a v2 patch [1] for this bug and it is merged
> >> into netdev/net-next.git. However, the v1 patch is already in the
> >> upstream tree.
> >>
> >> How do you guys handle such a issue?
> >>
> >> [1] https://lkml.org/lkml/2021/8/30/229
> >
> >Ugh.  Michael can you please work with netdev to fix this in the
> >upstream, and hopefully -stable, kernels?  My guess is you will need
> >to rebase your v2 patch on top of the v1 patch (basically what exists
> >in upstream) and send that back out.
>
> I'm just going to drop this one for now (it never made it in). If there
> is a follow-up you do want us to queue please let us know :)

Thanks Sasha.  The lore link below is the v2 version of the patch and
it is worth merging as a fix into the older kernels.

* https://lore.kernel.org/linux-security-module/18f0171e-0cc8-6ae6-d04a-a69a2a3c1a39@linux.alibaba.com

-- 
paul moore
www.paul-moore.com
```
