[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yt9d7cq7s7ta.fsf@linux.ibm.com>
Date: Mon, 07 Aug 2023 08:08:49 +0200
From: Sven Schnelle <svens@...ux.ibm.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: BUG: KASAN: slab-out-of-bounds in print_synth_event+0xa68/0xa78
Steven Rostedt <rostedt@...dmis.org> writes:
> On Fri, 04 Aug 2023 18:32:48 +0200
> Sven Schnelle <svens@...ux.ibm.com> wrote:
>
>> > Can you show where exactly the above line is?
>>
>> It is:
>>
>> (gdb) list *(print_synth_event+0xa68)
>> 0x5e4f60 is in print_synth_event (/home/svens/ibmgit/linux/kernel/trace/trace_events_synth.c:410).
>> 405 p = (void *)entry + data_offset;
>> 406 end = (void *)p + len - (sizeof(long) - 1);
>> 407
>> 408 trace_seq_printf(s, "%s=STACK:\n", se->fields[i]->name);
>> 409
>> 410 for (; *p && p < end; p++)
>
> I think that conditional needs to be swapped. Can you test the following
> change and see if the problem disappears?
Unfortunately that doesn't change anything, still exactly the same splat.
Powered by blists - more mailing lists