[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0147506b-1abc-0938-73e5-dbaa1d8a74f1@6wind.com>
Date: Wed, 28 Sep 2022 23:26:00 +0200
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: Jakub Kicinski <kuba@...nel.org>, davem@...emloft.net
Cc: netdev@...r.kernel.org, edumazet@...gle.com, pabeni@...hat.com,
Florent Fourcot <florent.fourcot@...irst.fr>,
Nikolay Aleksandrov <razor@...ckwall.org>,
Johannes Berg <johannes@...solutions.net>,
Pablo Neira Ayuso <pablo@...filter.org>,
Florian Westphal <fw@...len.de>,
Jamal Hadi Salim <jhs@...atatu.com>,
Jacob Keller <jacob.e.keller@...el.com>,
Guillaume Nault <gnault@...hat.com>,
Hangbin Liu <liuhangbin@...il.com>
Subject: Re: [PATCH net] genetlink: reject use of nlmsg_flags for new commands
Le 28/09/2022 à 20:35, Jakub Kicinski a écrit :
> Commit 9c5d03d36251 ("genetlink: start to validate reserved header bytes")
> introduced extra validation for genetlink headers. We had to gate it
> to only apply to new commands, to maintain bug-wards compatibility.
> Use this opportunity (before the new checks make it to Linus's tree)
> to add more conditions.
>
> Validate that Generic Netlink families do not use nlmsg_flags outside
> of the well-understood set.
>
> Link: https://lore.kernel.org/all/20220928073709.1b93b74a@kernel.org/
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> --
> CC: Florent Fourcot <florent.fourcot@...irst.fr>
> CC: Nikolay Aleksandrov <razor@...ckwall.org>
> CC: Nicolas Dichtel <nicolas.dichtel@...nd.com>
> CC: Johannes Berg <johannes@...solutions.net>
> CC: Pablo Neira Ayuso <pablo@...filter.org>
> CC: Florian Westphal <fw@...len.de>
> CC: Jamal Hadi Salim <jhs@...atatu.com>
> CC: Jacob Keller <jacob.e.keller@...el.com>
> CC: Guillaume Nault <gnault@...hat.com>
> CC: Hangbin Liu <liuhangbin@...il.com>
Reviewed-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Thanks!
Powered by blists - more mailing lists