mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: syzbot <syzbot+cebc65195a8639f648b9@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, mingo@redhat.com,
	syzkaller-bugs@googlegroups.com,
	Peter Zijlstra <peterz@infradead.org>
Subject: Re: BUG: using __this_cpu_read() in preemptible code in __bad_area_nosemaphore
Date: Thu, 29 Oct 2020 22:51:06 -0400	[thread overview]
Message-ID: <20201029225106.0ce492a4@oasis.local.home> (raw)
In-Reply-To: <0000000000000cd2e305b2d9a9db@google.com>

On Thu, 29 Oct 2020 18:53:17 -0700
syzbot <syzbot+cebc65195a8639f648b9@syzkaller.appspotmail.com> wrote:

> Hello,
> 
> syzbot found the following issue on:

Didn't Peter already send a fix for this? Is it not upstream yet?

-- Steve

> 
> HEAD commit:    672f8871 Merge tag 'timers-urgent-2020-10-25' of git://git..
> git tree:       upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=14bb0aac500000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=6ab976a648fdc6
> dashboard link: https://syzkaller.appspot.com/bug?extid=cebc65195a8639f648b9
> compiler:       gcc (GCC) 10.1.0-syz 20200507
> userspace arch: i386
> 
> Unfortunately, I don't have any reproducer for this issue yet.
> 
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+cebc65195a8639f648b9@syzkaller.appspotmail.com
> 
> check_preemption_disabled: 1 callbacks suppressed
> BUG: usqemu-system-x86_64: warning: guest updated active QH
> caller is lockdep_hardirqs_on_prepare+0x5e/0x410 kernel/locking/lockdep.c:4060
> CPU: 0 PID: 9482 Comm: syz-executor.0 Not tainted 5.9.0-syzkaller #0
> Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
> Call Trace:
>  __dump_stack lib/dump_stack.c:77 [inline]
>  dump_stack+0x107/0x163 lib/dump_stack.c:118
>  check_preemption_disabled+0x123/0x130 lib/smp_processor_id.c:48
>  lockdep_hardirqs_on_prepare+0x5e/0x410 kernel/locking/lockdep.c:4060
>  trace_hardirqs_on+0x5b/0x1c0 kernel/trace/trace_preemptirq.c:49
>  __bad_area_nosemaphore+0xc6/0x400 arch/x86/mm/fault.c:797
>  do_user_addr_fault+0x7d7/0xb40 arch/x86/mm/fault.c:1335
>  handle_page_fault arch/x86/mm/fault.c:1429 [inline]
>  exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1485
>  asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:583
> RIP: 0023:0x808bb62
> Code: 00 00 0f bc d1 f3 0f 7f 27 f3 0f 7f 6f 10 f3 0f 7f 77 20 f3 0f 7f 7f 30 83 c3 0f 29 d3 8d 7c 17 31 e9 d2 0b 00 00 66 0f ef c0 <66> 0f 6f 0e 66 0f 74 c1 66 0f d7 d0 83 fb 11 0f 86 e2 01 00 00 85
> RSP: 002b:00000000f5533c90 EFLAGS: 00010246
> RAX: 00000000f5533cb0 RBX: 00000000000003ff RCX: 0000000000000000
> RDX: 000000000002c550 RSI: 0000000000000000 RDI: 00000000f5533cb0
> RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
> R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000
> R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
> BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor.0/9482
> caller is lockdep_hardirqs_on+0x38/0x110 kernel/locking/lockdep.c:4129
> CPU: 0 PID: 9482 Comm: syz-executor.0 Not tainted 5.9.0-syzkaller #0
> Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
> Call Trace:
>  __dump_stack lib/dump_stack.c:77 [inline]
>  dump_stack+0x107/0x163 lib/dump_stack.c:118
>  check_preemption_disabled+0x123/0x130 lib/smp_processor_id.c:48
>  lockdep_hardirqs_on+0x38/0x110 kernel/locking/lockdep.c:4129
>  __bad_area_nosemaphore+0xc6/0x400 arch/x86/mm/fault.c:797
>  do_user_addr_fault+0x7d7/0xb40 arch/x86/mm/fault.c:1335
>  handle_page_fault arch/x86/mm/fault.c:1429 [inline]
>  exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1485
>  asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:583
> RIP: 0023:0x808bb62
> Code: 00 00 0f bc d1 f3 0f 7f 27 f3 0f 7f 6f 10 f3 0f 7f 77 20 f3 0f 7f 7f 30 83 c3 0f 29 d3 8d 7c 17 31 e9 d2 0b 00 00 66 0f ef c0 <66> 0f 6f 0e 66 0f 74 c1 66 0f d7 d0 83 fb 11 0f 86 e2 01 00 00 85
> RSP: 002b:00000000f5533c90 EFLAGS: 00010246
> RAX: 00000000f5533cb0 RBX: 00000000000003ff RCX: 0000000000000000
> RDX: 000000000002c550 RSI: 0000000000000000 RDI: 00000000f5533cb0
> RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
> R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000
> R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
> 
> 
> ---
> This report 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 issue. See:
> https://goo.gl/tpsmEJ#status for how to communicate with syzbot.


  reply	other threads:[~2020-10-30  2:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-30  1:53 syzbot
2020-10-30  2:51 ` Steven Rostedt [this message]
2020-10-30  8:49   ` Peter Zijlstra

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=20201029225106.0ce492a4@oasis.local.home \
    --to=rostedt@goodmis.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=syzbot+cebc65195a8639f648b9@syzkaller.appspotmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®