linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christopher Lameter <cl@linux.com>
To: Qian Cai <cai@lca.pw>
Cc: axboe@kernel.dk, viro@zeniv.linux.org.uk, hare@suse.com,
	bcrl@kvack.org,  linux-aio@kvack.org,
	Linux-MM <linux-mm@kvack.org>
Subject: Re: io_submit with slab free object overwritten
Date: Fri, 22 Feb 2019 15:36:42 +0000	[thread overview]
Message-ID: <0100016915da021c-63475bd3-9a4f-4a88-a42e-e47dab17fa00-000000@email.amazonses.com> (raw)
In-Reply-To: <4a56fc9f-27f7-5cb5-feed-a4e33f05a5d1@lca.pw>

On Fri, 22 Feb 2019, Qian Cai wrote:

> [23424.121182] BUG aio_kiocb (Tainted: G    B   W    L   ): Poison overwritten

> [23424.121322] Object 00000000e207f30b: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
> 6b 6b 6b  kkkkkkkkkkkkkkkk
> [23424.121326] Object 00000000a7a45634: 6b 6b 6b 6b 6b 6b 6b 6b ff ff ff ff 6b
> 6b 6b 6b  kkkkkkkk....kkkk

Looks like a decrement of a counter after free. You can find the field by
calculating the offset from the beginning of the object and then use the
struct definition to find that.


  reply	other threads:[~2019-02-22 15:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-22  5:40 Qian Cai
2019-02-22 15:36 ` Christopher Lameter [this message]
2019-02-22 21:07 ` Qian Cai
2019-02-22 21:42   ` Eric Sandeen
2019-02-22 21:48     ` Qian Cai
2019-02-22 21:58       ` Eric Sandeen
2019-02-22 22:06         ` Qian Cai
2019-02-22 22:25 ` Jeff Moyer
2019-02-22 22:40 ` Jens Axboe
2019-02-23  1:58   ` Qian Cai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0100016915da021c-63475bd3-9a4f-4a88-a42e-e47dab17fa00-000000@email.amazonses.com \
    --to=cl@linux.com \
    --cc=axboe@kernel.dk \
    --cc=bcrl@kvack.org \
    --cc=cai@lca.pw \
    --cc=hare@suse.com \
    --cc=linux-aio@kvack.org \
    --cc=linux-mm@kvack.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox