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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170612065945.GF21477@yexl-desktop>
Date:   Mon, 12 Jun 2017 14:59:45 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Michal Hocko <mhocko@...e.com>
Cc:     Linus Torvalds <torvalds@...ux-foundation.org>,
        Nils Holland <nholland@...ys.org>,
        Klaus Ethgen <Klaus@...gen.de>,
        Minchan Kim <minchan@...nel.org>, Mel Gorman <mgorman@...e.de>,
        Johannes Weiner <hannes@...xchg.org>,
        Vladimir Davydov <vdavydov.dev@...il.com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        LKML <linux-kernel@...r.kernel.org>, lkp@...org
Subject: [lkp-robot] [mm, memcg]  b4536f0c82:
 kobject(#):tried_to_init_an_initialized_object,something_is_seriously_wrong


FYI, we noticed the following commit:

commit: b4536f0c829c8586544c94735c343f9b5070bd01 ("mm, memcg: fix the active list aging for lowmem requests when memcg is enabled")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -m 512M

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+-----------------------------------------------------------------------------+------------+------------+
|                                                                             | f073bdc517 | b4536f0c82 |
+-----------------------------------------------------------------------------+------------+------------+
| boot_successes                                                              | 0          | 0          |
| boot_failures                                                               | 24         | 24         |
| WARNING:at_lib/kobject.c:#kobject_get                                       | 23         |            |
| WARNING:at_include/linux/kref.h:#kobject_get                                | 23         |            |
| kernel_BUG_at_lib/list_debug.c                                              | 23         | 9          |
| invalid_opcode:#[##]                                                        | 23         | 20         |
| Kernel_panic-not_syncing:Fatal_exception                                    | 24         | 24         |
| BUG:unable_to_handle_kernel                                                 | 1          | 4          |
| Oops:#[##]                                                                  | 1          | 4          |
| kobject(#):tried_to_init_an_initialized_object,something_is_seriously_wrong | 0          | 20         |
| kernel_BUG_at_mm/slub.c                                                     | 0          | 11         |
+-----------------------------------------------------------------------------+------------+------------+



[    4.442394] g_mass_storage usbip-vudc.0: failed to start g_mass_storage: -22
[    4.443795] usbip-vudc: probe of usbip-vudc.0 failed with error -22
[    4.445075] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    4.447707] serio: i8042 KBD port at 0x60,0x64 irq 1
[    4.448652] serio: i8042 KBD port at 0x60,0x64 irq 12
[    4.449626] kobject (ffff902eda7d6d58): tried to init an initialized object, something is seriously wrong.
[    4.451431] CPU: 0 PID: 1 Comm: swapper Not tainted 4.10.0-rc3-00070-gb4536f0c8 #1
[    4.452774] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
[    4.452784] IP: process_one_work+0x37/0x500
[    4.452786] PGD 0 
[    4.452787] 
[    4.452788] Oops: 0000 [#1]
[    4.452792] CPU: 0 PID: 21 Comm: kworker/0:1 Not tainted 4.10.0-rc3-00070-gb4536f0c8 #1
[    4.452793] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    4.452801] task: ffff902edf6f6e00 task.stack: ffff902edf7a0000
[    4.452804] RIP: 0010:process_one_work+0x37/0x500
[    4.452805] RSP: 0000:ffff902edf7a3e58 EFLAGS: 00010046
[    4.452807] RAX: ffff902edc3ae800 RBX: ffff902edf788930 RCX: ffff902edfb13960
[    4.452808] RDX: ffff902edc3ae800 RSI: ffff902edc3ad000 RDI: ffff902edf788900
[    4.452809] RBP: ffff902edf7a3e98 R08: ffff902edfb13040 R09: ffff902edf62c651
[    4.452811] R10: 0000000000000000 R11: 0000000000000800 R12: ffffffff9964bb80
[    4.452812] R13: ffff902edf788900 R14: 0000000000000000 R15: ffff902edc3ad000
[    4.452815] FS:  0000000000000000(0000) GS:ffffffff99631000(0000) knlGS:0000000000000000
[    4.452816] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    4.452817] CR2: 00000000000000a8 CR3: 000000001720e000 CR4: 00000000000006f0
[    4.452823] Call Trace:
[    4.452827]  worker_thread+0x2ae/0x680
[    4.452832]  kthread+0x10b/0x140
[    4.452834]  ? process_one_work+0x500/0x500
[    4.452836]  ? __kthread_create_on_node+0x190/0x190
[    4.452842]  ret_from_fork+0x2a/0x40
[    4.452842] Code: 89 f7 41 56 45 31 f6 41 55 49 89 fd 41 54 53 48 83 ec 18 48 8b 06 4c 8b 67 48 48 89 c2 30 d2 a8 04 4c 0f 45 f2 41 f6 44 24 0c 04 <49> 8b 46 08 8b 88 00 01 00 00 75 08 41 8b 04 24 85 c0 75 7b 31 
[    4.452877] RIP: process_one_work+0x37/0x500 RSP: ffff902edf7a3e58
[    4.452878] CR2: 0000000000000008
[    4.452884] ---[ end trace 7927a8ec55f232e3 ]---
[    4.452885] Kernel panic - not syncing: Fatal exception
[    4.452889] Kernel Offset: 0x16a00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)

Elapsed time: 10

initrds=(


To reproduce:

        git clone https://github.com/01org/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script  # job-script is attached in this email



Thanks,
Xiaolong

View attachment "config-4.10.0-rc3-00070-gb4536f0c8" of type "text/plain" (121650 bytes)

View attachment "job-script" of type "text/plain" (4075 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ