All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+c07ac923fbf6351f6063@syzkaller.appspotmail.com>
To: akpm@linux-foundation.org, cl@linux.com, iamjoonsoo.kim@lge.com,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	penberg@kernel.org, rientjes@google.com,
	syzkaller-bugs@googlegroups.com
Subject: WARNING in kmem_cache_free_bulk
Date: Fri, 10 Jul 2020 09:44:21 -0700	[thread overview]
Message-ID: <0000000000008668d305aa190d58@google.com> (raw)

Hello,

syzbot found the following crash on:

HEAD commit:    7cc2a8ea Merge tag 'block-5.8-2020-07-01' of git://git.ker..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=14258fe3100000
kernel config:  https://syzkaller.appspot.com/x/.config?x=7be693511b29b338
dashboard link: https://syzkaller.appspot.com/bug?extid=c07ac923fbf6351f6063
compiler:       gcc (GCC) 10.1.0-syz 20200507

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+c07ac923fbf6351f6063@syzkaller.appspotmail.com

------------[ cut here ]------------
virt_to_cache: Object is not a Slab page!
WARNING: CPU: 1 PID: 8538 at mm/slab.h:475 virt_to_cache mm/slab.h:475 [inline]
WARNING: CPU: 1 PID: 8538 at mm/slab.h:475 cache_from_obj mm/slab.h:522 [inline]
WARNING: CPU: 1 PID: 8538 at mm/slab.h:475 cache_from_obj mm/slab.h:506 [inline]
WARNING: CPU: 1 PID: 8538 at mm/slab.h:475 kmem_cache_free_bulk+0x23e/0x290 mm/slab.c:3713
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 8538 Comm: kworker/1:2 Not tainted 5.8.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events kfree_rcu_work
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x18f/0x20d lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:231
 __warn.cold+0x20/0x45 kernel/panic.c:600
 report_bug+0x1bd/0x210 lib/bug.c:198
 handle_bug+0x38/0x90 arch/x86/kernel/traps.c:235
 exc_invalid_op+0x13/0x40 arch/x86/kernel/traps.c:255
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:563
RIP: 0010:virt_to_cache mm/slab.h:475 [inline]
RIP: 0010:cache_from_obj mm/slab.h:522 [inline]
RIP: 0010:cache_from_obj mm/slab.h:506 [inline]
RIP: 0010:kmem_cache_free_bulk+0x23e/0x290 mm/slab.c:3713
Code: fe ff ff 80 3d 96 a0 f6 08 00 0f 85 6d fe ff ff 48 c7 c6 e0 f1 55 88 48 c7 c7 08 18 69 89 c6 05 7b a0 f6 08 01 e8 d4 1d 92 ff <0f> 0b e9 4c fe ff ff 48 8b 47 08 48 c7 c6 d0 17 69 89 48 8d 50 ff
RSP: 0018:ffffc90004617c78 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888092772580 RSI: ffffffff815d4f87 RDI: fffff520008c2f81
RBP: ffff888000000000 R08: 0000000000000001 R09: ffff8880ae720fcb
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880ae7253b0 R14: ffff888000152008 R15: 0000000000000000
 kfree_bulk include/linux/slab.h:412 [inline]
 kfree_rcu_work+0x1a1/0x470 kernel/rcu/tree.c:3069
 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415
 kthread+0x3b5/0x4a0 kernel/kthread.c:291
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
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#status for how to communicate with syzbot.

                 reply	other threads:[~2020-07-10 16:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=0000000000008668d305aa190d58@google.com \
    --to=syzbot+c07ac923fbf6351f6063@syzkaller.appspotmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=cl@linux.com \
    --cc=iamjoonsoo.kim@lge.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=penberg@kernel.org \
    --cc=rientjes@google.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.