Messages in this thread | | | Date | Thu, 19 Nov 2020 01:33:57 +0200 | From | Vladimir Oltean <> | Subject | Re: [PATCH net-next] net: dsa: avoid potential use-after-free error |
| |
On Wed, Nov 18, 2020 at 04:43:35PM +0100, Christian Eggers wrote: > If dsa_switch_ops::port_txtstamp() returns false, clone will be freed > immediately. Storing the pointer in DSA_SKB_CB(skb)->clone anyway, > supports annoying use-after-free bugs.
Like what?
> Signed-off-by: Christian Eggers <ceggers@arri.de> > Fixes 146d442c2357 ("net: dsa: Keep a pointer to the skb clone for TX timestamping")
Not the right format for a Fixes: tag, please try to set up your .gitconfig to automate the creation of this tag.
| |