[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200105073649.GH25360@shao2-debian>
Date: Sun, 5 Jan 2020 15:36:50 +0800
From: kernel test robot <lkp@...el.com>
To: lijiazi <jqqlijiazi@...il.com>
Cc: 0day robot <lkp@...el.com>, lijiazi <lijiazi@...omi.com>,
LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org
Subject: [slub] 43eedfb522: kernel_BUG_at_mm/slub.c
FYI, we noticed the following commit (built with gcc-7):
commit: 43eedfb5222fdb27697f96e19e32518489f0da3b ("slub: call BUG if next_object is not valid")
url: https://github.com/0day-ci/linux/commits/lijiazi/slub-call-BUG-if-next_object-is-not-valid/20200104-132229
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------+------------+------------+
| | 3a562aee72 | 43eedfb522 |
+------------------------------------------+------------+------------+
| boot_successes | 20 | 0 |
| boot_failures | 0 | 4 |
| kernel_BUG_at_mm/slub.c | 0 | 4 |
| invalid_opcode:#[##] | 0 | 4 |
| RIP:kmem_cache_alloc | 0 | 4 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 4 |
+------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>
[ 0.260175] kernel BUG at mm/slub.c:2729!
[ 0.260534] invalid opcode: 0000 [#1] SMP PTI
[ 0.260806] CPU: 0 PID: 0 Comm: swapper Not tainted 5.5.0-rc4-00125-g43eedfb5222fd #2
[ 0.261334] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 0.261883] RIP: 0010:kmem_cache_alloc+0x79/0x169
[ 0.262177] Code: 89 e7 e8 3e ff ff ff 48 89 c5 eb 40 41 8b 44 24 20 48 89 14 24 48 8b 5c 05 00 48 89 df e8 41 1f df ff 84 c0 48 8b 14 24 75 02 <0f> 0b 49 8b 3c 24 48 8d 4a 01 48 89 e8 48 8d 37 e8 29 5c 95 00 84
[ 0.263852] RSP: 0000:ffffffff82803e38 EFLAGS: 00010046
[ 0.264270] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 0.264715] RDX: 0000000000000012 RSI: 0000000000000100 RDI: 0000000080000000
[ 0.265159] RBP: ffff88822a4021c0 R08: ffff88823fc2e6c0 R09: 0000000000000000
[ 0.265641] R10: 0000000000000400 R11: 0000000000000000 R12: ffff88822a402000
[ 0.266109] R13: 0000000000000900 R14: ffff88822a402000 R15: ffffffff82df9345
[ 0.266554] FS: 0000000000000000(0000) GS:ffff88823fc00000(0000) knlGS:0000000000000000
[ 0.267110] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.267492] CR2: ffff88823ffff000 CR3: 000000000280a000 CR4: 00000000000406b0
[ 0.267965] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 0.268437] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 0.268918] Call Trace:
[ 0.269083] create_kmalloc_cache+0x31/0xa4
[ 0.269348] new_kmalloc_cache+0x41/0x4c
[ 0.269687] create_kmalloc_caches+0x34/0xdc
[ 0.270059] kmem_cache_init+0xad/0x103
[ 0.270393] start_kernel+0x214/0x4fd
[ 0.270750] ? x86_family+0x5/0x1d
[ 0.271063] secondary_startup_64+0xb6/0xc0
[ 0.271373] Modules linked in:
[ 0.271589] random: get_random_bytes called from init_oops_id+0x22/0x31 with crng_init=0
[ 0.272121] ---[ end trace 4f4aaf971ad2af9d ]---
To reproduce:
# build kernel
cd linux
cp config-5.5.0-rc4-00125-g43eedfb5222fd .config
make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
lkp
View attachment "config-5.5.0-rc4-00125-g43eedfb5222fd" of type "text/plain" (119636 bytes)
View attachment "job-script" of type "text/plain" (4556 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (4868 bytes)
Powered by blists - more mailing lists