[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240904142628.988cb1c7de769e9488375eb2@linux-foundation.org>
Date: Wed, 4 Sep 2024 14:26:28 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Michael Ellerman <mpe@...erman.id.au>
Cc: Sven Schnelle <svens@...ux.ibm.com>, Masami Hiramatsu
<mhiramat@...nel.org>, Oleg Nesterov <oleg@...hat.com>, Peter Zijlstra
<peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>, Arnaldo Carvalho de
Melo <acme@...nel.org>, Namhyung Kim <namhyung@...nel.org>, Mark Rutland
<mark.rutland@....com>, Alexander Shishkin
<alexander.shishkin@...ux.intel.com>, Jiri Olsa <jolsa@...nel.org>, Ian
Rogers <irogers@...gle.com>, Adrian Hunter <adrian.hunter@...el.com>,
"Liang, Kan" <kan.liang@...ux.intel.com>, Linus Torvalds
<torvalds@...ux-foundation.org>, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org
Subject: Re: [PATCH] uprobes: use vm_special_mapping close() functionality
On Wed, 04 Sep 2024 13:57:13 +1000 Michael Ellerman <mpe@...erman.id.au> wrote:
> Sven Schnelle <svens@...ux.ibm.com> writes:
> > Hi Michael,
>
> Hi Sven,
>
> > Sven Schnelle <svens@...ux.ibm.com> writes:
> >
> >> The following KASAN splat was shown:
> >>
> >> [ 44.505448] ================================================================== 20:37:27 [3421/145075]
> >> [ 44.505455] BUG: KASAN: slab-use-after-free in special_mapping_close+0x9c/0xc8
> >> [ 44.505471] Read of size 8 at addr 00000000868dac48 by task sh/1384
> ...
> >> [..]
> >
> > As this has a dependency on your special mapping close series, do you
> > want to carry that with your patches?
>
> Andrew has my series in mm-stable, so I think this should go into mm as
> well. I assume he will pick it up.
yup, thanks. Added, with
Fixes: 223febc6e557 ("mm: add optional close() to struct vm_special_mapping")
It appears that peterz is scooping up Sven's "uprobes: use kzalloc to
allocate xol area".
Powered by blists - more mailing lists