Thread (4 messages) 4 messages, 2 authors, 2017-08-24

Re: Intermittent memory corruption with v4.13-rc6+ and earlier

From: Michal Hocko <mhocko@kernel.org>
Date: 2017-08-24 12:59:34
Also in: linux-arm-kernel, linux-fsdevel, lkml

On Thu 24-08-17 13:36:48, Mark Rutland wrote:
On Thu, Aug 24, 2017 at 01:48:34PM +0200, Michal Hocko wrote:
quoted
On Thu 24-08-17 12:37:43, Mark Rutland wrote:
quoted
Hi,

I'm chasing intermittent memory corruption bugs seen at least on rc5,
rc6, and yesterday's HEAD (98b9f8a4549909c6), on arm64. 

It looks like we make use of dangling references to a freed struct file,
which is caught by KASAN. Without KASAN, I see a number of other
intermittent issues that I suspect are the result of this memory
corruption. I've included an example splat below, complete with KASAN's
alloc/free traces at the end of this mail.
Is it possible this is the same issue as the one fixed by
http://lkml.kernel.org/r/20170823211408.31198-1-ebiggers3@gmail.com?
That sounds plausible, and so far the fix seems to help. Thanks for the
pointer!

I'll leave that running for a while, just in case.
Thanks!
-- 
Michal Hocko
SUSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help