lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 15 Jul 2015 13:23:26 +0800
From:	kernel test robot <ying.huang@...el.com>
To:	Christoph Lameter <cl@...ux.com>
Cc:	Linus Torvalds <torvalds@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>, LKP ML <lkp@...org>
Subject: [lkp] [Fix kmalloc slab creation sequence] a9730fca994: Fix a boot
 failure during slab init

FYI, we noticed the below changes on

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit a9730fca9946f3697410479e0ef1bd759ba00a77 ("Fix kmalloc slab creation sequence")


+--------------------------------------------------+------------+------------+
>                                                  | 88793e5c77 | a9730fca99 |
+--------------------------------------------------+------------+------------+
> boot_successes                                   | 0          | 543        |
> boot_failures                                    | 594        | 37         |
> kernel_BUG_at_mm/slab.c                          | 594        |            |
> invalid_opcode                                   | 594        |            |
> RIP:__kmem_cache_create                          | 594        |            |
> Kernel_panic-not_syncing:Fatal_exception         | 594        |            |
> backtrace:create_kmalloc_caches                  | 594        |            |
> backtrace:kmem_cache_init                        | 594        |            |
> Out_of_memory:Kill_process                       | 0          | 5          |
> WARNING:at_drivers/block/floppy.c:#schedule_bh() | 0          | 1          |
> backtrace:do_mount                               | 0          | 1          |
> backtrace:compat_SyS_mount                       | 0          | 1          |
> WARNING:at_kernel/trace/ftrace.c:#ftrace_bug()   | 0          | 31         |
> backtrace:perf_ftrace_event_register             | 0          | 31         |
> backtrace:perf_trace_init                        | 0          | 31         |
> backtrace:perf_tp_event_init                     | 0          | 31         |
> backtrace:perf_try_init_event                    | 0          | 31         |
> backtrace:perf_init_event                        | 0          | 31         |
> backtrace:SYSC_perf_event_open                   | 0          | 31         |
> backtrace:SyS_perf_event_open                    | 0          | 31         |
+--------------------------------------------------+------------+------------+


The commit fixed a boot failure as below in old_dmesg.xz:

[    0.000000] ------------[ cut here ]------------
[    0.000000] kernel BUG at mm/slab.c:2276!
[    0.000000] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC 
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.1.0-11343-g88793e5 #113
[    0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014
[    0.000000] task: ffffffff8401b580 ti: ffffffff84000000 task.ti: ffffffff84000000
[    0.000000] RIP: 0010:[<ffffffff811ed056>]  [<ffffffff811ed056>] __kmem_cache_create+0x324/0x375
[    0.000000] RSP: 0000:ffffffff84003e38  EFLAGS: 00010087
[    0.000000] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001
[    0.000000] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000
[    0.000000] RBP: ffffffff84003e98 R08: 0000000000001000 R09: 0000000000000001
[    0.000000] R10: 0000000000000040 R11: ffffffffffffffc0 R12: ffff880033006f80
[    0.000000] R13: 0000000000000000 R14: 0000000080000000 R15: 0000000000000040
[    0.000000] FS:  0000000000000000(0000) GS:ffff880033600000(0000) knlGS:0000000000000000
[    0.000000] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[    0.000000] CR2: ffff8800339ff000 CR3: 0000000004014000 CR4: 00000000000006b0
[    0.000000] Stack:
[    0.000000]  ffffffff84003e48 0000000000000000 0000000080000000 0000000000001001
[    0.000000]  0000000100000046 0000000000000001 0000000000008000 ffff880033006f80
[    0.000000]  0000000000000060 ffffffff83a9c2fa 0000000000002000 0000ffffffff8464
[    0.000000] Call Trace:
[    0.000000]  [<ffffffff8467a1b2>] create_boot_cache+0x3c/0x66
[    0.000000]  [<ffffffff8467a22b>] create_kmalloc_cache+0x4f/0x79
[    0.000000]  [<ffffffff8467a2b4>] create_kmalloc_caches+0x44/0xe5
[    0.000000]  [<ffffffff8467cb71>] kmem_cache_init+0x155/0x159
[    0.000000]  [<ffffffff81121e1d>] ? console_unlock+0x3fe/0x42d
[    0.000000]  [<ffffffff84648d08>] start_kernel+0x213/0x473
[    0.000000]  [<ffffffff84648120>] ? early_idt_handler_array+0x120/0x120
[    0.000000]  [<ffffffff846484c6>] x86_64_start_reservations+0x2a/0x2c
[    0.000000]  [<ffffffff846485f5>] x86_64_start_kernel+0x12d/0x13c
[    0.000000] Code: 44 24 2c e8 24 b2 57 00 4d 85 f6 49 89 44 24 18 48 8b 4d c8 74 17 31 f6 48 89 cf e8 d5 53 fd ff 48 83 f8 10 49 89 44 24 40 77 02 <0f> 0b 44 89 ee 4c 89 e7 e8 84 d4 c4 01 89 c3 31 c0 85 db 74 2d 
[    0.000000] RIP  [<ffffffff811ed056>] __kmem_cache_create+0x324/0x375
[    0.000000]  RSP <ffffffff84003e38>
[    0.000000] ---[ end trace 5f21f6be99044392 ]---
[    0.000000] Kernel panic - not syncing: Fatal exception


Thanks,
Ying Huang

View attachment "config-4.1.0-11344-ga9730fc" of type "text/plain" (144271 bytes)

Download attachment "dmesg.xz" of type "application/octet-stream" (34012 bytes)

Download attachment "old_dmesg.xz" of type "application/x-xz" (3980 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ