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:   Mon, 24 Oct 2016 10:28:17 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Mauro Carvalho Chehab <mchehab@...pensource.com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Mauro Carvalho Chehab <mchehab@....samsung.com>,
        linux-media@...r.kernel.org, lkp@...org
Subject: [lkp] [[media] tveeprom]  7cda4c5bae: kernel BUG at mm/slab.c:2637!


FYI, we noticed the following commit:

git://linuxtv.org/media_tree.git master
commit 7cda4c5bae46ffca3abeadc4c1882d9325ee3102 ("[media] tveeprom: use dev_foo() for printk messages")

in testcase: boot

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

caused below changes:


+----------------------------------------------+------------+------------+
|                                              | 8ca2e927eb | 7cda4c5bae |
+----------------------------------------------+------------+------------+
| boot_successes                               | 0          | 0          |
| boot_failures                                | 28         | 28         |
| calltrace:async_run_entry_fn                 | 28         | 28         |
| WARNING:at_include/linux/kref.h:#kobject_get | 28         | 28         |
| calltrace:init                               | 28         | 9          |
| general_protection_fault:#[##]PREEMPT_SMP    | 28         | 9          |
| RIP:kobject_get                              | 28         | 9          |
| Kernel_panic-not_syncing:Fatal_exception     | 28         | 28         |
| kernel_BUG_at_mm/slab.c                      | 0          | 19         |
| invalid_opcode:#[##]PREEMPT_SMP              | 0          | 19         |
| RIP:free_block                               | 0          | 19         |
| calltrace:scsi_debug_init                    | 0          | 20         |
| WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup    | 0          | 1          |
+----------------------------------------------+------------+------------+

[   15.655206] kernel BUG at mm/slab.c:2637!
[   15.656249] invalid opcode: 0000 [#1] PREEMPT SMP
[   15.657084] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W       4.9.0-rc1-00116-g7cda4c5 #1
[   15.658607] task: ffff880000374000 task.stack: ffffc900000d0000
[   15.659649] RIP: 0010:[<ffffffff8119cedb>]  [<ffffffff8119cedb>] free_block+0xc1/0x169
[   15.661063] RSP: 0000:ffffc900000d3ab8  EFLAGS: 00010096
[   15.662000] RAX: 0000000000000047 RBX: ffff880000098180 RCX: 0000000000000000
[   15.663251] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff82acccc8
[   15.664505] RBP: ffffc900000d3b08 R08: 0000000000000001 R09: 0000000000000000
[   15.665754] R10: 0000000000000076 R11: ffffffff83971c27 R12: ffff88000ecceec0
[   15.667004] R13: 000000000000000b R14: ffff880000090180 R15: ffff88001329a380
[   15.668256] FS:  0000000000000000(0000) GS:ffff880013a00000(0000) knlGS:0000000000000000
[   15.669673] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   15.670708] CR2: 0000000000000000 CR3: 0000000002811000 CR4: 00000000000006b0
[   15.671974] Stack:
[   15.672350]  ffff88001329a3a0 ffff8800000901c8 ffffc900000d3b40 ffff880013be78f8
[   15.673750]  0000001000000000 ffff880000098180 ffff88000ecce880 ffff880013be78e8
[   15.675142]  0000000000000010 ffff880000090180 ffffc900000d3b78 ffffffff8119fad2
[   15.676539] Call Trace:
[   15.676984]  [<ffffffff8119fad2>] ___cache_free+0x3db/0x4ed
[   15.677966]  [<ffffffff811a00a5>] kfree+0xea/0x118
[   15.678817]  [<ffffffff811779a1>] kfree_const+0x20/0x22
[   15.679743]  [<ffffffff8121bdc9>] kernfs_put+0xde/0x17d
[   15.680679]  [<ffffffff8121bfaa>] __kernfs_remove+0x12b/0x36e
[   15.681690]  [<ffffffff8121b42c>] ? kernfs_find_ns+0xfe/0x124
[   15.682705]  [<ffffffff8121ce2d>] kernfs_remove_by_name_ns+0x6b/0x86
[   15.683825]  [<ffffffff8121f157>] sysfs_remove_link+0x22/0x24
[   15.684840]  [<ffffffff8193904a>] driver_sysfs_remove+0x26/0x39
[   15.685885]  [<ffffffff81939745>] driver_probe_device+0x18d/0x315
[   15.686957]  [<ffffffff819399ea>] __device_attach_driver+0x85/0x8c
[   15.688044]  [<ffffffff81939965>] ? driver_allows_async_probing+0x12/0x12
[   15.689232]  [<ffffffff81938138>] bus_for_each_drv+0x7b/0x8a
[   15.690229]  [<ffffffff819394a0>] __device_attach+0x93/0xf2
[   15.691211]  [<ffffffff81939b2d>] device_initial_probe+0x13/0x15
[   15.692268]  [<ffffffff819382ec>] bus_probe_device+0x33/0x9e
[   15.693265]  [<ffffffff819372ec>] device_add+0x435/0x535
[   15.694199]  [<ffffffff81937406>] device_register+0x1a/0x1d
[   15.695182]  [<ffffffff81aa13df>] sdebug_add_adapter+0x122/0x16f
[   15.696239]  [<ffffffff82daa81f>] ? set_debug_rodata+0x12/0x12
[   15.697266]  [<ffffffff82e03597>] scsi_debug_init+0x67a/0x706
[   15.698279]  [<ffffffff82e02f1d>] ? osd_uld_init+0xb9/0xb9
[   15.699245]  [<ffffffff82dab0fa>] do_one_initcall+0x8b/0x144
[   15.700243]  [<ffffffff82daa81f>] ? set_debug_rodata+0x12/0x12
[   15.701270]  [<ffffffff82dab2cc>] kernel_init_freeable+0x119/0x1a1
[   15.702364]  [<ffffffff81e7020c>] ? rest_init+0xc3/0xc3
[   15.703278]  [<ffffffff81e7021a>] kernel_init+0xe/0xf5
[   15.704185]  [<ffffffff81e7caa5>] ret_from_fork+0x25/0x30
[   15.705136] Code: 48 89 f2 39 f7 76 26 4d 8b 57 10 45 0f b6 14 32 48 ff c6 44 39 d0 75 eb 48 8b 73 58 4c 89 e2 48 c7 c7 23 38 58 82 e8 c1 ce fb ff <0f> 0b ff ca 49 83 7f 10 00 41 89 57 18 75 0e 48 63 b3 e4 00 00 
[   15.710075] RIP  [<ffffffff8119cedb>] free_block+0xc1/0x169
[   15.711084]  RSP <ffffc900000d3ab8>
[   15.711715] ---[ end trace bfc2e1bd56603bb6 ]---
[   15.712534] Kernel panic - not syncing: Fatal exception
[   15.713662] Kernel Offset: disabled


To reproduce:

        git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/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.9.0-rc1-00116-g7cda4c5" of type "text/plain" (104882 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ