[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150812122734.GB5182@dhcp22.suse.cz>
Date: Wed, 12 Aug 2015 14:27:34 +0200
From: Michal Hocko <mhocko@...nel.org>
To: Sasha Levin <sasha.levin@...cle.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Mel Gorman <mgorman@...e.de>,
Johannes Weiner <hannes@...xchg.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: mm: use after free and panic in free_pages_and_swap_cache
On Mon 10-08-15 09:37:06, Sasha Levin wrote:
> Hi all,
Hi Sasha,
> While fuzzing with trinity inside a KVM tools guest running -next I've
> stumbled on the following:
Could post your config somewhere please? Or maybe just the disassemble
of free_pages_and_swap_cache and tlb_flush_mmu_free should be sufficient.
I am not sure I read the report properly. It all seem to point to
free_pages_and_swap_cache resp. tlb_flush_mmu_free but I fail to see
what could be wrong there. The last reference on the page should be
dropped in release_pages. The given pages array shouldn't be freed
behind our back as well because mmu_gather is local to this path.
--
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists