[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2ED74AA5-B2A5-43FA-ADF9-B6752FE410C4@goodmis.org>
Date: Wed, 07 Dec 2022 00:18:17 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Alexei Starovoitov <alexei.starovoitov@...il.com>
CC: Masami Hiramatsu <mhiramat@...nel.org>,
LKML <linux-kernel@...r.kernel.org>, bpf <bpf@...r.kernel.org>,
Borislav Petkov <bp@...en8.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Kees Cook <keescook@...omium.org>,
Josh Poimboeuf <jpoimboe@...hat.com>,
KP Singh <kpsingh@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Florent Revest <revest@...omium.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Christoph Hellwig <hch@...radead.org>,
Chris Mason <clm@...a.com>
Subject: Re: [PATCH v2] panic: Taint kernel if fault injection has been used
On December 6, 2022 11:45:17 PM EST, Alexei Starovoitov <alexei.starovoitov@...il.com> wrote:
>On Tue, Dec 6, 2022 at 8:39 PM Steven Rostedt <rostedt@...dmis.org> wrote:
>> >
>> > [ 49.281382] general protection fault, probably for non-canonical address 0x57e006e00000000: 0000 [#1] PREEMPT SMP KASAN
>> > [ 49.282226] CPU: 6 PID: 1688 Comm: test_progs Tainted: G B O 6.1.0-rc7-01508-gf0c5a2d9f234 #4343
>> > [ 49.283751] RIP: 0010:rethook_trampoline_handler+0xff/0x1d0
>> > [ 49.289900] Call Trace:
>> > [ 49.290083] <TASK>
>> > [ 49.290248] arch_rethook_trampoline_callback+0x6c/0xa0
>> > [ 49.290631] arch_rethook_trampoline+0x2c/0x50
>> > [ 49.290964] ? lock_release+0xad/0x3f0
>> > [ 49.291245] ? bpf_prog_test_run_tracing+0x235/0x380
>> > [ 49.291609] trace_clock_x86_tsc+0x10/0x10
>> >
>> > This is just running bpf selftests in parallel mode on 16-cpu VM on bpf-next.
>> > Notice 'Tained' flags.
>> > Please take a look.
>> >
>>
>> "G - Proprietary module" - "O - out of tree module"
>>
>> Can you reproduce this without those taints?
>
>Lol. That question is exactly the reason why my Nack stands.
I only said the above *because* of your comment ;-)
-- Steve
--
Sent from my Android device with K-9 Mail. Please excuse my brevity and top posting.
Powered by blists - more mailing lists