[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8056f890-0297-6fa9-c9a6-c9909e0f24af@linux.intel.com>
Date: Mon, 7 Dec 2020 14:55:18 +0200
From: Vladimir Kondratiev <vladimir.kondratiev@...ux.intel.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Jonathan Corbet <corbet@....net>,
Luis Chamberlain <mcgrof@...nel.org>,
Kees Cook <keescook@...omium.org>,
Iurii Zaikin <yzaikin@...gle.com>,
"Paul E. McKenney" <paulmck@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Randy Dunlap <rdunlap@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Mike Kravetz <mike.kravetz@...cle.com>,
"Guilherme G. Piccoli" <gpiccoli@...onical.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Kars Mulder <kerneldev@...smulder.nl>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Kishon Vijay Abraham I <kishon@...com>,
Arvind Sankar <nivedita@...m.mit.edu>,
Joe Perches <joe@...ches.com>,
Rafael Aquini <aquini@...hat.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Christian Brauner <christian.brauner@...ntu.com>,
Alexei Starovoitov <ast@...nel.org>,
Davidlohr Bueso <dave@...olabs.net>,
Michel Lespinasse <walken@...gle.com>,
Jann Horn <jannh@...gle.com>, chenqiwu <chenqiwu@...omi.com>,
Minchan Kim <minchan@...nel.org>,
Christophe Leroy <christophe.leroy@....fr>,
Vladimir Kondratiev <vladimir.kondratiev@...el.com>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: Re: [RFC PATCH] do_exit(): panic() recursion detected
We do panic on oops as well. We panic on anything that may point to
system stability issues. I can't proof this code can't be reached
without oops, so I want to panic here as well.
On 12/7/20 2:51 PM, Peter Zijlstra wrote:
> On Mon, Dec 07, 2020 at 02:40:49PM +0200, Vladimir Kondratiev wrote:
>> From: Vladimir Kondratiev <vladimir.kondratiev@...el.com>
>>
>> Recursive do_exit() is symptom of compromised kernel integrity.
>> For safety critical systems, it may be better to
>> panic() in this case to minimize risk.
>
> You've not answered the previously posed question on why panic_on_oops
> isn't more suitable for your type of systems.
>
>> Signed-off-by: Vladimir Kondratiev <vladimir.kondratiev@...el.com>
>> Change-Id: I42f45900a08c4282c511b05e9e6061360d07db60
>
> This Change-ID crap doesn't belong in kernel patches.
>
Powered by blists - more mailing lists