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: <a1656a7c-7eb0-4a21-8c49-89014beeb7ed@embeddedor.com> Date: Tue, 28 Nov 2023 14:12:08 -0600 From: "Gustavo A. R. Silva" <gustavo@...eddedor.com> To: Joey Gouly <joey.gouly@....com>, "Gustavo A. R. Silva" <gustavoars@...nel.org> Cc: "David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Bill Wendling <morbo@...gle.com>, Kees Cook <keescook@...omium.org>, netdev@...r.kernel.org, linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org Subject: Re: [PATCH] neighbour: Fix __randomize_layout crash in struct neighbour >> diff --git a/include/net/neighbour.h b/include/net/neighbour.h >> index 07022bb0d44d..0d28172193fa 100644 >> --- a/include/net/neighbour.h >> +++ b/include/net/neighbour.h >> @@ -162,7 +162,7 @@ struct neighbour { >> struct rcu_head rcu; >> struct net_device *dev; >> netdevice_tracker dev_tracker; >> - u8 primary_key[0]; >> + u8 primary_key[]; >> } __randomize_layout; >> >> struct neigh_ops { > > Fixes the crash for me! Awesome. :) -- Gustavo
Powered by blists - more mailing lists