[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y0hQLEXtrz542h2m@sashalap>
Date: Thu, 13 Oct 2022 13:51:40 -0400
From: Sasha Levin <sashal@...nel.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
GUO Zihua <guozihua@...wei.com>, Larry.Finger@...inger.net,
florian.c.schilhabel@...glemail.com, fmdefrancesco@...il.com,
skumark1902@...il.com, asif.kgauri@...il.com,
linux-staging@...ts.linux.dev
Subject: Re: [PATCH AUTOSEL 5.4 06/27] staging: rtl8712: Fix return type for
implementation of ndo_start_xmit
On Thu, Oct 13, 2022 at 07:55:36AM +0200, Greg Kroah-Hartman wrote:
>On Wed, Oct 12, 2022 at 08:24:38PM -0400, Sasha Levin wrote:
>> From: GUO Zihua <guozihua@...wei.com>
>>
>> [ Upstream commit 307d343620e1fc7a6a2b7a1cdadb705532c9b6a5 ]
>>
>> 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.
>
>And another that should be dropped from all stable branches, thanks.
Ack, I'll drop this and the rest of the staging patches you've pointed
out.
--
Thanks,
Sasha
Powered by blists - more mailing lists