<div dir="ltr"><div>Acked-by: Luke Nowakowski-Krijger <<a href="mailto:luke.nowakowskikrijger@canonical.com">luke.nowakowskikrijger@canonical.com</a>> <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 15, 2023 at 4:37 PM Cengiz Can <<a href="mailto:cengiz.can@canonical.com">cengiz.can@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[Impact]<br>
In the Linux kernel before 6.1.13, there is a double free in<br>
net/mpls/af_mpls.c upon an allocation failure (for registering the sysctl table<br>
under a new location) during the renaming of a device.<br>
<br>
[Fix]<br>
Clean cherry-pick from upstream.<br>
<br>
[Test case]<br>
Boot and basic frame TX/RX tested using Etherate (MT) MPLS Testing Tool.<br>
<br>
[Potential regression]<br>
Low. Only empties a pointer and adds a null check for it.<br>
<br>
Jakub Kicinski (1):<br>
  net: mpls: fix stale pointer if allocation fails during device rename<br>
<br>
 net/mpls/af_mpls.c | 4 ++++<br>
 1 file changed, 4 insertions(+)<br>
<br>
--<br>
2.37.2<br>
<br>
<br>
-- <br>
kernel-team mailing list<br>
<a href="mailto:kernel-team@lists.ubuntu.com" target="_blank">kernel-team@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/kernel-team" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/kernel-team</a><br>
</blockquote></div></div>