lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20220926094050.30a4fe59@kernel.org> Date: Mon, 26 Sep 2022 09:40:50 -0700 From: Jakub Kicinski <kuba@...nel.org> To: Raed Salem <raeds@...dia.com> Cc: Sabrina Dubroca <sd@...asysnail.net>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>, Lior Nahmanson <liorna@...dia.com>, Saeed Mahameed <saeedm@...dia.com> Subject: Re: [PATCH net-next] macsec: don't free NULL metadata_dst On Sun, 25 Sep 2022 07:29:36 +0000 Raed Salem wrote: > >Commit 0a28bfd4971f added a metadata_dst to each tx_sc, but that's only > >allocated when macsec_add_dev has run, which happens after device > >registration. If the requested or computed SCI already exists, or if linking to > >the lower device fails, we will panic because metadata_dst_free can't handle > >NULL. > > > >Reproducer: > > ip link add link $lower type macsec > > ip link add link $lower type macsec > > > >Fixes: 0a28bfd4971f ("net/macsec: Add MACsec skb_metadata_dst Tx Data > >path support") > >Signed-off-by: Sabrina Dubroca <sd@...asysnail.net> > > Acked by me Thanks a lot for the review! Please prefer the full: Acked-by: Raed Salem <raeds@...dia.com> format in the future, this way it will be picked up by the automation.
Powered by blists - more mailing lists