[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y0eoOwU1cT7N9ywF@kroah.com>
Date: Thu, 13 Oct 2022 07:55:07 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Sasha Levin <sashal@...nel.org>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
GUO Zihua <guozihua@...wei.com>, philipp.g.hortmann@...il.com,
dan.carpenter@...cle.com, dave@...olabs.net,
yangyingliang@...wei.com, yogi.kernel@...il.com,
f3sch.git@...look.com, linux-staging@...ts.linux.dev
Subject: Re: [PATCH AUTOSEL 5.4 07/27] staging: rtl8192e: Fix return type for
implementation of ndo_start_xmit
On Wed, Oct 12, 2022 at 08:24:39PM -0400, Sasha Levin wrote:
> From: GUO Zihua <guozihua@...wei.com>
>
> [ Upstream commit 513d9a61156d79dd0979c4ad400c8587f52cbb9d ]
>
> CFI (Control Flow Integrity) is a safety feature allowing the system to
> detect and react should a potential control flow hijacking occurs. In
> particular, the Forward-Edge CFI protects indirect function calls by
> ensuring the prototype of function that is actually called matches the
> definition of the function hook.
>
> Since Linux now supports CFI, it will be a good idea to fix mismatched
> return type for implementation of hooks. Otherwise this would get
> cought out by CFI and cause a panic.
Not needed in any stable branch, please drop from all.
thanks,
greg k-h
Powered by blists - more mailing lists