All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+cadaa9a49085b3cc83d3@syzkaller.appspotmail.com>
To: akpm@linux-foundation.org, arjan@linux.intel.com,
	josh@joshtriplett.org, linux-kernel@vger.kernel.org,
	mingo@kernel.org, paulmck@linux.vnet.ibm.com,
	syzkaller-bugs@googlegroups.com
Subject: KASAN: stack-out-of-bounds Write in notify_die
Date: Sat, 26 May 2018 02:13:01 -0700	[thread overview]
Message-ID: <0000000000009b811c056d184aa8@google.com> (raw)

Hello,

syzbot found the following crash on:

HEAD commit:    203ec2fed17a Merge tag 'armsoc-fixes' of git://git.kernel...
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=14feff97800000
kernel config:  https://syzkaller.appspot.com/x/.config?x=f3b4e30da84ec1ed
dashboard link: https://syzkaller.appspot.com/bug?extid=cadaa9a49085b3cc83d3
compiler:       gcc (GCC) 8.0.1 20180413 (experimental)

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+cadaa9a49085b3cc83d3@syzkaller.appspotmail.com

==================================================================
BUG: KASAN: stack-out-of-bounds in notify_die+0x291/0x2b0  
kernel/notifier.c:539
Write of size 8 at addr ffff8801c74d7258 by task syz-executor7/17787

CPU: 1 PID: 17787 Comm: syz-executor7 Not tainted 4.17.0-rc5+ #60
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS  
Google 01/01/2011
Call Trace:
  __dump_stack lib/dump_stack.c:77 [inline]
  dump_stack+0x1b9/0x294 lib/dump_stack.c:113
  print_address_description+0x6c/0x20b mm/kasan/report.c:256
  kasan_report_error mm/kasan/report.c:354 [inline]
  kasan_report.cold.7+0x242/0x2fe mm/kasan/report.c:412
  __asan_report_store8_noabort+0x17/0x20 mm/kasan/report.c:438
  notify_die+0x291/0x2b0 kernel/notifier.c:539
  do_general_protection+0x248/0x2f0 arch/x86/kernel/traps.c:558
  general_protection+0x1e/0x30 arch/x86/entry/entry_64.S:1159
RIP: 0010:msr_write_intercepted arch/x86/kvm/vmx.c:2132 [inline]
RIP: 0010:vmx_vcpu_run+0xa2f/0x25f0 arch/x86/kvm/vmx.c:9871
RSP: 0018:ffff8801c74d73b0 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 0000000010000000 RCX: ffffffff811f778f
RDX: 000000000836b156 RSI: ffffffff811f779c RDI: 0000000000000005
RBP: ffff8801c74d7898 R08: ffff8801ab74e140 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000

The buggy address belongs to the page:
page:ffffea00071d35c0 count:0 mapcount:0 mapping:0000000000000000 index:0x0
flags: 0x2fffc0000000000()
raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff
raw: 0000000000000000 ffffea00071d0101 0000000000000000 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
  ffff8801c74d7100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  ffff8801c74d7180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> ffff8801c74d7200: 00 00 00 00 00 00 f1 f1 f1 f1 00 f2 f2 f2 f3 f3
                                                     ^
  ffff8801c74d7280: f3 f3 00 f2 f2 f2 f2 f2 f2 f2 00 00 f2 f2 f3 f3
  ffff8801c74d7300: f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with  
syzbot.

             reply	other threads:[~2018-05-26  9:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-26  9:13 syzbot [this message]
2018-05-26  9:26 ` KASAN: stack-out-of-bounds Write in notify_die Dmitry Vyukov

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=0000000000009b811c056d184aa8@google.com \
    --to=syzbot+cadaa9a49085b3cc83d3@syzkaller.appspotmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=arjan@linux.intel.com \
    --cc=josh@joshtriplett.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=syzkaller-bugs@googlegroups.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.